BP45F4MB
Power Bank Flash MCU
Special Function Register Description.............................................................25
Indirect Addressing Registers – IAR0, IAR1 ...............................................................................25
Memory Pointers – MP0, MP1 ....................................................................................................25
Accumulator – ACC.....................................................................................................................26
Program Counter Low Register – PCL........................................................................................26
Look-up Table Registers – TBLP, TBHP, TBLH...........................................................................26
Status Register – STATUS..........................................................................................................26
Oscillators ...........................................................................................................28
Oscillator Overview .....................................................................................................................28
System Clock Configurations......................................................................................................28
Internal High Speed RC Oscillator – HIRC .................................................................................28
Internal 32kHz Oscillator – LIRC.................................................................................................29
Operating Modes and System Clocks ..............................................................29
System Clocks ............................................................................................................................29
System Operation Modes............................................................................................................30
Control Registers ........................................................................................................................31
Operating Mode Switching..........................................................................................................32
Standby Current Considerations.................................................................................................35
Wake-up......................................................................................................................................36
Watchdog Timer..................................................................................................36
Watchdog Timer Clock Source....................................................................................................36
Watchdog Timer Control Register...............................................................................................36
Watchdog Timer Operation .........................................................................................................37
Reset and Initialisation.......................................................................................38
Reset Functions ..........................................................................................................................38
Reset Initial Conditions ...............................................................................................................40
Input/Output Ports..............................................................................................43
Pull-high Resistors ......................................................................................................................43
Port A Wake-up ...........................................................................................................................44
I/O Port Control Registers...........................................................................................................44
Pin-shared Functions ..................................................................................................................45
I/O Pin Structure..........................................................................................................................48
Programming Considerations......................................................................................................48
Timer Modules – TM ...........................................................................................49
Introduction .................................................................................................................................49
TM Operation ..............................................................................................................................49
TM Clock Source.........................................................................................................................49
TM Interrupts...............................................................................................................................50
TM External Pins.........................................................................................................................50
Programming Considerations......................................................................................................51
Standard Type TM – STM ...................................................................................52
Standard Type TM Operation......................................................................................................52
Standard Type TM Register Description .....................................................................................52
Standard Type TM Operation Modes..........................................................................................56
Rev. 1.10
3
November 11, 2019