Rev. 1.20 4 January 23, 2015 Rev. 1.20 5 January 23, 2015
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
BS82B12A-3/BS82C16A-3/BS82D20A-3
Touch Key 8-Bit Flash MCU with LED/LCD Driver
Managing Receiver Errors .................................................................................................. 129
UART Module Interrupt Structure ........................................................................................ 130
Address Detect Mode .......................................................................................................... 131
UART Power Down and Wake-up ....................................................................................... 132
Interrupts ...................................................................................................... 133
Interrupt Registers ............................................................................................................... 133
Interrupt Operation .............................................................................................................. 136
External Interrupt ................................................................................................................. 137
Time Base Interrupts ........................................................................................................... 138
TM Interrupts ....................................................................................................................... 139
EEPROM Interrupt .............................................................................................................. 139
LVD Interrupt ....................................................................................................................... 140
Touch Key Interrupt ............................................................................................................. 140
I
2
C Interrupt ......................................................................................................................... 140
UART Interrupt ................................................................................................................... 140
Interrupt Wake-up Function ................................................................................................. 141
Programming Considerations .............................................................................................. 141
SCOM and SSEG Function for LCD ........................................................... 142
LCD Operation .................................................................................................................... 142
LCD Bias Control ................................................................................................................ 144
Low Voltage Detector – LVD ....................................................................... 146
LVD Register ....................................................................................................................... 146
LVD Operation ..................................................................................................................... 147
Conguration Options ................................................................................. 148
Application Circuit
....................................................................................... 149
Instruction Set
.............................................................................................. 150
Introduction ......................................................................................................................... 150
Instruction Timing ................................................................................................................ 150
Moving and Transferring Data ............................................................................................. 150
Arithmetic Operations .......................................................................................................... 150
Logical and Rotate Operation ............................................................................................. 151
Branches and Control Transfer ........................................................................................... 151
Bit Operations ..................................................................................................................... 151
Table Read Operations ....................................................................................................... 151
Other Operations ................................................................................................................. 151
Instruction Set Summary ............................................................................ 152
Table Conventions ............................................................................................................... 152
Instruction Denition ................................................................................... 154
Package Information
................................................................................... 163
20-pin SOP (300mil) Outline Dimensions ........................................................................... 164
24-pin SOP(300mil) Outline Dimensions ............................................................................ 165
28-pin SOP (300mil) Outline Dimensions ........................................................................... 166
28-pin SSOP (150mil) Outline Dimensions ......................................................................... 167