669
/
838
Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
Bit field
Name
Description
Software can set this bit to 1 to make USART enter mute mode, and clear this bit to 0
to wake up USART.
In idle frame wake-up mode (USART_CTRL1.WUM=0), this bit is cleared by hardware
when an idle frame is detected. In address wake-up mode (USART_CTRL1.WUM=1),
when an address matching frame is received, this bit is cleared by hardware. Or when
an address mismatch frame is received, it is set to 1 by hardware.
0: The receiver is in normal operation mode.
1: The receiver is in mute mode.
0
SDBRK
Send Break Character.
The software transmits a break character by setting this bit to 1.
This bit is cleared by hardware during stop bit of the break frame transmission.
0: No break character was sent.
1: Send a break character.
23.7.6
USART control register 2 register (USART_CTRL2)
Address offset : 0x10
Reset value : 0x0000 0000
Bit field
Name
Description
31:15
Reserved
Reserved, the reset value must be maintained
14
LINMEN
LIN mode enable
0:LIN mode is disabled
1:LIN mode enabled
13:12
STPB[1:0]
STOP bits.
00:1 stop bit.
01:0.5 stop bit.
10:2 stop bit.
11:1.5 stop bit.
Note: For UART4/5/6/7, only one stop bit and two stop bits are valid.
11
CLKEN
Clock enable
0:CK pin is disabled
1:CK pin enabled
Note: This bit cannot be used for UART4/5/6/7.
10
CLKPOL
Clock polarity.
This bit is used to set the polarity of CK pin in synchronous mode.