HT45F4N/HT45FH4N
Power Bank Flash MCU
USB1ꢄ USBꢅ ....................................................................................................................... 13ꢅ
USB Chaꢂge/Dis�haꢂge Auto Dete�tion Registeꢂs .............................................................. 133
Interrupts...................................................................................................... 136
Inteꢂꢂupt Registeꢂs............................................................................................................... 13ꢆ
Inteꢂꢂupt Opeꢂation.............................................................................................................. 1ꢃ3
Exteꢂnal Inteꢂꢂupt................................................................................................................. 1ꢃ5
UVP Inteꢂꢂupt ...................................................................................................................... 1ꢃ5
OVP Inteꢂꢂupt ...................................................................................................................... 1ꢃ5
OCP Inteꢂꢂupt...................................................................................................................... 1ꢃꢆ
Multi-fun�tion Inteꢂꢂupt ........................................................................................................ 1ꢃꢆ
A/D Conveꢂteꢂ Inteꢂꢂupt....................................................................................................... 1ꢃꢆ
Tiꢀe Base Inteꢂꢂupts........................................................................................................... 1ꢃ7
EEPROM Inteꢂꢂupt .............................................................................................................. 1ꢃ8
LVD Inteꢂꢂupt....................................................................................................................... 1ꢃ8
TM Inteꢂꢂupts....................................................................................................................... 1ꢃ8
Inteꢂꢂupt Wake-up Fun�tion................................................................................................. 1ꢃ8
Pꢂogꢂaꢀꢀing Consideꢂations.............................................................................................. 1ꢃ9
Low Voltage Detector – LVD ....................................................................... 150
LVD Registeꢂ....................................................................................................................... 150
LVD Opeꢂation..................................................................................................................... 151
SCOM Function for LCD.............................................................................. 152
LCD Opeꢂation .................................................................................................................... 15ꢅ
LCD Bias Contꢂol ................................................................................................................ 153
Application Circuit....................................................................................... 154
Instruction Set.............................................................................................. 155
Intꢂodu�tion ......................................................................................................................... 155
Instꢂu�tion Tiꢀing................................................................................................................ 155
Moving and Tꢂansfeꢂꢂing Data............................................................................................. 155
Aꢂithꢀeti� Opeꢂations.......................................................................................................... 155
Logi�al and Rotate Opeꢂation ............................................................................................. 15ꢆ
Bꢂan�hes and Contꢂol Tꢂansfeꢂ ........................................................................................... 15ꢆ
Bit Opeꢂations ..................................................................................................................... 15ꢆ
Taꢁle Read Opeꢂations ....................................................................................................... 15ꢆ
Otheꢂ Opeꢂations................................................................................................................. 15ꢆ
Instruction Set Summary ............................................................................ 157
Taꢁle Conventions............................................................................................................... 157
Instruction Definition................................................................................... 159
Package Information ................................................................................... 168
ꢅ8-pin SSOP (150 ꢀil) Outline Diꢀensions........................................................................ 1ꢆ9
Rev. 1.30
5
De�eꢀꢁeꢂ 1ꢃꢄ ꢅ01ꢆ