Rev. 1.00
78
March 24, 2020
Rev. 1.00
79
March 24, 2020
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
Start
Write Ref. OSC internal
Capacitor value
to Data Memory (Bank 6 )
Touch Key Auto Scan Operation Start
Set Start bit TKST 0
1
Busy flag TKBUSY=1
All Time Slot
Counter overflow ?
No
Initiate Time Slot &
16-bit C/F Counter
All Time Slot counter &
16-bit C/F counter
start to count
Time Slot &
16-bit C/F Counter
keep counting
Yes
TKRCOV = 1
Generate Interrupt
request flag
Read C/F counter value from
Data Memory (Bank 5)
Touch key scan end
Set TKST bit 1
0
End
Load Ref. OSC internal
Capacitor value from
Data Memory (Bank 6 )
Store C/F counter value to
Data Memory (Bank 5 )
All key scan finish ?
Yes
No
Touch key busy flag
TKBUSY=0
Change next key
Touch Key Auto Scan Mode Flowchart