BS87B12A-3/BS87C16A-3/BS87D20A-3
Touch A/D Flash MCU with OCVP
UART Interface............................................................................................. 145
UART External Pins ............................................................................................................ 145
UART Data Transfer Scheme.............................................................................................. 146
UART Status and Control Registers.................................................................................... 146
Baud Rate Generator.......................................................................................................... 151
UART Setup and Control..................................................................................................... 152
UART Transmitter................................................................................................................ 153
UART Receiver ................................................................................................................... 155
Managing Receiver Errors .................................................................................................. 156
UART Interrupt Structure..................................................................................................... 157
UART Power Down and Wake-up....................................................................................... 159
Over Current/Voltage Protection Function – OCVP.................................. 160
OCVP Operation ................................................................................................................. 160
OCVP Control Registers ..................................................................................................... 161
Input Voltage Range............................................................................................................ 165
Input Offset Cancellation..................................................................................................... 166
OCVP Interrupt.................................................................................................................... 167
Programming Considerations.............................................................................................. 167
Software Controlled LCD Driver................................................................. 168
LCD Operation .................................................................................................................... 168
LCD Control Registers ........................................................................................................ 170
Low Voltage Detector – LVD ....................................................................... 173
LVD Register....................................................................................................................... 173
LVD Operation..................................................................................................................... 174
Interrupts...................................................................................................... 175
Interrupt Registers............................................................................................................... 175
Interrupt Operation.............................................................................................................. 181
External Interrupt................................................................................................................. 185
Touch Key Module Interrupt ................................................................................................ 185
OCVP Interrupt.................................................................................................................... 185
TM Interrupts....................................................................................................................... 185
Multi-function Interrupt – BS87C16A-3 & BS87D20A-3...................................................... 186
Serial Interface Module Interrupt......................................................................................... 186
EEPROM Interrupt .............................................................................................................. 187
UART Transfer Interrupt...................................................................................................... 187
LVD Interrupt....................................................................................................................... 187
A/D Converter Interrupt....................................................................................................... 187
Time Base Interrupts........................................................................................................... 188
Interrupt Wake-up Function................................................................................................. 189
Programming Considerations.............................................................................................. 190
Configuration Options................................................................................. 191
Application Circuits..................................................................................... 192
Rev. 1.40
5
January 11, 2022