English
Language : 

C8051F52X_12 Datasheet, PDF (177/221 Pages) Silicon Laboratories – 8/4/2 kB ISP Flash MCU Family
C8051F52x/F53x
SFR Definition 17.12. LIN0CTRL: LIN0 Control Register
W
STOP
Bit7
W
SLEEP
Bit6
W
TXRX
Bit5
R/W
DTACK
Bit4
R/W
RSTINT
Bit3
R/W
R/W
RSTERR WUPREQ
Bit2
Bit1
R/W
Reset Value
STREQ 00000000
Bit0
Address: 0x08 (indirect)
Bit7:
Bit6:
Bit5:
Bit4:
Bit3:
Bit2:
Bit1:
Bit0:
STOP: Stop Communication Processing Bit (slave mode only).
This bit is to be set by the application to block the processing of the LIN Communications
until the next SYNCH BREAK signal. It is used when the application is handling a data
request interrupt and cannot use the frame content with the received identifier (always reads
0).
SLEEP: Sleep Mode Warning.
This bit is to be set by the application to warn the peripheral that a Sleep Mode Frame was
received and that the Bus is in sleep mode or if a Bus Idle timeout interrupt is requested.
The application must reset it when a Wake-Up interrupt is requested.
TXRX: Transmit/Receive Selection Bit.
This bit determines if the current frame is a transmit frame or a receive frame.
0: Current frame is a receive operation.
1: Current frame is a transmit operation.
DTACK: Data acknowledge bit (slave mode only).
Set to 1 after handling a data request interrupt to acknowledge the transfer. The bit will auto-
matically be cleared to 0 by the LIN controller.
RSTINT: Interrupt Reset bit.
This bit always reads as 0.
0: No effect.
1: Reset the LININT bit (LIN0ST.3).
RSTERR: Error Reset Bit.
This bit always reads as 0.
0: No effect.
1: Reset the error bits in LIN0ST and LIN0ERR.
WUPREQ: Wake-Up Request Bit.
Set to 1 to terminate sleep mode by sending a wakeup signal. The bit will automatically be
cleared to 0 by the LIN controller.
STREQ: Start Request Bit (master mode only).
1: Start a LIN transmission. This should be set only after loading the identifier, data length
and data buffer if necessary.
The bit is reset to 0 upon transmission completion or error detection.
Rev. 1.4
177