
Rev. 1.10
98
March 02, 2020
Rev. 1.10
99
March 02, 2020
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
• TKM0THS Register
Bit
7
6
5
4
3
2
1
0
Name M0K4THF M0K3THF M0K2THF M0K1THF M0K4THS M0K3THS M0K2THS M0K1THS
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
0
0
0
0
0
0
0
Bit 7
M0K4THF
: Touch key module 0 KEY4 upper/lower threshold comparison flag
0: Not less than lower threshold or not larger than upper threshold
1: Less than lower threshold or larger than upper threshold
Bit 6
M0K3THF
: Touch key module 0 KEY3 upper/lower threshold comparison flag
0: Not less than lower threshold or not larger than upper threshold
1: Less than lower threshold or larger than upper threshold
Bit 5
M0K2THF
: Touch key module 0 KEY2 upper/lower threshold comparison flag
0: Not less than lower threshold or not larger than upper threshold
1: Less than lower threshold or larger than upper threshold
Bit 4
M0K1THF
: Touch key module 0 KEY1 upper/lower threshold comparison flag
0: Not less than lower threshold or not larger than upper threshold
1: Less than lower threshold or larger than upper threshold
Bit 3
M0K4THS
: Touch key module 0 KEY4 upper or lower threshold comparison selection
0: Lower threshold comparison
1: Upper threshold comparison
Bit 2
M0K3THS
: Touch key module 0 KEY3 upper or lower threshold comparison selection
0: Lower threshold comparison
1: Upper threshold comparison
Bit 1
M0K2THS
: Touch key module 0 KEY2 upper or lower threshold comparison selection
0: Lower threshold comparison
1: Upper threshold comparison
Bit 0
M0K1THS
: Touch key module 0 KEY1 upper or lower threshold comparison selection
0: Lower threshold comparison
1: Upper threshold comparison
Touch Key Operation
When a finger touches or is in proximity to a touch pad, the capacitance of the pad will increase.
By using this capacitance variation to change slightly the frequency of the internal sense oscillator,
touch actions can be sensed by measuring these frequency changes. Using an internal programmable
divider which the reference clock is used to generate a fixed time period. By counting a number of
generated clock cycles from the sense oscillator during this fixed time period touch key actions can
be determined.