Datasheet HT45F5Q-3 (Holtek) - 4

ManufacturerHoltek
DescriptionBattery Charger Flash MCU
Pages / Page163 / 4 — HT45F5Q-3. Battery Charger Flash MCU. Timer Modules – TM ...60. Compact …
File Format / SizePDF / 2.7 Mb
Document LanguageEnglish

HT45F5Q-3. Battery Charger Flash MCU. Timer Modules – TM ...60. Compact Type TM – CTM ...63. Standard Type TM – STM ...73

HT45F5Q-3 Battery Charger Flash MCU Timer Modules – TM ...60 Compact Type TM – CTM ...63 Standard Type TM – STM ...73

Model Line for this Datasheet

Text Version of Document

link to page 60 link to page 60 link to page 60 link to page 60 link to page 61 link to page 61 link to page 62 link to page 63 link to page 63 link to page 63 link to page 67 link to page 73 link to page 73 link to page 73 link to page 78 link to page 88 link to page 88 link to page 89 link to page 89 link to page 91 link to page 91 link to page 92 link to page 93 link to page 93 link to page 94 link to page 94 link to page 95 link to page 97 link to page 97 link to page 98 link to page 99 link to page 100 link to page 100 link to page 108 link to page 117 link to page 132 link to page 132 link to page 132 link to page 133 link to page 133 link to page 134
HT45F5Q-3 HT45F5Q-3 Battery Charger Flash MCU Battery Charger Flash MCU Timer Modules – TM ...60
Introduction ...60 TM Operation ..60 TM Clock Source ...60 TM Interrupts ...61 TM External Pins ...61 Programming Considerations ..62
Compact Type TM – CTM ...63
Compact Type TM Operation ..63 Compact Type TM Register Description..63 Compact Type TM Operation Modes ..67
Standard Type TM – STM ...73
Standard TM Operation ...73 Standard Type TM Register Description ...73 Standard Type TM Operation Modes ..78
Analog to Digital Converter ...88
A/D Converter Overview ...88 A/D Converter Register Description ..89 A/D Converter Data Registers – SADOL, SADOH ..89 A/D Converter Reference Voltage ...91 A/D Converter Input Signal ...91 A/D Converter Operation ...92 Conversion Rate and Timing Diagram ..93 Summary of A/D Conversion Steps ...93 Programming Considerations ..94 A/D Conversion Function ..94 A/D Conversion Programming Examples ..95
Battery Charge Module ..97
Battery Charge Module Registers ...97 Digital to Analog Converter ...98 Operational Amplifiers ...99
Universal Serial Interface Module – USIM ..100
SPI Interface ...100 I2C Interface ..108 UART Interface.. 117
Software Controlled LCD Driver ..132
LCD Operation ..132 LCD Bias Current Control ...132
Cyclic Redundancy Check – CRC ...133
CRC Registers ..133 CRC Operation ..134 Rev. 1.00 4 July 31, 2019 Rev. 1.00 5 July 31, 2019 Document Outline Features CPU Features Peripheral Features General Description Block Diagram Pin Assignment Pin Description Absolute Maximum Ratings D.C. Characteristics Operating Voltage Characteristics Operating Current Characteristics Standby Current Characteristics A.C. Characteristics High Speed Internal Oscillator – HIRC – Frequency Accuracy Low Speed Internal Oscillator Characteristics – LIRC Operating Frequency Characteristic Curves System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics LVR Electrical Characteristics A/D Converter Electrical Characteristics D/A Converter Electrical Characteristics Operational Amplifier Electrical Characteristics Software Controlled LCD Driver Electrical Characteristics Power-on Reset Characteristics System Architecture Clocking and Pipelining Program Counter Stack Arithmetic and Logic Unit – ALU Flash Program Memory Structure Special Vectors Look-up Table Table Program Example In Circuit Programming – ICP On-Chip Debug Support – OCDS Data Memory Structure General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Registers – IAR0, IAR1 Memory Pointers – MP0, MP1 Bank Pointer – BP Accumulator – ACC Program Counter Low Register – PCL Look-up Table Registers – TBLP, TBHP, TBLH Status Register – STATUS Emulated EEPROM Data Memory Emulated EEPROM Data Memory Structure Emulated EEPROM Registers Erasing the Emulated EEPROM Writing Data to the Emulated EEPROM Reading Data from the Emulated EEPROM Programming Considerations Oscillators Oscillator Overview System Clock Configurations Internal High Speed RC Oscillator – HIRC Internal 32kHz Oscillator – LIRC Operating Modes and System Clocks System Clocks System Operation Modes Control Registers Operating Mode Switching Standby Current Considerations Wake-up Watchdog Timer Watchdog Timer Clock Source Watchdog Timer Control Register Watchdog Timer Operation Reset and Initialisation Reset Functions Reset Initial Conditions Input/Output Ports Pull-high Resistors Port A Wake-up I/O Port Control Registers Pin-shared Functions I/O Pin Structures READ PORT Function Programming Considerations Timer Modules – TM Introduction TM Operation TM Clock Source TM Interrupts TM External Pins Programming Considerations Compact Type TM – CTM Compact Type TM Operation Compact Type TM Register Description Compact Type TM Operation Modes Standard Type TM – STM Standard TM Operation Standard Type TM Register Description Standard Type TM Operation Modes Analog to Digital Converter A/D Converter Overview A/D Converter Register Description A/D Converter Data Registers – SADOL, SADOH A/D Converter Reference Voltage A/D Converter Input Signal A/D Converter Operation Conversion Rate and Timing Diagram Summary of A/D Conversion Steps Programming Considerations A/D Conversion Function A/D Conversion Programming Examples Battery Charge Module Battery Charge Module Registers Digital to Analog Converter Operational Amplifiers Universal Serial Interface Module – USIM SPI Interface I2C Interface UART Interface Software Controlled LCD Driver LCD Operation LCD Bias Current Control Cyclic Redundancy Check – CRC CRC Registers CRC Operation Interrupts Interrupt Registers Interrupt Operation External Interrupts Time Base Interrupts Multi-function Interrupts TM Interrupts A/D Converter Interrupt USIM Interrupt Interrupt Wake-up Function Programming Considerations Application Descriptions Introduction Functional Description Hardware Circuit Instruction Set Introduction Instruction Timing Moving and Transferring Data Arithmetic Operations Logical and Rotate Operation Branches and Control Transfer Bit Operations Table Read Operations Other Operations Instruction Set Summary Table Conventions Instruction Definition Package Information 24-pin SSOP (150mil) Outline Dimensions 28-pin SSOP (150mil) Outline Dimensions