Rev. 1.40 4 December 15, 2016 Rev. 1.40 5 December 15, 2016
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
BS67F340/BS67F350/BS67F360/BS67F370
Enhanced Touch A/D Flash MCU with LCD Driver
UART Interface ................................................................................................. 195
UART External Pin ...................................................................................................................196
UART Data Transfer Scheme...................................................................................................196
UART Status and Control Registers.........................................................................................196
Baud Rate Generator ...............................................................................................................202
UART Setup and Control..........................................................................................................203
UART Transmitter.....................................................................................................................204
UART Receiver ........................................................................................................................205
Managing Receiver Errors .......................................................................................................207
UART Interrupt Structure..........................................................................................................208
UART Power Down and Wake-up ............................................................................................209
LCD Driver ........................................................................................................ 210
LCD Memory ............................................................................................................................ 211
LCD Clock Source ....................................................................................................................213
LCD Register ............................................................................................................................213
LCD Voltage Source and Biasing ............................................................................................. 215
LCD Reset Function ................................................................................................................. 216
LCD Driver Output ....................................................................................................................217
Programming Considerations ...................................................................................................220
Touch Key Function ........................................................................................ 220
Touch Key Structure ................................................................................................................. 220
Touch Key Register Deî‚¿nition ..................................................................................................223
Touch Key Operation ................................................................................................................230
Touch Key Interrupt ..................................................................................................................237
Progrsmming Considerations ................................................................................................... 237
Low Voltage Detector – LVD ........................................................................... 238
LVD Register ............................................................................................................................238
LVD Operation .......................................................................................................................... 239
Interrupts .......................................................................................................... 240
Interrupt Registers ....................................................................................................................240
Interrupt Operation ...................................................................................................................247
External Interrupt ......................................................................................................................248
Touch Key Interrupt ..................................................................................................................249
UART Transfer Interrupt ...........................................................................................................249
A/D Converter Interrupt ............................................................................................................249
Multi-function Interrupt .............................................................................................................249
Time Base Interrupt .................................................................................................................. 250
Serial Interface Module Interrupt .............................................................................................. 252
LVD Interrupt ............................................................................................................................252
EEPROM Interrupt ...................................................................................................................252
TM Interrupt .............................................................................................................................. 252
Interrupt Wake-up Function ...................................................................................................... 253
Programming Considerations ...................................................................................................253