
Rev. 1.00 2 August 29, 2018 Rev. 1.00 3 August 29, 2018
HT45F6530
AC Voltage Regulator Flash MCU
HT45F6530
AC Voltage Regulator Flash MCU
Data Memory .................................................................................................. 27
Structure................................................................................................................................ 27
General Purpose Data Memory ............................................................................................ 27
Special Purpose Data Memory ............................................................................................. 28
Special Function Register Description........................................................ 29
Indirect Addressing Registers – IAR0, IAR1 ......................................................................... 29
Memory Pointers – MP0, MP1 .............................................................................................. 29
Bank Pointer – BP................................................................................................................. 30
Accumulator – ACC............................................................................................................... 30
Program Counter Low Register – PCL.................................................................................. 30
Look-up Table Registers – TBLP, TBLH................................................................................ 30
Status Register – STATUS.................................................................................................... 31
EEPROM Data Memory.................................................................................. 33
EEPROM Data Memory Structure ........................................................................................ 33
EEPROM Registers .............................................................................................................. 33
Reading Data from the EEPROM ......................................................................................... 34
Writing Data to the EEPROM................................................................................................ 35
Write Protection..................................................................................................................... 35
EEPROM Interrupt ................................................................................................................ 35
Programming Considerations................................................................................................ 35
Oscillators ...................................................................................................... 37
Oscillator Overview ............................................................................................................... 37
System Clock Congurations................................................................................................ 37
Internal High Speed RC Oscillator – HIRC ........................................................................... 38
Internal 32kHz Oscillator – LIRC........................................................................................... 38
Operating Modes and System Clocks ......................................................... 38
System Clocks ...................................................................................................................... 38
System Operation Modes...................................................................................................... 39
Control Register .................................................................................................................... 40
Operating Mode Switching .................................................................................................... 42
Standby Current Considerations ........................................................................................... 45
Wake-up................................................................................................................................ 45
Watchdog Timer............................................................................................. 46
Watchdog Timer Clock Source.............................................................................................. 46
Watchdog Timer Control Register ......................................................................................... 46
Watchdog Timer Operation ................................................................................................... 47
Reset and Initialisation.................................................................................. 48
Reset Functions .................................................................................................................... 48
Reset Initial Conditions ......................................................................................................... 50
Input/Output Ports ......................................................................................... 53
Pull-high Resistors ................................................................................................................ 53
Port A Wake-up ..................................................................................................................... 54
I/O Port Control Registers ..................................................................................................... 54
Pin-shared Functions ............................................................................................................ 54