RM0082
LS_Universal asynchronous receiver/transmitter (UART)
Doc ID 018672 Rev 1
603/844
27.4.9 UARTIMSC
register
The UARTIMSC (interrupt mask set/clear) is a 16 bit RW register which allows masking and
clearing of each UART interrupt source (
).
Reading from this register gives the current value of the mask on relevant interrupt. Writing a
1‘b1 to a particular bit sets the corresponding mask of that interrupt, whereas writing a 1‘b0
clears the corresponding mask.
The UARTIMSC bit assignments are given in
[05:03]
RXIFLSEL
3’h12
Receive interrupt FIFO level select.
This 3 bit field allows to set the trigger points for the receive
interrupt, according to encoding:
– 3‘b000 = 1/8 full
– 3‘b001 = 1/4 full
– 3‘b010 = 1/2 full (default)
– 3‘b011 = 3/4 full
– 3‘b100 = 7/8 full
Any other value = Reserved
[02:00]
TXIFLSEL
3’h12
Transmit interrupt FIFO level select.
This 3 bit field allows to set the trigger points for the transmit
interrupt, according to encoding:
– 3‘b000 = 1/8 full
– 3‘b001 = 1/4 full
– 3‘b010 = 1/2 full (default)
– 3‘b011 = 3/4 full
– 3‘b100 = 7/8 full
Any other value = Reserved
Table 531.
UARTIFLS register bit assignments (continued)
Bit
Name
Reset value Description
Table 532.
UARTIMSC register bit assignments
Bit
Name
Reset value Description
[15:11]
Reserved
-
Read: as zero. Write: should be zero.
[10]
OEIM
1’h0
Overrun error interrupt mask.
[09]
BEIM
1’h0
Break error interrupt mask.
[08]
PEIM
1’h0
Parity error interrupt mask.
[07]
FEIM
1’h0
Framing error interrupt mask.
[06]
RTIM
1’h0
Receive timeout interrupt mask.
[05]
TXIM
1’h0
Transmit interrupt mask.
[04]
RXIM
1’h0
Receive interrupt mask.
[03]
DSRMIM
1’h0
nUARTDSR modem interrupt mask (see
[02]
DCDMIM
1’h0
nUARTDCD modem interrupt mask (see