UART/Autobaud Control and Status Registers
12-28
The interrupt enable register (IER) can be programmed to enable/disable any
of the following interrupts:
-
Receiver error
-
RHR
-
THR
-
XOFF received
-
CTS/RTS change of state from low to high
These interrupts can be enabled/disabled individually. There is also a sleep
mode enable bit.
Table 12–23. UART Mode Interrupt Enable Register (IER)
Bit
Name
Value
Function
R/W
Reset
Value
7
CTS_IT
0
Disables the CTS interrupt
R/W
0
1
Enables the CTS interrupt
6
RTS_IT
0
Disables the RTS interrupt
R/W
0
1
Enables the RTS interrupt
5
XOFF_IT
0
Disables the XOFF interrupt
R/W
0
1
Enables the XOFF interrupt
4
SLEEP_MODE
0
Disables sleep mode
R/W
0
1
Enables sleep mode (stops baud rate clock
when the module is inactive)
3
MODEM_STS_IT
0
Disables the modem status register interrupt
R/W
0
1
Enables the modem status register interrupt
2
LINE_STS_IT
0
Disables the receiver line status interrupt
R/W
0
1
Enables the receiver line status interrupt
1
THR_IT
0
Disables the THR interrupt
R/W
0
1
Enables the THR interrupt
0
RHR_IT
0
Disables the RHR interrupt and time out
interrupt.
R/W
0
1
Enables the RHR interrupt and time out
interrupt.
Note:
Bits 4, 5, 6, and 7 can only be written when EFR[4] = 1.