AT90CAN128-16AE ATMEL Corporation, AT90CAN128-16AE Datasheet - Page 248

no-image

AT90CAN128-16AE

Manufacturer Part Number
AT90CAN128-16AE
Description
8-bit Avr Microcontroller With 128K Bytes of Isp Flash And CAN Controller.flash (Kbytes) 128 Vcc (V) 2.7-5.5 EEPROM (Kbytes) 4 SRAM (bytes) 4K CAN (mess. Obj.) 15
Manufacturer
ATMEL Corporation
Datasheet
CAN General Interrupt
Register - CANGIT
248
AT90CAN128
• Bit 0 – ERRP: Error Passive Mode
ERRP gives the information of the state of the CAN channel. This flag does not generate
an interrupt.
• Bit 7 – CANIT: General Interrupt Flag
This is a read only bit.
• Bit 6 – BOFFIT: Bus Off Interrupt Flag
Writing a logical one resets this interrupt flag. BOFFIT flag is only set when the CAN
enters in bus off mode coming from error passive mode.
• Bit 5 – OVRTIM: Overrun CAN Timer
Writing a logical one resets this interrupt flag. Entering in CAN timer overrun interrupt
handler also reset this interrupt flag
• Bit 4 – BXOK: Frame Buffer Receive Interrupt
Writing a logical one resets this interrupt flag. BXOK flag can be cleared only if all CON-
MOB fields of the MOb’s of the buffer have been re-written before.
• Bit 3 – SERG: Stuff Error General
Writing a logical one resets this interrupt flag.
• Bit 2 – CERG: CRC Error General
Writing a logical one resets this interrupt flag.
Bit
Read/Write
Initial Value
0 - no error passive mode.
1 - error passive mode.
0 - no interrupt.
1 - CAN interrupt: image of all the CAN controller interrupts except for OVRTIM
interrupt. This bit can be used for polling method.
0 - no interrupt.
1 - bus off interrupt when the CAN enters in bus off mode.
0 - no interrupt.
1 - CAN timer overrun interrupt: set when the CAN timer switches from 0xFFFF
to 0x0000.
0 - no interrupt.
1 - burst receive interrupt: set when the frame buffer receive is completed.
0 - no interrupt.
1 - stuff error interrupt: detection of more than five consecutive bits with the
same polarity.
0 - no interrupt.
1 - CRC error interrupt: the CRC check on destuffed message does not fit with
the CRC field.
CANIT
R
7
0
BOFFIT
R/W
6
0
OVRTIM
R/W
5
0
BXOK
R/W
4
0
SERG
R/W
3
0
CERG
R/W
2
0
FERG
R/W
1
0
AERG
R/W
0
0
4250C–CAN–03/04
CANGIT

Related parts for AT90CAN128-16AE