
Rev. 1.20 2 November 20, 2019 Rev. 1.20 3 November 20, 2019
HT66F2740
12V High Current Flash MCU
HT66F2740
12V High Current Flash MCU
Table Program Example..............................................................................................................26
In Circuit Programming – ICP .....................................................................................................27
On-Chip Debug Support – OCDS ...............................................................................................28
Data Memory ....................................................................................................... 29
Structure......................................................................................................................................29
Data Memory Addressing............................................................................................................30
General Purpose Data Memory ..................................................................................................30
Special Purpose Data Memory ...................................................................................................30
Special Function Register Description............................................................. 32
Indirect Addressing Registers – IAR0, IAR1, IAR2 .....................................................................32
Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H...............................................................32
Accumulator – ACC.....................................................................................................................33
Program Counter Low Register – PCL........................................................................................34
Look-up Table Registers – TBLP, TBHP, TBLH...........................................................................34
Status Register – STATUS ..........................................................................................................34
EEPROM Data Memory....................................................................................... 36
EEPROM Data Memory Structure ..............................................................................................36
EEPROM Registers ....................................................................................................................36
Reading Data from the EEPROM ...............................................................................................37
Writing Data to the EEPROM......................................................................................................38
Write Protection...........................................................................................................................38
EEPROM Interrupt ......................................................................................................................38
Programming Considerations......................................................................................................38
Oscillators ........................................................................................................... 40
Oscillator Overview .....................................................................................................................40
System Clock Congurations......................................................................................................40
Internal High Speed RC Oscillator – HIRC .................................................................................41
Internal 32kHz Oscillator – LIRC ................................................................................................41
Operating Modes and System Clocks .............................................................. 41
System Clocks ............................................................................................................................41
System Operation Modes............................................................................................................42
Control Registers ........................................................................................................................43
Operating Mode Switching ..........................................................................................................45
Standby Current Considerations .................................................................................................48
Wake-up......................................................................................................................................48
Watchdog Timer.................................................................................................. 49
Watchdog Timer Clock Source....................................................................................................49
Watchdog Timer Control Register ...............................................................................................49
Watchdog Timer Operation .........................................................................................................50
Reset and Initialisation....................................................................................... 51
Reset Functions ..........................................................................................................................51
Reset Initial Conditions ...............................................................................................................53