HT45F4MA/HT45FH4MA/HT45FH4MA-1
Power Bank Flash MCU
Special Function Register Description........................................................ 27
Indiꢂe�t Addꢂessing Registeꢂs – IAR0ꢄ IAR1 ......................................................................... 27
Meꢀoꢂy Pointeꢂs – MP0ꢄ MP1 .............................................................................................. 27
Bank Pointeꢂ – BP................................................................................................................. 28
A��uꢀulatoꢂ – ACC............................................................................................................... 28
Pꢂogꢂaꢀ Counteꢂ Low Registeꢂ – PCL.................................................................................. 28
Look-up Taꢁle Registeꢂs – TBLPꢄ TBHPꢄ TBLH..................................................................... 28
Status Registeꢂ – STATUS.................................................................................................... 29
EEPROM Data Memory.................................................................................. 31
EEPROM Data Meꢀoꢂy Stꢂu�tuꢂe ........................................................................................ 31
EEPROM Registeꢂs .............................................................................................................. 31
Reading Data fꢂoꢀ the EEPROM ........................................................................................ 33
Wꢂiting Data to the EEPROM................................................................................................ 33
Wꢂite Pꢂote�tion..................................................................................................................... 33
EEPROM Inteꢂꢂupt ................................................................................................................ 33
Pꢂogꢂaꢀꢀing Consideꢂations................................................................................................ 3ꢃ
Oscillator ........................................................................................................ 35
Os�illatoꢂ Oveꢂview ............................................................................................................... 35
System Clock Configurations................................................................................................ 35
Inteꢂnal RC Os�illatoꢂ – HIRC ............................................................................................... 3ꢅ
Inteꢂnal 32kHz Os�illatoꢂ – LIRC........................................................................................... 3ꢅ
Operating Modes and System Clocks ......................................................... 36
Systeꢀ Clo�ks ...................................................................................................................... 3ꢅ
Systeꢀ Opeꢂation Modes...................................................................................................... 37
Contꢂol Registeꢂ .................................................................................................................... 39
Opeꢂating Mode Swit�hing.................................................................................................... ꢃ1
Standꢁy Cuꢂꢂent Consideꢂations........................................................................................... ꢃ5
Wake-up................................................................................................................................ ꢃ5
Watchdog Timer............................................................................................. 46
Wat�hdog Tiꢀeꢂ Clo�k Souꢂ�e.............................................................................................. ꢃꢅ
Wat�hdog Tiꢀeꢂ Contꢂol Registeꢂ......................................................................................... ꢃꢅ
Wat�hdog Tiꢀeꢂ Opeꢂation ................................................................................................... ꢃ7
Reset and Initialisation.................................................................................. 48
Reset Fun�tions .................................................................................................................... ꢃ8
Reset Initial Conditions ......................................................................................................... 51
Input/Output Ports......................................................................................... 54
Pull-high Resistoꢂs ................................................................................................................ 5ꢃ
Poꢂt A Wake-up ..................................................................................................................... 55
I/O Poꢂt Contꢂol Registeꢂs..................................................................................................... 55
I/O Pin Stꢂu�tuꢂes.................................................................................................................. 5ꢅ
Pꢂogꢂaꢀꢀing Consideꢂations................................................................................................ 57
Rev. 1.20
3
De�eꢀꢁeꢂ 1ꢃꢄ 201ꢅ