BS85B12-3/BS85C20-3/BS85C20-5
Touch Key Flash MCU with LCD/LED Driver
I2C Interface ........................................................................................................................ 127
I2C Reꢁisters ....................................................................................................................... 128
I2C Bꢀs Commꢀnication ...................................................................................................... 132
I2C Bꢀs Start Siꢁnal............................................................................................................. 132
Slave �ddress ..................................................................................................................... 133
I2C Bꢀs Read/Write Siꢁnal .................................................................................................. 133
I2C Bꢀs Slave �ddress �cknowledꢁe Siꢁnal....................................................................... 134
I2C Bꢀs Data and �cknowledꢁe Siꢁnal ............................................................................... 134
I2C Time-oꢀt Control............................................................................................................ 135
Peripheral Clock Output.............................................................................. 136
Peripheral Clock Operation................................................................................................. 136
Interrupts...................................................................................................... 137
Interrꢀpt Reꢁisters............................................................................................................... 137
Interrꢀpt Reꢁister Contents................................................................................................. 138
Interrꢀpt Operation.............................................................................................................. 144
External Interrꢀpt................................................................................................................. 146
Mꢀlti-fꢀnction Interrꢀpt ........................................................................................................ 146
Time Base Interrꢀpts........................................................................................................... 146
External Peripheral Interrꢀpt ............................................................................................... 148
LVD Interrꢀpt....................................................................................................................... 149
TM Interrꢀpts....................................................................................................................... 149
EEPROM Interrꢀpt .............................................................................................................. 149
Toꢀch Key Interrꢀpts ........................................................................................................... 149
SIM Interrꢀpt ....................................................................................................................... 150
Interrꢀpt Wake-ꢀp Fꢀnction................................................................................................. 150
Proꢁramminꢁ Considerations.............................................................................................. 150
Low Voltage Detector – LVD ....................................................................... 151
LVD Reꢁister....................................................................................................................... 151
LVD Operation..................................................................................................................... 152
LCD Driver – SCOM and SSEG Function................................................... 152
LCD Operation .................................................................................................................... 152
LCD Bias Control ................................................................................................................ 154
LCD Driver Reꢁisters .......................................................................................................... 154
LED Driver .................................................................................................... 156
LED Driver Operation.......................................................................................................... 156
LED Driver Reꢁisters .......................................................................................................... 156
Application Circuits..................................................................................... 157
Instruction Set.............................................................................................. 158
Introdꢀction ......................................................................................................................... 158
Instrꢀction Timinꢁ................................................................................................................ 158
Movinꢁ and Transferrinꢁ Data............................................................................................. 158
�rithmetic Operations.......................................................................................................... 158
Loꢁical and Rotate Operation ............................................................................................. 159
Rev. 1.20
5
�ꢀꢁꢀst 10ꢂ 2012