Datasheet

21.6.1. LIN Control Register
Name:  LINCR
Offset:  0xC8
Reset:  0x0
Property:
 
R/W
Bit 7 6 5 4 3 2 1 0
LSWRES LIN13 LCONF[1:0] LENA LCMD[2:0]
Access
Reset 0 0 0 0 0 0 0 0
Bit 7 – LSWRES: Software Reset
Value Description
0 No action
1 Software reset (this bit is self-reset at the end of the reset procedure)
Bit 6 – LIN13: LIN 1.3 mode
Value Description
0 LIN 2.1 (default)
1 LIN 1.3
Bits 5:4 – LCONF[1:0]: Configuration
The configuration settings for LIN and UART mode are shown below
Value Name Description
00 LIN Mode LIN Standard configuration (listen mode “off”, CRC “on” & Frame_Time_Out
“on”) (default)
01 LIN Mode No CRC, no Time out (listen mode “off”)
10 LIN Mode No Frame_Time_Out (listen mode “off” & CRC “on”)
11 LIN Mode Listening mode (CRC “on” & Frame_Time_Out “on”)
00 UART Mode 8-bit, no parity (listen mode “off”) (default)
01 UART Mode 8-bit, even parity (listen mode “off”)
10 UART Mode 8-bit, odd parity (listen mode “off”)
11 UART Mode Listening mode, 8-bit, no parity
Bit 3 – LENA: Enable
Value Description
0 Disable (both LIN and UART modes)
1 Enable (both LIN and UART modes)
Bits 2:0 – LCMD[2:0]: Command and mode
The command is only available if LENA is set
Value Description
000 LIN Rx Header - LIN abort
001 LIN Tx Header
010 LIN Rx Response
Atmel ATmega16M1/32M1/64M1 [DATASHEET]
Atmel-8209F-ATmega16M1/32M1/64M1_Datasheet_Complete-10/2016
290