timer interrupt in mc

Status
Not open for further replies.

gsrattan

Newbie level 5
Joined
Jan 27, 2013
Messages
8
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Visit site
Activity points
1,340
Please help me to understand the timer interrup , actually i am new in mc...

I know timer is used to get delay in mc . but i'm in confusion about timer interrupt.

i just want to know that how it work . means what does it do. Is it also used to generate delay or something else....
 

Timer interrupts are nothing but a notification that timer register has overflown. Say your timer register is 8 bit, so when there is a change of value from 0xff to 0x00 there will be an interrupt signal generated.
Yes you can use it to generate precise delays.
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…