4/29/2020
Loongson 3A3000 / 3B3000 Processor User Manual
90
107
REG3 [17: 0]
LPC_INT_CLEAR
write
0
LPC SIRQ interrupt clear
11.3 UART controller
The UART controller has the following features
●
Full-duplex asynchronous data reception / transmission
●
Programmable data format
●
16-bit programmable clock counter
●
Support receive timeout detection
●
Multi-interrupt system with arbitration
●
Only work in FIFO mode
●
Compatible with NS16550A in registers and functions
The chip integrates two UART interfaces, the function registers are exactly the same, but the access base address is different.
The base address of the physical address of the UART0 register is 0x1FE001E0.
The base address of the physical address of the UART1 register is 0x1FE001E8.
Page 112
Godson 3A3000 / 3B3000 Processor User Manual • Volume 1
11.3.1
Data Register ( DAT )
Chinese name:
Data transfer register
Register bit width: [7: 0]
Offset:
0x00
Reset value:
0x00
Bit field
Bit field name
Bit width access
description
7: 0
Tx FIFO
8
W
Data transfer register
11.3.2
Interrupt enable register ( IER )
Chinese name:
Interrupt enable register
Register bit width: [7: 0]
Offset:
0x01
Reset value:
0x00
Bit field
Bit field name
Bit width access
description
7: 4
Rese
4
RW
Keep
3
IME
1
RW
M Yao dem status interrupt enable '0'-off
'1'-open
2
ILE
1
RW
Receiver line status interrupt enable '0' – close '1' – open
1
ITxE
1
RW
Transfer save register is empty Interrupt enable '0' – close '1' – open
0
IRxE
1
RW
Receive valid data interrupt enable '0' – close '1' – open
11.3.3
Interrupt Identification Register ( IIR )
Chinese name:
Interrupt source register
Register bit width: [7: 0]