BA45F0096
GAS Detector Flash MCU
EEPROM Registers ....................................................................................................................23
Reading Data from the EEPROM ..............................................................................................25
Writing Data to the EEPROM......................................................................................................25
Write Protection...........................................................................................................................25
EEPROM Interrupt ......................................................................................................................25
Programming Considerations......................................................................................................26
Oscillator .............................................................................................................27
Oscillator Overview .....................................................................................................................27
System Clock Configurations......................................................................................................27
Internal RC Oscillator – HIRC .....................................................................................................28
Internal 32kHz Oscillator – LIRC.................................................................................................28
Supplementary Oscillator............................................................................................................28
Operating Modes and System Clocks ..............................................................28
System Clocks ............................................................................................................................28
System Operation Modes............................................................................................................29
Control Register ..........................................................................................................................30
Operating Mode Switching..........................................................................................................32
Standby Current Considerations.................................................................................................36
Wake-up......................................................................................................................................36
Watchdog Timer..................................................................................................37
Watchdog Timer Clock Source....................................................................................................37
Watchdog Timer Control Register...............................................................................................37
Watchdog Timer Operation .........................................................................................................38
Reset and Initialisation.......................................................................................39
Reset Functions ..........................................................................................................................39
Reset Initial Conditions ...............................................................................................................42
Input/Output Ports..............................................................................................44
Pull-high Resistors ......................................................................................................................44
Port A Wake-up ...........................................................................................................................45
I/O Port Control Registers...........................................................................................................45
Pin-shared Functions ..................................................................................................................46
I/O Pin Structures........................................................................................................................48
Programming Considerations......................................................................................................48
Timer Modules – TM ...........................................................................................49
Introduction .................................................................................................................................49
TM Operation ..............................................................................................................................49
TM Clock Source.........................................................................................................................50
TM Interrupts...............................................................................................................................50
TM External Pins.........................................................................................................................50
TM Input/Output Pin Control Register.........................................................................................50
Programming Considerations......................................................................................................51
Standard Type TM – STM ...................................................................................52
Standard TM Operation...............................................................................................................52
Standard Type TM Register Description .....................................................................................53
Rev. 1.11
3
October 29, 2021