BS83A04A-3/BS83A04A-4
8-bit Touch Key Flash MCU
Oscillators ...................................................................................................... 23
Oscillatoꢁ Oveꢁview ............................................................................................................... ꢄꢇ
Sꢃstem Clock Configuratios.................................................................................................. ꢄꢇ
Inteꢁnal RC Oscillatoꢁ – HIRC ............................................................................................... ꢄꢇ
Inteꢁnal ꢇꢄkHZ Oscillatoꢁ – LIRC .......................................................................................... ꢄꢇ
Operating Modes and System Clocks ......................................................... 24
Sꢃstem Clocks ...................................................................................................................... ꢄ4
Contꢁol Registeꢁ .................................................................................................................... ꢄ5
Sꢃstem Opeꢁation Modes...................................................................................................... ꢄ6
Opeꢁating Mode Switching.................................................................................................... ꢄ7
NORMAL Mode to SLOW Mode Switching .......................................................................... ꢄꢅ
SLOW Mode to NORMAL Mode Switching........................................................................... ꢄ9
Enteꢁing the SLEEP Mode .................................................................................................... ꢄ9
Enteꢁing the IDLE0 Mode...................................................................................................... ꢄ9
Enteꢁing the IDLE1 Mode...................................................................................................... ꢄ9
Standꢀꢃ Cꢂꢁꢁent Consideꢁations........................................................................................... ꢇ0
Wake-ꢂp................................................................................................................................ ꢇ0
Pꢁogꢁamming Consideꢁations................................................................................................ ꢇ1
Watchdog Timer............................................................................................. 31
Watchdog Timeꢁ Clock Soꢂꢁce.............................................................................................. ꢇ1
Watchdog Timeꢁ Contꢁol Registeꢁ......................................................................................... ꢇ1
Watchdog Timeꢁ Opeꢁation ................................................................................................... ꢇꢄ
Reset and Initialisation.................................................................................. 33
Reset �ꢂnctions .................................................................................................................... ꢇꢇ
Reset Initial Conditions ......................................................................................................... ꢇ5
Input/Output Ports......................................................................................... 37
Pꢂll-high Resistoꢁs ................................................................................................................ ꢇ7
Poꢁt A Wake-ꢂp ..................................................................................................................... ꢇꢅ
I/O Poꢁt Contꢁol Registeꢁs..................................................................................................... ꢇꢅ
I/O Pin Stꢁꢂctꢂꢁes.................................................................................................................. ꢇ9
Pꢁogꢁamming Consideꢁations................................................................................................ ꢇ9
Timer/Event Counters ................................................................................... 40
Configuring the Timer/Event Counter Input Clock Source .................................................... 40
Timeꢁ Registeꢁ – TMR........................................................................................................... 40
Timeꢁ Contꢁol Registeꢁ – TMRC............................................................................................ 40
Timeꢁ/Event Coꢂnteꢁ Opeꢁation ............................................................................................ 41
Pꢁescaleꢁ............................................................................................................................... 41
Pꢁogꢁamming Consideꢁation ................................................................................................. 41
Rev. 1.00
ꢇ
�eꢀꢁꢂaꢁꢃ ꢄꢅꢆ ꢄ01ꢇ