
Rev. 1.00 2 September 11, 2018 Rev. 1.00 3 September 11, 2018
HT45F4050
A/D NFC Flash MCU
HT45F4050
A/D NFC Flash MCU
Look-up Table Registers – TBLP, TBHP, TBLH..................................................................... 36
Status Register – STATUS .................................................................................................... 36
EEPROM Data Memory.................................................................................. 38
EEPROM Data Memory Structure ........................................................................................ 38
EEPROM Registers .............................................................................................................. 38
Reading Data from the EEPROM ........................................................................................ 39
Writing Data to the EEPROM................................................................................................ 40
Write Protection..................................................................................................................... 40
EEPROM Interrupt ................................................................................................................ 40
Programming Considerations................................................................................................ 41
Oscillators ...................................................................................................... 42
Oscillator Overview ............................................................................................................... 42
System Clock Congurations ............................................................................................... 42
External Crystal/Ceramic Oscillator – HXT ........................................................................... 43
Internal RC Oscillator – HIRC ............................................................................................... 44
External 32.768kHz Crystal Oscillator – LXT ........................................................................ 44
Internal 32kHz Oscillator – LIRC .......................................................................................... 45
Operating Modes and System Clocks ......................................................... 45
System Clocks ...................................................................................................................... 45
System Operation Modes...................................................................................................... 46
Control Register .................................................................................................................... 47
Operating Mode Switching ................................................................................................... 50
Standby Current Considerations .......................................................................................... 54
Wake-up................................................................................................................................ 54
Watchdog Timer............................................................................................. 55
Watchdog Timer Clock Source.............................................................................................. 55
Watchdog Timer Control Register ......................................................................................... 55
Watchdog Timer Operation ................................................................................................... 56
Reset and Initialisation.................................................................................. 57
Reset Functions .................................................................................................................... 57
Reset Initial Conditions ........................................................................................................ 61
Input/Output Ports ........................................................................................ 65
Pull-high Resistors ................................................................................................................ 66
Port A Wake-up ..................................................................................................................... 66
I/O Port Control Registers ..................................................................................................... 67
I/O Port Source Current Control............................................................................................ 67
I/O Port Power Source Control.............................................................................................. 69
Pin-shared Functions ............................................................................................................ 70
I/O Pin Structures.................................................................................................................. 77
Programming Considerations ............................................................................................... 77
Timer Modules – TM ...................................................................................... 78
Introduction ........................................................................................................................... 78
TM Operation ........................................................................................................................ 78
TM Clock Source................................................................................................................... 78