| Electronic Components Datasheet Search |
|
AN413 Datasheet(PDF) 36 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN413 Datasheet(HTML) 36 Page - STMicroelectronics |
|
36 / 45 page ![]() Examples of timer 0 configurations AN413 36/45 Doc ID 1875 Rev 2 ;Timer 0 COMPARE interrupt subroutine: ; - IT / COMPARE T0_COMP: spp #T0D_PG ; Timer 0 data register page tm T_FLAGR,#cm0 ; mask successful compare jxz RESET_START ; RESET if it is not ; an IT COMPARE tm T_FLAGR,#ocm0 ; overrun on Compare 0 ? jxnz RESET_START ; yes == RESET and T_FLAGR,#~cm0 ; reset successful compare bit and T_FLAGR,#~ocm0 ; reset overrun compare 0 bit iret ; return from interrupt ;******** END OF TIMER 0 CONFIGURATION EXAMPLES ************ |
|
Link URL |
| Does ALLDATASHEET help your business so far? [ DONATE ] |
About Alldatasheet | Advertisement | Contact us | Privacy Policy | Link to Datasheet | Link Exchange | Manufacturer List All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |