
Rev. 1.00 2 February 07, 2018 Rev. 1.00 3 February 07, 2018
BS83B24C/BS83C40C
Touch Flash MCU
BS83B24C/BS83C40C
Touch Flash MCU
Special Function Register Description........................................................ 35
Indirect Addressing Registers – IAR0, IAR1, IAR2 ............................................................... 35
Memory Pointers – MP0, MP1L, MP1H, MP2L, MP2H......................................................... 35
Accumulator – ACC .............................................................................................................. 36
Program Counter Low Register – PCL ................................................................................. 37
Look-up Table Registers – TBLP, TBHP, TBLH .................................................................... 37
Status Register – STATUS.................................................................................................... 37
EEPROM Data Memory.................................................................................. 39
EEPROM Data Memory Structure ........................................................................................ 39
EEPROM Registers .............................................................................................................. 39
Reading Data from the EEPROM ......................................................................................... 40
Writing Data to the EEPROM................................................................................................ 41
Write Protection..................................................................................................................... 41
EEPROM Interrupt ................................................................................................................ 41
Programming Considerations................................................................................................ 41
Oscillators ...................................................................................................... 43
Oscillator Overview ............................................................................................................... 43
System Clock Congurations................................................................................................ 43
Internal RC Oscillator – HIRC ............................................................................................... 44
External 32.768kHz Crystal Oscillator – LXT ........................................................................ 44
Internal 32kHz Oscillator – LIRC........................................................................................... 45
Operating Modes and System Clocks ......................................................... 46
System Clocks ...................................................................................................................... 46
System Operation Modes...................................................................................................... 47
Control Registers .................................................................................................................. 48
Operating Mode Switching .................................................................................................... 50
Standby Current Considerations ........................................................................................... 54
Wake-up................................................................................................................................ 54
Watchdog Timer............................................................................................. 55
Watchdog Timer Clock Source.............................................................................................. 55
Watchdog Timer Control Register ......................................................................................... 55
Watchdog Timer Operation ................................................................................................... 56
Reset and Initialisation ................................................................................. 57
Reset Functions .................................................................................................................... 57
Reset Initial Conditions ........................................................................................................ 60
Input/Output Ports ........................................................................................ 65
Pull-high Resistors ................................................................................................................ 66
Port A Wake-up ..................................................................................................................... 66
I/O Port Control Registers ..................................................................................................... 67
I/O Port Source Current Control............................................................................................ 67
Pin-shared Functions ............................................................................................................ 69
I/O Pin Structures.................................................................................................................. 75
Programming Considerations ............................................................................................... 75