
Rev. 1.21
144
�ove��e� ��� 2�1�
Rev. 1.21
145
�ove��e� ��� 2�1�
HT66F488/HT66F489
A/D Flash MCU with EEPROM
HT66F488/HT66F489
A/D Flash MCU with EEPROM
Transmitter Empty
Flag TXIF
USR Register
Transmitter Idle
Flag TIDLE
Receiver Overrun
Flag OERR
Receiver Data
Available RXIF
ADDEN
RX Pin
Wake-up
WAKE
0
1
0
1
0
1
RX7 if BNO=0
RX8 if BNO=1
UCR2 Register
OR
RIE
0
1
TIIE
0
1
TEIE
0
1
UART Interrupt
Request Flag
UARF
UCR2 Register
To MCU Interrupt
Controller
UART Interrupt Scheme
Address detect mode
Setting the Address Detect Mode bit, ADDEN, in the UCR2 register, enables this special mode. If
this bit is enabled then an additional qualifier will be placed on the generation of a Receiver Data
Available interrupt, which is requested by the RXIF flag. If the ADDEN bit is enabled, then when
data is available, an interrupt will only be generated, if the highest received bit has a high value.
Note that the MFE, URE and EMI interrupt enable bits must also be enabled for correct interrupt
generation. This highest address bit is the 9
th
bit if BNO=1 or the 8
th
bit if BNO=0. If this bit is high,
then the received word will be defined as an address rather than data. A Data Available interrupt will
be generated every time the last bit of the received word is set. If the ADDEN bit is not enabled, then
a Receiver Data Available interrupt will be generated each time the RXIF flag is set, irrespective of
the data last bit status. The address detect mode and parity enable are mutually exclusive functions.
Therefore if the address detect mode is enabled, then to ensure correct operation, the parity function
should be disabled by resetting the parity enable bit to zero.
ADDEN
Bit 9 if BNO=1, Bit 8 if BNO=0
UART Interrupt Generated
�
�
√
1
√
1
�
×
1
√
ADDEN Bit Function