|
ATTINY87_10 Datasheet, PDF (186/292 Pages) ATMEL Corporation – 8-bit AVR Microcontroller with 8K/16K Bytes In-System Programmable Flash and LIN Controller | |||
|
◁ |
15.6.8 LINIDR â LIN Identifier Register
Bit
7
6
5
4
3
2
1
(0xD0)
LP1
LP0
LID5 /
LDL1
LID4 /
LDL0
LID3
LID2
LID1
Read/Write
R
R
R/W
R/W
R/W
R/W
R/W
Initial Value
0
0
0
0
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.
15.6.9 LINSEL â LIN Data Buffer Selection Register
0
LID0
R/W
0
LINIDR
Bit
7
6
5
4
3
2
1
0
(0xD1)
â
â
â
â
LAINC LINDX2 LINDX1 LINDX0 LINSEL
Read/Write
â
â
â
â
R/W
R/W
R/W
R/W
Initial Value
â
â
â
â
0
0
0
0
⢠Bits 7:4 â Reserved Bits
These bits are reserved for future use. For compatibility with future devices, they must be
written to zero when LINSEL is written.
186 ATtiny87/ATtiny167
8265AâAVRâ08/10
|
▷ |