Rev. 1.10
124
November 04, 2019
Rev. 1.10
125
November 04, 2019
HT45F5Q-3
Battery Charger Flash MCU
HT45F5Q-3
Battery Charger Flash MCU
Bit 3
UWAKE
: RX pin wake-up UART function enable control
0: RX pin wake-up UART function is disabled
1: RX pin wake-up UART function is enabled
This bit is used to control the wake-up UART function when a falling edge on the RX
pin occurs. Note that this bit is only available when the UART clock (f
H
) is switched
off. There will be no RX pin wake-up UART function if the UART clock (f
H
) exists.
If the UWAKE bit is set to 1 as the UART clock (f
H
) is switched off, a UART wake-
up request will be initiated when a falling edge on the RX pin occurs. When this
request happens and the corresponding interrupt is enabled, an RX pin wake-up UART
interrupt will be generated to inform the MCU to wake up the UART function by
switching on the UART clock (f
H
) via the application program. Otherwise, the UART
function cannot resume even if there is a falling edge on the RX pin when the UWAKE
bit is cleared to “0”.
Bit 2
URIE
: Receiver interrupt enable control
0: Receiver related interrupt is disabled
1: Receiver related interrupt is enabled
This bit enables or disables the receiver interrupt. If this bit is equal to “1” and when
the receiver overrun flag UOERR or receive data available flag URXIF is set, the
USIM interrupt request flag USIMF will be set. If this bit is equal to “0”, the USIM
interrupt request flag USIMF will not be influenced by the condition of the UOERR or
URXIF flags.
Bit 1
UTIIE
: Transmitter Idle interrupt enable control
0: Transmitter idle interrupt is disabled
1: Transmitter idle interrupt is enabled
This bit enables or disables the transmitter idle interrupt. If this bit is equal to “1” and
when the transmitter idle flag UTIDLE is set, due to a transmitter idle condition, the
USIM interrupt request flag USIMF will be set. If this bit is equal to “0”, the USIM
interrupt request flag USIMF will not be influenced by the condition of the UTIDLE
flag.
Bit 0
UTEIE
: Transmitter Empty interrupt enable control
0: Transmitter empty interrupt is disabled
1: Transmitter empty interrupt is enabled
This bit enables or disables the transmitter empty interrupt. If this bit is equal to
“1” and when the transmitter empty flag UTXIF is set, due to a transmitter empty
condition, the USIM interrupt request flag USIMF will be set. If this bit is equal to “0”,
the USIM interrupt request flag USIMF will not be influenced by the condition of the
UTXIF flag.
• UTXR_RXR Register
The UTXR_RXR register is the data register which is used to store the data to be transmitted on the
TX pin or being received from the RX pin.
Bit
7
6
5
4
3
2
1
0
Name
UTXRX7 UTXRX6 UTXRX5 UTXRX4 UTXRX3 UTXRX2 UTXRX1 UTXRX0
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
x
x
x
x
x
x
x
x
“x”: unknown
Bit 7~0
UTXRX7~UTXRX0
: UART Transmit/Receive Data bit 7 ~ bit 0