16.10.15 CAN Receive Error Counter Register - CANREC
Bit
7
REC7
R
6
REC6
R
5
REC5
R
4
REC4
R
3
REC3
R
2
REC2
R
1
REC1
R
0
REC0
R
CANREC
Read/Write
Initial Value
0
0
0
0
0
0
0
0
• Bit 7:0 – REC7:0: Receive Error Count
CAN receive error counter range 0 to 255.
16.10.16 CAN Highest Priority MOb Register - CANHPMOB
Bit
7
6
5
4
3
2
CGP2
R/W
0
1
0
HPMOB3 HPMOB2 HPMOB1 HPMOB0 CGP3
CGP1
CGP0 CANHPMOB
Read/Write
Initial Value
R
1
R
1
R
1
R
1
R/W
0
R/W
0
R/W
0
• Bit 7:4 – HPMOB3:0: Highest Priority MOb Number
MOb having the highest priority in CANSIT registers.
If CANSIT = 0 (no MOb), the return value is 0xF.
Note:
Do not confuse “MOb priority” and “Message ID priority”- <Helv>See “Message Objects” on page 149.
• Bit 3:0 – CGP3:0: CAN General Purpose Bits
These bits can be pre-programmed to match with the wanted configuration of the CANPAGE register (i.e., AINC and
INDX2:0 setting).
16.10.17 CAN Page MOb Register - CANPAGE
Bit
7
6
5
4
3
2
INDX2
R/W
0
1
INDX1
R/W
0
0
MOBNB3 MOBNB2 MOBNB1 MOBNB0 AINC
INDX0 CANPAGE
Read/Write
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
• Bit 7:4 – MOBNB3:0: MOb Number
Selection of the MOb number, the available numbers are from 0 to 5.
Note: MOBNB3 always must be written to zero for compatibility with all AVR CAN devices.
• Bit 3 – AINC: Auto Increment of the FIFO CAN Data Buffer Index (Active Low)
●
●
0 - auto increment of the index (default value).
1- no auto increment of the index.
• Bit 2:0 – INDX2:0: FIFO CAN Data Buffer Index
Byte location of the CAN data byte into the FIFO for the defined MOb.
166
ATmega16/32/64/M1/C1 [DATASHEET]
7647O–AVR–01/15