
143
/
246
ABOV Semiconductor
UART
Un.LCR
UART Line Control Register
9.3.5
UART Line Control Register is 8-bit register.
U0.LCR=0x4000_800C, U1.LCR=0x4000_810C
7
6
5
4
3
2
1
0
BREAK
STICKP
PARITY
PEN
STOPBIT
DLEN[1:0]
0
0
0
0
0
0
0
0
RW
RW
RW
RW
RW
RW
RW
6
BREAK
When this bit is set, TxD pin will be driven at low state in order to notice
the alert to the receiver.
0
Normal transfer mode
1
Break transmit mode
5
STICKP
Force parity and it will be effective when PEN bit is set.
0
Parity stuck is disabled
1
Parity stuck is enabled and parity always the bit of PARITY.
4
PARITY
Parity mode selection bit and stuck parity select bit
0
Odd parity mode
1
Even parity mode
3
PEN
Parity bit transfer enable
0
The parity bit disabled
1
The parity bit enabled
2
STOPBIT
The number of stop bit followed by data bits.
0
1 stop bit
1
1.5 / 2 stop bit
In case of 5 bit data case, 1.5 stop bit is added. In case of 6,7 or 8
bit data, 2 stop bit is added
1
0
DLEN
The data length in one transfer word.
00
5 bit data
01
6 bit data
10
7 bit data
11
8 bit data
Parity bit will be generated according to bit 3,4,5 of Un.LCR register. The table shows the variation of parity bit
generation.
Table9.5. Interrupt ID and control
STICKP
PARITY
PEN
Parity
X
X
0
No Parity
0
0
1
Odd Parity
0
1
1
Even Parity
1
0
1
Force parity as “1”
1
1
1
Force parity as “0”
Summary of Contents for AC30M1x32
Page 3: ...3 246 ABOV Semiconductor INTRODUCTION SECTION 1 INTRODUCTION ...
Page 4: ...4 246 4 246 AC30M1x64 1x32 ABOV Semiconductor OVERVIEW CHAPTER 1 ...
Page 18: ...18 246 18 246 ABOV Semiconductor AC30M1x64 1x32 CPU CHAPTER 2 ...
Page 22: ...22 246 22 246 ABOV Semiconductor AC30M1x64 1x32 Boot Mode CHAPTER 3 ...
Page 26: ...26 246 26 246 ABOV Semiconductor AC30M1x64 1x32 SECTION 2 PERIPHERALS ...
Page 27: ...27 246 ABOV Semiconductor System Control Unit SCU SYSTEM CONTROL UNIT SCU CHAPTER 1 ...
Page 69: ...69 246 ABOV Semiconductor Port Control Unit PCU PORT CONTROL UNIT PCU CHAPTER 2 ...
Page 85: ...85 246 ABOV Semiconductor General Purpose I O GPIO GENERAL PURPOSE I O GPIO CHAPTER 3 ...
Page 92: ...92 246 92 246 AC30M1x64 1x32 ABOV Semiconductor FLASH MEMORY CONTROLLER CHAPTER 4 ...
Page 105: ...105 246 ABOV Semiconductor Internal SRAM INTERNAL SRAM CHAPTER 5 ...
Page 107: ...107 246 ABOV Semiconductor Watch Dog Timer WATCH DOG TIMER WDT CHAPTER 6 ...
Page 113: ...113 246 ABOV Semiconductor 16 bit Timer 16 BIT TIMER CHAPTER 7 ...
Page 129: ...129 246 ABOV Semiconductor FRT FREE RUN TIMER FRT CHAPTER 8 ...
Page 134: ...134 246 134 246 ABOV Semiconductor AC30M1x64 1x32 FUNCTION DESCRIPTION 8 3 ...
Page 135: ...135 246 UART ABOV Semiconductor UNIVERSAL ASYNCHRONOUS CHAPTER 9 RECEIVER TRANSMITTER UART ...
Page 151: ...151 246 ABOV Semiconductor UART Figure 9 6 Transmit interrupt timing diagram ...
Page 152: ...152 246 152 246 ABOV Semiconductor AC30M1x64 1x32 SERIAL PERIPHERAL INTERFACE SPI CHAPTER 10 ...
Page 164: ...164 246 164 246 ABOV Semiconductor AC30M1x64 1x32 I2 C Interface CHAPTER 11 ...
Page 185: ...185 246 ABOV Semiconductor Motor PWM MOTOR PULSE WIDTH MODULATOR CHAPTER 12 MPWM ...
Page 215: ...215 246 ABOV Semiconductor Divider DIVIDER DIV64 CHAPTER 13 ...
Page 221: ...221 246 ABOV Semiconductor 12 BIT A D Converter 12BIT A D CONVERTER CHAPTER 14 ...
Page 235: ...235 246 ABOV Semiconductor CHARACTERISTIC SECTION 3 CHARACTERISTIC ...
Page 236: ...236 246 236 246 ABOV Semiconductor AC30M1x64 1x32 Electrical Characteristic CHAPTER 1 ...
Page 243: ...243 246 ABOV Semiconductor Package Package CHAPTER 2 ...