| Motor de Búsqueda de Datasheet de Componentes Electrónicos |
|
ATmega32M1 Datasheet(PDF) 185 Page - ATMEL Corporation |
|
|
|||||||||||||||||||||||||||||
ATmega32M1 Datasheet(HTML) 185 Page - ATMEL Corporation |
|
185 / 365 page ![]() 185 7647F–AVR–04/09 ATmega16/32/64/M1/C1 Figure 16-14. CAN Controller Interrupt Structure 16.8.2 Interrupt Behavior When an interrupt occurs, an interrupt flag bit is set in the corresponding MOb-CANSTMOB reg- ister or in the general CANGIT register. If in the CANIE register, ENRX / ENTX / ENERR bit are set, then the corresponding MOb bit is set in the CANSITn register. To acknowledge a MOb interrupt, the corresponding bits of CANSTMOB register (RXOK, TXOK,...) must be cleared by the software application. This operation needs a read-modify-write software routine. To acknowledge a general interrupt, the corresponding bits of CANGIT register (BXOK, BOF- FIT,...) must be cleared by the software application. This operation is made writing a logical one in these interrupt flags (writing a logical zero doesn’t change the interrupt flag value). OVRTIM interrupt flag is reset as the other interrupt sources of CANGIT register and is also reset entering in its dedicated interrupt handler. When the CAN node is in transmission and detects a Form Error in its frame, a bit Error will also be raised. Consequently, two consecutive interrupts can occur, both due to the same error. When a MOb error occurs and is set in its own CANSTMOB register, no general error is set in CANGIT register. TXOK[i] CANSTMOB.6 RXOK[i] CANSTMOB.5 BERR[i] CANSTMOB.4 SERR[i] CANSTMOB.3 CERR[i] CANSTMOB.2 FERR[i] CANSTMOB.1 AERR[i] CANSTMOB.0 BXOK CANGIT.4 SERG CANGIT.3 CERG CANGIT.2 FERG CANGIT.1 AERG CANGIT.0 BOFFI CANGIT.6 ENTX CANGIE.4 ENRX CANGIE.5 ENERR CANGIE.3 ENBX CANGIE.2 ENERG CANGIE.1 ENBOFF CANGIE.6 IEMOB[i] CANIE 1/2 ENIT CANGIE.7 ENOVRT CANGIE.0 SIT[i] CANSIT 1/2 CANIT CANGIT.7 CAN IT OVR IT 0 i OVRTIM CANGIT.5 |
|
Enlace URL |
| ¿ALLDATASHEET es útil para Ud.? [ DONATE ] |
Todo acerca de Alldatasheet | Publicidad | Contáctenos | Política de Privacidad | Enlace a la hoja de datos | Intercambio de Enlaces | Lista de Fabricantes 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 |