Datasheet BA45F5440 (Holtek) - 3

FabricanteHoltek
Descripción9V High Voltage Smoke Detector Flash MCU
Páginas / Página181 / 3 — BA45F5440. 9V High Voltage Smoke Detector Flash MCU. Data Memory ...26. …
Formato / tamaño de archivoPDF / 2.9 Mb
Idioma del documentoInglés

BA45F5440. 9V High Voltage Smoke Detector Flash MCU. Data Memory ...26. Special Function Register Description ...29

BA45F5440 9V High Voltage Smoke Detector Flash MCU Data Memory ...26 Special Function Register Description ...29

Línea de modelo para esta hoja de datos

Versión de texto del documento

link to page 26 link to page 26 link to page 27 link to page 27 link to page 27 link to page 29 link to page 29 link to page 29 link to page 30 link to page 31 link to page 31 link to page 31 link to page 33 link to page 33 link to page 33 link to page 35 link to page 35 link to page 35 link to page 35 link to page 36 link to page 37 link to page 37 link to page 37 link to page 38 link to page 38 link to page 38 link to page 38 link to page 39 link to page 40 link to page 42 link to page 45 link to page 45 link to page 46 link to page 46 link to page 46 link to page 47 link to page 48 link to page 48 link to page 50 link to page 53 link to page 53 link to page 54 link to page 54
BA45F5440 BA45F5440 9V High Voltage Smoke Detector Flash MCU 9V High Voltage Smoke Detector Flash MCU Data Memory ...26
Structure ..26 Data Memory Addressing ..27 General Purpose Data Memory ..27 Special Purpose Data Memory ...27
Special Function Register Description ...29
Indirect Addressing Registers – IAR0, IAR1, IAR2 ...29 Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H ...29 Accumulator – ACC ..30 Program Counter Low Register – PCL ..31 Look-up Table Registers – TBLP, TBHP, TBLH ..31 Status Register – STATUS ...31
EEPROM Data Memory ...33
EEPROM Data Memory Structure ..33 EEPROM Registers ..33 Reading Data from the EEPROM ...35 Writing Data to the EEPROM ..35 Write Protection ...35 EEPROM Interrupt ..35 Programming Considerations ..36
Oscillators ...37
Oscillator Overview ...37 System Clock Configurations ..37 Internal High Speed RC Oscillator – HIRC ...38 Internal 32kHz Oscillator – LIRC ...38
Operating Modes and System Clocks ..38
System Clocks ..38 System Operation Modes ..39 Control Registers ..40 Operating Mode Switching ..42 Standby Current Considerations ...45 Wake-up ..45
Watchdog Timer ..46
Watchdog Timer Clock Source ..46 Watchdog Timer Control Register ...46 Watchdog Timer Operation ...47
Reset and Initialisation ...48
Reset Functions ..48 Reset Initial Conditions ...50
Input/Output Ports ..53
Pull-high Resistors ..53 Port A Wake-up ...54 I/O Port Control Registers ...54 Rev. 1.00 2 September 03, 2020 Rev. 1.00 3 September 03, 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 Frequency Accuracy Low Speed Internal Oscillator Characteristics – LIRC System Start Up Time Characteristics Input/Output Characteristics Memory Characteristics LVD & LVR Electrical Characteristics A/D Converter Electrical Characteristics Internal Reference Voltage Characteristics Sink Current Generator Electrical Characteristics Operational Amplifier Electrical Characteristics – Smoke Detector AFE 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 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 Source Current Selection 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 Operation Modes Smoke Detector AFE Smoke Detector AFE Registers 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 Universal Serial Interface Module – USIM SPI Interface I2C Interface UART Interface Low Voltage Detector – LVD LVD Register LVD Operation Interrupts Interrupt Registers Interrupt Operation External Interrupt A/D Converter Interrupt Time Base Interrupts USIM 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 20-pin SSOP (150mil) Outline Dimensions