I cannot see the components in processor expert as I have trial version of codewarrior. Is there any method to set delay of 1 sec using timers in main.c ?
Also , if I use RTI and Timer interrupts in the same program , what would be the priority?
Best Regards,
Suma
On Tuesday, April 21, 2020, 01:25:50 PM GMT+4, ZhangJennie <admin@community.nxp.com> wrote:
#yiv4620443481 * #yiv4620443481 a #yiv4620443481 body {font-family:Helvetica, Arial, sans-serif;}#yiv4620443481 #yiv4620443481 h1, #yiv4620443481 h2, #yiv4620443481 h3, #yiv4620443481 h4, #yiv4620443481 h5, #yiv4620443481 h6, #yiv4620443481 p, #yiv4620443481 hr {}#yiv4620443481 .yiv4620443481button td {}
|
|
Re: Generate delay of 1 minute using Timer /RTI interrupts in MC9S12DG256B
reply from ZhangJennie in CodeWarrior for MCU - View the full discussion
Hi Suma
I suggest you take use of processor expert component to set up interrupt period:
https://community.nxp.com/servlet/JiveServlet/downloadImage/2-1301113-310648/pastedImage_1.png
after generating code, take a look at the generated TimerInt initialization code.
Have a nice day,
Jun Zhang
Reply to this message by replying to this email, or go to the message on NXP Community |
Start a new discussion in CodeWarrior for MCU by email or at NXP Community |
Following Re: Generate delay of 1 minute using Timer /RTI interrupts in MC9S12DG256B in these streams: Inbox |
This email was sent by NXP Community because you are a registered user.
You may unsubscribe instantly from NXP Community, or adjust email frequency in your email preferences