Rev. 2.50 4 June 22, 2017 Rev. 2.50 5 June 22, 2017
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
HT66F20/HT66F30/HT66F40/HT66F50/HT66F60
HT66FU30/HT66FU40/HT66FU50/HT66FU60
A/D Flash MCU with EEPROM
Interrupts ...................................................................................................... 202
Interrupt Registers ............................................................................................................... 202
Interrupt Operation .............................................................................................................. 216
External Interrupt ................................................................................................................. 220
Comparator Interrupt ........................................................................................................... 220
Multi-function Interrupt ........................................................................................................ 220
A/D Converter Interrupt ....................................................................................................... 221
Time Base Interrupt ............................................................................................................. 221
Serial Interface Module Interrupt ......................................................................................... 223
External Peripheral Interrupt ............................................................................................... 223
EEPROM Interrupt .............................................................................................................. 223
LVD Interrupt ....................................................................................................................... 224
TM Interrupts ....................................................................................................................... 224
Interrupt Wake-up Function ................................................................................................. 225
Programming Considerations .............................................................................................. 225
Low Voltage Detector – LVD ....................................................................... 226
LVD Register ....................................................................................................................... 226
LVD Operation
..................................................................................................................... 227
SCOM Function for LCD .............................................................................. 228
LCD Operation .................................................................................................................... 228
LCD Bias Control
................................................................................................................ 229
Conguration Options ................................................................................. 231
Application Circuits
..................................................................................... 232
UART Module Serial Interface
.................................................................... 233
UART Module Features....................................................................................................... 233
UART Module Overview ...................................................................................................... 233
UART Module Block Diagram ............................................................................................. 233
Pin Assignment ................................................................................................................... 234
UART Module Pin Description............................................................................................. 236
UART Module D.C. Characteristics ..................................................................................... 237
UART Module A.C. Characteristics ..................................................................................... 238
UART Module Functional Description ................................................................................. 238
UART Module Internal Signal .............................................................................................. 238
UART Module SPI Interface ................................................................................................ 239
UART Module External Pin Interfacing................................................................................ 240
UART Data Transfer Scheme.............................................................................................. 240
UART Commands ............................................................................................................... 241
UART Status and Control Registers.................................................................................... 241
Baud Rate Generator .......................................................................................................... 247
UART Module Setup and Control ........................................................................................ 249
Managing Receiver Errors .................................................................................................. 254
UART Module Interrupt Structure ........................................................................................ 255
UART Module Power-down and Wake-up .......................................................................... 256
Using the UART Function.................................................................................................... 257
Application Circuit with UART Module................................................................................. 258