T5L_ASIC Development Guide
D
WI
N
T
echnology
Pro
f
essional
,
Credi
t
able
,
Success
f
ul
3.7.3 UART4
UART4 related SFR are shown in the following table.
UART4 sending control:
.7 UART4 sending enable. 0=close;1=open;
.6 0=8bit mode,1=9bit mode;
.5 TB8, 9
th
bit sent in 9bit mode;
.4-.1 Write0;
.0 TI, send mark. The position at which the stop bit is sent.
UART4 receive control:
.7 UART4 sending enable. 0=close;1=open;
.6 Write0;
.5 RB8, 9
th
bit received in 9bit mode;
.4-.1 Write 0;
.0 R RI, receive mark. Set when the stop bit is received when a valid stop bit is received.
UART4 sending data interface
UART4 receiving data interface
UART4 baud rate setting
BODE2_DIV_H:L=CPU main frequency/(8*baud rate)
The relevant settings of UART4 interruption are as follows:
Interrupt enabling
control
After interruption, clear the interruption trigger mark by
software.
After interruption, clear the interruption trigger mark by
software.