HT45F4MA/HT45FH4MA/HT45FH4MA-1
Power Bank Flash MCU
Timer Modules – TM ...................................................................................... 57
Intꢂodu�tion ........................................................................................................................... 57
TM Opeꢂation ........................................................................................................................ 58
TM Clo�k Souꢂ�e................................................................................................................... 58
TM Inteꢂꢂupts......................................................................................................................... 58
TM Exteꢂnal Pins................................................................................................................... 59
TM Input/Output Pin Contꢂol Registeꢂ................................................................................... ꢅ0
Pꢂogꢂaꢀꢀing Consideꢂations................................................................................................ ꢅ2
Standard Type TM – STM .............................................................................. 63
Standaꢂd TM Opeꢂation......................................................................................................... ꢅ3
Standaꢂd Type TM Registeꢂ Des�ꢂiption ............................................................................... ꢅ3
Standaꢂd Type TM Opeꢂating Modes.................................................................................... ꢅ8
Periodic Type TM – PTM................................................................................ 78
Peꢂiodi� TM Opeꢂation .......................................................................................................... 78
Peꢂiodi� Type TM Registeꢂ Des�ꢂiption................................................................................. 79
Peꢂiodi� Type TM Opeꢂation Modes...................................................................................... 8ꢃ
Analog to Digital Converter .......................................................................... 93
A/D Oveꢂview ........................................................................................................................ 93
A/D Conveꢂteꢂ Registeꢂ Des�ꢂiption...................................................................................... 93
A/D Conveꢂteꢂ Data Registeꢂs – ADRLꢄ ADRH ..................................................................... 9ꢃ
A/D Conveꢂteꢂ Contꢂol Registeꢂs – ADCR0ꢄ ADCR1ꢄ ACERL............................................... 9ꢃ
A/D Opeꢂation ....................................................................................................................... 98
A/D Input Pins ....................................................................................................................... 99
Suꢀꢀaꢂy of A/D Conveꢂsion Steps..................................................................................... 100
Pꢂogꢂaꢀꢀing Consideꢂations.............................................................................................. 101
A/D Tꢂansfeꢂ Fun�tion ......................................................................................................... 101
A/D Pꢂogꢂaꢀꢀing Exaꢀple................................................................................................. 102
Complementary PWM Output..................................................................... 104
Over Current and Voltage Protection ........................................................ 105
OCP/OVP Registeꢂ ............................................................................................................. 10ꢅ
OCP Operational Amplifier Offset Cancellation Function.....................................................111
OCP Coꢀpaꢂatoꢂ Offset Can�ellation Fun�tion ...................................................................112
OVP Coꢀpaꢂatoꢂ Offset Can�ellation Fun�tion....................................................................112
Rev. 1.20
ꢃ
De�eꢀꢁeꢂ 1ꢃꢄ 201ꢅ