Rev. 1.50
154
����st ��� �01�
Rev. 1.50
155
����st ��� �01�
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
HT66F0175/HT66F0185
A/D Flash MCU with EEPROM
UART Interface
The UART interface module is only contained in the HT66F0185 device. The HT66F0185 device
contains an integrated full-duplex asynchronous serial communications UART interface that enables
communication with external devices that contain a serial interface. The UART function has many
features and can transmit and receive data serially by transferring a frame of data with eight or
nine data bits per transmission as well as being able to detect errors when the data is overwritten or
incorrectly framed. The UART function possesses its own internal interrupt which can be used to
indicate when a reception occurs or when a transmission terminates.
The integrated UART function contains the following features:
• Full-duplex, asynchronous communication
• 8 or 9 bits character length
• Even, odd or no parity options
• One or two stop bits
• Baud rate generator with 8-bit prescaler
• Parity, framing, noise and overrun error detection
• Support for interrupt on address detect (last character bit=1)
• Separately enabled transmitter and receiver
• 2-byte Deep FIFO Receive Data Buffer
• Transmit and receive interrupts
• Interrupts can be initialized by the following conditions:
♦
Transmitter Empty
♦
Transmitter Idle
♦
Receiver Full
♦
Receiver Overrun
♦
Address Mode Detect
MSB
LSB
…………………………
Transmitter Shift Re�ister (TSR)
MSB
LSB
…………………………
Receiver Shift Re�ister (RSR)
TX Pin
RX Pin
Ba�d Rate
Generator
TX Re�ister (TXR)
RX Re�ister (RXR)
Data to be transmitted
Data received
B�ffer
f
SYS
MCU Data B�s
UART Data Transfer Block Diagram