
Rev. 1.40 2 August 28, 2017 Rev. 1.40 3 August 28, 2017
HT66F60A/HT66F70A
A/D Flash MCU with EEPROM
EEPROM Data Memory.................................................................................. 46
EEPROM Data Memory Structure ........................................................................................ 46
EEPROM Registers .............................................................................................................. 46
Reading Data from the EEPROM ......................................................................................... 47
Writing Data to the EEPROM................................................................................................ 48
Write Protection..................................................................................................................... 48
EEPROM Interrupt ................................................................................................................ 48
Programming Considerations................................................................................................ 48
Programming Examples........................................................................................................ 49
Oscillator ........................................................................................................ 50
Oscillator Overview ............................................................................................................... 50
System Clock Congurations................................................................................................ 50
External Crystal/Ceramic Oscillator – HXT ........................................................................... 51
External RC Oscillator – ERC ............................................................................................... 52
Internal High Speed RC Oscillator – HIRC ........................................................................... 52
External 32.768kHz Crystal Oscillator – LXT ........................................................................ 53
Internal Low Speed Oscillator – LIRC ................................................................................... 54
Supplementary Oscillators .................................................................................................... 54
Operating Modes and System Clocks ......................................................... 55
System Clock ........................................................................................................................ 55
System Operation Modes...................................................................................................... 56
Control Register .................................................................................................................... 57
Fast Wake-up ........................................................................................................................ 60
Operating Mode Switching .................................................................................................... 61
NORMAL Mode to SLOW Mode Switching ........................................................................... 62
SLOW Mode to NORMAL Mode Switching ........................................................................... 63
Entering the SLEEP0 Mode .................................................................................................. 64
Entering the SLEEP1 Mode .................................................................................................. 64
Entering the IDLE0 Mode...................................................................................................... 64
Entering the IDLE1 Mode...................................................................................................... 65
Standby Current Considerations ........................................................................................... 65
Wake-up................................................................................................................................ 66
Programming Considerations................................................................................................ 66
Watchdog Timer............................................................................................. 67
Watchdog Timer Clock Source.............................................................................................. 67
Watchdog Timer Control Register ......................................................................................... 67
Watchdog Timer Operation ................................................................................................... 68
Reset and Initialisation.................................................................................. 70
Reset Functions .................................................................................................................... 70
Reset Initial Conditions ......................................................................................................... 74
Input/Output Ports ......................................................................................... 78
Pull-high Resistors ................................................................................................................ 80
Port A Wake-up ..................................................................................................................... 80
I/O Port Control Registers ..................................................................................................... 80
Pin-shared Functions ............................................................................................................ 80