Datasheet BA45F5420 (Holtek) - 4

FabricanteHoltek
Descripción9V High Voltage Smoke Detector Flash MCU
Páginas / Página112 / 4 — BA45F5420. 9V High Voltage Smoke Detector Flash MCU. Timer Modules – TM …
Formato / tamaño de archivoPDF / 2.1 Mb
Idioma del documentoInglés

BA45F5420. 9V High Voltage Smoke Detector Flash MCU. Timer Modules – TM ...52. Periodic Type TM – PTM ...55

BA45F5420 9V High Voltage Smoke Detector Flash MCU Timer Modules – TM ...52 Periodic Type TM – PTM ...55

Línea de modelo para esta hoja de datos

Versión de texto del documento

link to page 50 link to page 51 link to page 52 link to page 52 link to page 52 link to page 52 link to page 52 link to page 53 link to page 53 link to page 55 link to page 55 link to page 55 link to page 61 link to page 73 link to page 73 link to page 76 link to page 77 link to page 78 link to page 78 link to page 79 link to page 82 link to page 82 link to page 82 link to page 83 link to page 84 link to page 85 link to page 85 link to page 86 link to page 87 link to page 87 link to page 89 link to page 90 link to page 90 link to page 91 link to page 91 link to page 92 link to page 93 link to page 94 link to page 94 link to page 95 link to page 96 link to page 96 link to page 96
BA45F5420 BA45F5420 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU
I/O Pin Structures ..50 Programming Considerations ..51
Timer Modules – TM ...52
Introduction ...52 TM Operation ..52 TM Clock Source ...52 TM Interrupts ...52 TM External Pins ...53 Programming Considerations ..53
Periodic Type TM – PTM ...55
Periodic Type TM Operation..55 Periodic Type TM Register Description ..55 Periodic Type TM Operating Modes ...61
Smoke Detector AFE ..73
Smoke Detector AFE Registers ..73 Operational Amplifier Operation ..76
Piezoel Horn Driver ...77 Analog to Digital Converter ...78
A/D Overview ..78 Registers Descriptions ..79 A/D Converter Reference Voltage ...82 A/D Converter Input Signals ..82 A/D Converter Operation ...82 Conversion Rate and Timing Diagram ..83 Summary of A/D Conversion Steps ...84 Programming Considerations ..85 A/D Transfer Function ...85 A/D Programming Examples ...86
Interrupts ...87
Interrupt Registers ...87 Interrupt Operation ..89 External Interrupt ...90 Timer Module Interrupts ..90 A/D Converter Interrupt ...91 Time Base Interrupts ...91 Interrupt Wake-up Function ...92 Programming Considerations ..93
Application Circuits ..94
External-driving Buzzer Application Circuit ...94 Self-driving Buzzer Application Circuit ..95
Instruction Set ...96
Introduction ...96 Instruction Timing ..96 Rev. 1.00 4 June 15, 2020 Rev. 1.00 5 June 15, 2020 Document Outline Features CPU Features Peripheral Features General Description Block Diagram Pin Assignment Pin Description Absolute Maximum Ratings D.C. Electrical Characteristics Operating Voltage Characteristics Standby Current Characteristics Operating Current Characteristics A.C. Electrical Characteristics High Speed Internal Oscillator – HIRC – Frequency Accuracy Low Speed Internal Oscillator Characteristics – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics Internal Reference Voltage Electrical Characteristics LVR Electrical Characteristics Sink Current Generator Electrical Characteristics Operational Amplifier Electrical Characteristics A/D Converter Electrical Characteristics LDO Electrical Characteristics Piezoelectric Horn Driver 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 RAM Data Memory Structure General Purpose Data Memory Special Purpose Data Memory Special Function Register Description Indirect Addressing Register – IAR0, IAR1 Memory Pointers – MP0, MP1 Accumulator – ACC Program Counter Low Register – PCL Look-up Table Registers – TBLP, 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 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 Sink Current Generator Pin-shared Functions I/O Pin Structures Programming Considerations Timer Modules – TM Introduction TM Operation TM Clock Source TM Interrupts TM External Pins Programming Considerations Periodic Type TM – PTM Periodic Type TM Operation Periodic Type TM Register Description Periodic Type TM Operating Modes Smoke Detector AFE Smoke Detector AFE Registers Operational Amplifier Operation Piezoel Horn Driver Analog to Digital Converter A/D Overview Registers Descriptions 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 Transfer Function A/D Programming Examples Interrupts Interrupt Registers Interrupt Operation External Interrupt Timer Module Interrupts A/D Converter Interrupt Time Base Interrupts Interrupt Wake-up Function Programming Considerations Application Circuits External-driving Buzzer Application Circuit Self-driving Buzzer Application 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 16-pin NSOP (150mil) Outline Dimensions 20-pin SOP (300mil) Outline Dimensions