Datasheet BP45F4NB, BP45FH4NB (Holtek) - 5

HerstellerHoltek
BeschreibungPower Bank Flash MCU
Seiten / Seite206 / 5 — BP45F4NB/BP45FH4NB. Power Bank Flash MCU. Over/Under Voltage Protection …
Dateiformat / GrößePDF / 3.1 Mb
DokumentenspracheEnglisch

BP45F4NB/BP45FH4NB. Power Bank Flash MCU. Over/Under Voltage Protection ..158. USB Auto Detection ..163. Interrupts ...166

BP45F4NB/BP45FH4NB Power Bank Flash MCU Over/Under Voltage Protection ..158 USB Auto Detection ..163 Interrupts ...166

Modelllinie für dieses Datenblatt

Textversion des Dokuments

link to page 158 link to page 158 link to page 159 link to page 161 link to page 163 link to page 163 link to page 164 link to page 166 link to page 166 link to page 170 link to page 171 link to page 172 link to page 172 link to page 172 link to page 172 link to page 172 link to page 173 link to page 173 link to page 174 link to page 175 link to page 176 link to page 176 link to page 177 link to page 177 link to page 178 link to page 179 link to page 180 link to page 180 link to page 180 link to page 180 link to page 180 link to page 181 link to page 181 link to page 181 link to page 181 link to page 181 link to page 182 link to page 182 link to page 184 link to page 186 link to page 195
BP45F4NB/BP45FH4NB BP45F4NB/BP45FH4NB Power Bank Flash MCU Power Bank Flash MCU Over/Under Voltage Protection ..158
OUVP Circuit Operation ..158 OUVP Register Description ...159 OVP and UVP Comparator Offset calibration ...161
USB Auto Detection ..163
D1+/D1- and D2+/D2- for Auto Detection ..163 USB Auto Detection Registers ..164
Interrupts ...166
Interrupt Registers ...166 Interrupt Operation ..170 External Interrupts ...171 A/D Converter Interrupt ...172 Over Current Protection Interrupt ..172 Over Voltage Protection Interrupt ..172 Under Voltage Protection Interrupts ...172 Multi-function Interrupts ...172 Timer Module Interrupts ..173 USIM Interrupt ...173 Time Base Interrupts ...174 LVD Interrupt ...175 Interrupt Wake-up Function ...176 Programming Considerations ..176
Low Voltage Detector – LVD ..177
LVD Register ...177 LVD Operation ...178
Application Circuits ..179 Instruction Set ...180
Introduction ...180 Instruction Timing ..180 Moving and Transferring Data ...180 Arithmetic Operations ..180 Logical and Rotate Operation ...181 Branches and Control Transfer ...181 Bit Operations ...181 Table Read Operations ...181 Other Operations ...181
Instruction Set Summary ...182
Table Conventions ...182 Extended Instruction Set ...184
Instruction Definition ..186
Extended Instruction Definition ...195 Rev. 1.00 4 December 07, 2020 Rev. 1.00 5 December 07, 2020 Document Outline Features CPU Features Peripheral Features General Description Selection Table Block Diagram Pin Assignment Pin Description Level Shift Input/Output Relationship and Reset Condition 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 Input/Output (without Multi-power) D.C Characteristics Input/Output (with Multi-power) D.C Characteristics Memory Characteristics LVR/LVD Electrical Characteristics A/D Converter Electrical Characteristics Over/Under Voltage Protection Electrical Characteristics Over Current Protection Electrical Characteristics USB Auto Detection Electrical Characteristics LDO Regulator Electrical Characteristics Level Converter 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 In Application Programming – IAP Data Memory Structure Data Memory Addressing General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Registers – IAR0, IAR1, IAR2 Memory Pointers – MP0, MP1L/MP1H, MP2L/MP2H Accumulator – ACC Program Counter Low Byte Register – PCL Look-up Table Registers – TBLP, TBHP, TBLH Option Memory Mapping Register – ORMC Status Register – STATUS 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 I/O Port Power Source Control I/O Port Source Current Control Pin-shared Functions I/O Pin Structure 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 Operating Modes Periodic Type TM – PTM Periodic Type TM Operation Periodic Type TM Register Description Periodic Type TM Operation Modes Complementary PWM Output with Dead Time Dead Time Insertion Complementary PWM Registers Analog to Digital Converter A/D Converter Overview A/D Converter Register Description A/D Converter Reference Voltage A/D Converter Input Signals 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 Universal Serial Interface Module – USIM SPI Interface I2C Interface UART Interface Over Current Protection Over Current Protection Operation Over Current Protection Registers Input Voltage Range OCP OPA and Comparator Offset Calibration Over/Under Voltage Protection OUVP Circuit Operation OUVP Register Description OVP and UVP Comparator Offset calibration USB Auto Detection D1+/D1- and D2+/D2- for Auto Detection USB Auto Detection Registers Interrupts Interrupt Registers Interrupt Operation External Interrupts A/D Converter Interrupt Over Current Protection Interrupt Over Voltage Protection Interrupt Under Voltage Protection Interrupts Multi-function Interrupts Timer Module Interrupts USIM Interrupt Time Base Interrupts LVD Interrupt Interrupt Wake-up Function Programming Considerations Low Voltage Detector – LVD LVD Register LVD Operation Application Circuits 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 Extended Instruction Set Instruction Definition Extended Instruction Definition Package Information 24-pin SSOP (150mil) Outline Dimensions 28-pin SSOP (150mil) Outline Dimensions SAW Type 28-pin QFN (4mm×4mm) Outline Dimensions