Datasheet BA45F5450 (Holtek) - 4

HerstellerHoltek
Beschreibung9V High Voltage Smoke Detector Flash MCU
Seiten / Seite201 / 4 — BA45F5450. 9V High Voltage Smoke Detector Flash MCU. Input/Output Ports …
Dateiformat / GrößePDF / 3.2 Mb
DokumentenspracheEnglisch

BA45F5450. 9V High Voltage Smoke Detector Flash MCU. Input/Output Ports ..69. Timer Modules – TM ...77

BA45F5450 9V High Voltage Smoke Detector Flash MCU Input/Output Ports ..69 Timer Modules – TM ...77

Modelllinie für dieses Datenblatt

Textversion des Dokuments

link to page 69 link to page 70 link to page 70 link to page 70 link to page 71 link to page 72 link to page 76 link to page 76 link to page 77 link to page 77 link to page 77 link to page 78 link to page 78 link to page 78 link to page 79 link to page 80 link to page 80 link to page 81 link to page 85 link to page 94 link to page 94 link to page 94 link to page 100 link to page 112 link to page 113 link to page 116 link to page 116 link to page 117 link to page 117 link to page 117 link to page 118 link to page 118 link to page 118 link to page 121 link to page 122 link to page 122 link to page 123 link to page 124 link to page 125 link to page 125 link to page 125 link to page 127 link to page 127
BA45F5450 BA45F5450 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU Input/Output Ports ..69
Pull-high Resistors ..70 Port A Wake-up ...70 I/O Port Control Registers ...70 I/O Port Source Current Control ..71 Pin-shared Functions ..72 I/O Pin Structures ..76 Programming Considerations ...76
Timer Modules – TM ...77
Introduction ...77 TM Operation ..77 TM Clock Source ...78 TM Interrupts ...78 TM External Pins ...78 Programming Considerations ..79
Standard Type TM – STM ...80
Standard TM Operation ...80 Standard Type TM Register Description ...81 Standard Type TM Operation Modes ..85
Periodic Type TM – PTM ...94
Periodic TM Operation ...94 Periodic Type TM Register Description ..94 Periodic Type TM Operating Modes ..100
Smoke Detector AFE .. 112
Smoke Detector AFE Registers .. 113 Operational Amplifier Operation .. 116 Operational Amplifier Input Offset Calibration ... 116
Piezoelectric Horn Driver ... 117
Self-driving Mode .. 117 External-driving Mode ... 117
Analog to Digital Converter .. 118
A/D Converter Overview ... 118 A/D Converter Register Description .. 118 A/D Converter Operation ...121 A/D Converter Reference Voltage ...122 A/D Converter Input Signals ..122 Conversion Rate and Timing Diagram ..123 Summary of A/D Conversion Steps ..124 Programming Considerations ..125 A/D Conversion Function ..125 A/D Conversion Programming Examples ..125
Sink Current Generator ..127
Sink Current Generator Registers ...127 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. Characteristics Operating Voltage Characteristics Operating Current Characteristics Standby Current Characteristics A.C. Characteristics High Speed Internal Oscillator – HIRC – Frequency Accuracy Low Speed Internal Oscillator – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics LVD & LVR Electrical Characteristics A/D Converter Electrical Characteristics Reference Voltage Characteristics Sink Current Generator Electrical Characteristics Sink Current Generator Characteristic Curves Operational Amplifier Electrical Characteristics – Smoke Detector AFE 16-bit Voice D/A 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 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 Register – PCL Look-up Table Registers – TBLP, TBHP, TBLH Status Register – STATUS EEPROM Data Memory EEPROM Data Memory Structure EEPROM Registers Reading Data from the EEPROM Writing Data to the EEPROM Write Protection EEPROM Interrupt 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 I/O Port Source Current Control 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 Standard Type TM – STM Standard TM Operation Standard Type TM Register Description Standard Type TM Operation Modes Periodic Type TM – PTM Periodic TM Operation Periodic Type TM Register Description Periodic Type TM Operating Modes Smoke Detector AFE Smoke Detector AFE Registers Operational Amplifier Operation Operational Amplifier Input Offset Calibration Piezoelectric Horn Driver Self-driving Mode External-driving Mode Analog to Digital Converter A/D Converter Overview A/D Converter Register Description A/D Converter Operation A/D Converter Reference Voltage A/D Converter Input Signals Conversion Rate and Timing Diagram Summary of A/D Conversion Steps Programming Considerations A/D Conversion Function A/D Conversion Programming Examples Sink Current Generator Sink Current Generator Registers 16-bit Voice D/A Converter D/A Converter Registers Serial Interface Module – SIM SPI Interface I2C Interface UART Interface UART External Pins UART Data Transfer Scheme UART Status and Control Registers Baud Rate Generator UART Setup and Control UART Transmitter UART Receiver Managing Receiver Errors UART Interrupt Structure UART Power Down and Wake-up Low Voltage Detector – LVD LVD Register LVD Operation Interrupts Interrupt Registers Interrupt Operation External Interrupts A/D Converter Interrupt Time Base Interrupts Multi-function Interrupt SIM Interrupt UART Interrupt LVD Interrupt EEPROM Interrupt TM 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 Extended Instruction Set Instruction Definition Extended Instruction Definition Package Information 20-pin SOP (300mil) Outline Dimensions 24-pin SOP (300mil) Outline Dimensions 28-pin SOP (300mil) Outline Dimensions