Reset and Initialisation ....................................................................................... 86
Reset Functions ..........................................................................................................................87
Reset Initial Conditions ...............................................................................................................90
Input/Output Ports .............................................................................................. 95
Pull-high Resistors ......................................................................................................................97
Port A Wake-up ...........................................................................................................................97
I/O Port Control Registers ...........................................................................................................97
I/O Port Source Current Selection ...............................................................................................98
I/O Port Sink Current Selection ...................................................................................................99
I/O Port Power Source Control ..................................................................................................102
Pin-shared Functions ................................................................................................................102
I/O Pin Structures ...................................................................................................................... 116
Programming Considerations .................................................................................................... 116
Timer Modules – TM ......................................................................................... 117
Introduction ............................................................................................................................... 117
TM Operation ............................................................................................................................ 117
TM Clock Source ....................................................................................................................... 117
TM Interrupts ............................................................................................................................. 118
TM External Pins ....................................................................................................................... 118
Programming Considerations .................................................................................................... 119
Compact Type TM – CTM ................................................................................. 120
Compact Type TM Operation ....................................................................................................120
Compact Type TM Register Description....................................................................................121
Compact Type TM Operating Modes ........................................................................................125
Standard Type TM – STM ................................................................................. 131
Standard TM Operation .............................................................................................................131
Standard Type TM Register Description ...................................................................................131
Standard Type TM Operation Modes ........................................................................................136
Periodic Type TM – PTM ................................................................................... 146
Periodic TM Operation .............................................................................................................146
Periodic Type TM Register Description ....................................................................................146
Periodic Type TM Operating Modes .........................................................................................151
Analog to Digital Converter ............................................................................. 160
A/D Converter Overview ...........................................................................................................160
A/D Converter Register Description ..........................................................................................161
A/D Converter Reference Voltage .............................................................................................163
A/D Converter Input Signals ......................................................................................................163
A/D Converter Operation ...........................................................................................................164
Conversion Rate and Timing Diagram ......................................................................................165
Summary of A/D Conversion Steps ...........................................................................................166
Programming Considerations ....................................................................................................167
A/D Transfer Function ...............................................................................................................167
A/D Programming Examples .....................................................................................................167
Rev. 1.11
BS66F340C/BS66F350C/BS66F360C
Touch A/D Flash MCU
4
November 09, 2023
Need help?
Do you have a question about the BS66F340C and is the answer not in the manual?
Questions and answers