17.6.7 LIN Data Length Register - LINDLR
Bit
7
6
5
4
3
2
1
0
LTXDL3 LTXDL2 LTXDL1 LTXDL0 LRXDL3 LRXDL2 LRXDL1 LRXDL0 LINDLR
Read/Write
Initial Value
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
R/W
0
• Bits 7:4 - LTXDL[3:0]: LIN Transmit Data Length
In LIN mode, this field gives the number of bytes to be transmitted (clamped to 8 Max).
In UART mode this field is unused.
• Bits 3:0 - LRXDL[3:0]: LIN Receive Data Length
In LIN mode, this field gives the number of bytes to be received (clamped to 8 Max).
In UART mode this field is unused.
17.6.8 LIN Identifier Register - LINIDR
Bit
7
LP1
R
6
LP0
R
5
4
3
2
1
0
LID0
R/W
0
LID5 / LDL1 LID4 / LDL0
LID3
R/W
0
LID2
R/W
0
LID1
R/W
0
LINIDR
Read/Write
Initial Value
R/W
0
R/W
0
0
0
• Bits 7:6 - LP[1:0]: Parity
In LIN mode:
LP0 = LID4 ^ LID2 ^ LID1 ^ LID0
LP1 = ! ( LID1 ^ LID3 ^ LID4 ^ LID5 )
In UART mode this field is unused.
• Bits 5:4 - LDL[1:0]: LIN 1.3 Data Length
In LIN 1.3 mode:
●
●
●
●
00 = 2-byte response,
01 = 2-byte response,
10 = 4-byte response,
11 = 8-byte response.
In UART mode this field is unused.
• Bits 3:0 - LID[3:0]: LIN 1.3 Identifier
In LIN 1.3 mode: 4-bit identifier.
In UART mode this field is unused.
• Bits 5:0 - LID[5:0]: LIN 2.1 Identifier
In LIN 2.1 mode: 6-bit identifier (no length transported).
In UART mode this field is unused.
ATmega16/32/64/M1/C1 [DATASHEET]
195
7647O–AVR–01/15