BS85B12-3 HOLTEK [Holtek Semiconductor Inc], BS85B12-3 Datasheet - Page 4

no-image

BS85B12-3

Manufacturer Part Number
BS85B12-3
Description
Touch Key Flash Type 8-Bit MCU with LCD/LED Driver
Manufacturer
HOLTEK [Holtek Semiconductor Inc]
Datasheet
Input/Output Ports.............................................................................49
Timer Modules - TM..........................................................................57
Compact Type TM - CTM..................................................................63
Standard Type TM - STM..................................................................72
Enhanced Type TM - ETM ................................................................84
Touch Key Function ........................................................................105
I/O Register List....................................................................................................49
Pull-high Resistors................................................................................................50
Port A Wake-up ....................................................................................................51
I/O Port Control Register ......................................................................................51
Pin Re-mapping Functions ...................................................................................52
I/O Pin Structures .................................................................................................56
Programming Considerations ...............................................................................56
Introduction ..........................................................................................................57
TM Operation .......................................................................................................57
TM Clock Source..................................................................................................58
TM Interrupts ........................................................................................................58
TM External Pins ..................................................................................................58
TM Input/Output Pin Control Registers .................................................................60
Programming Considerations ...............................................................................62
Compact TM Operation ........................................................................................63
Compact Type TM Register Description ...............................................................64
Compact Type TM Operating Modes ....................................................................67
Compare Match Output Mode ..............................................................................67
Timer/Counter Mode.............................................................................................69
PWM Output Mode...............................................................................................70
Standard TM Operation ........................................................................................72
Standard Type TM Register Description ...............................................................73
Standard Type TM Operating Modes....................................................................77
Enhanced TM Operation ......................................................................................84
Enhanced Type TM Register Description..............................................................85
Enhanced Type TM Operating Modes ..................................................................90
Compare Output Mode .........................................................................................91
Timer/Counter Mode.............................................................................................95
PWM Output Mode...............................................................................................95
Single Pulse Output Mode ..................................................................................101
Capture Input Mode............................................................................................103
Touch Key Structure ...........................................................................................105
Touch Key Register Definition.............................................................................105
Touch Key Operation ..........................................................................................110
Touch Key Interrupt.............................................................................................110
Programming Considerations .............................................................................110
iii
Contents

Related parts for BS85B12-3