
Rev. 1.10
82
March 02, 2020
Rev. 1.10
83
March 02, 2020
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
BS83A02L/BS83B04L
Ultra-Low Power Touch Key Flash MCU
• TKM0C1 Register
Bit
7
6
5
4
3
2
1
0
Name
M0TSS
—
M0ROEN M0KOEN
—
—
M0K2EN M0K1EN
R/W
R/W
—
R/W
R/W
—
—
R/W
R/W
POR
0
—
0
0
—
—
0
0
Bit 7
M0TSS
: Touch key module 0 time slot counter clock source selection
0: Touch key module 0 reference oscillator
1: f
LIRC
Bit 6
Unimplemented, read as “0”
Bit 5
M0ROEN
: Touch key module 0 reference oscillator control
0: Disable
1: Enable
This bit is used to enable the touch key module 0 reference oscillator. In the auto scan
mode or the periodic auto scan mode, the reference oscillator will automatically be
enabled by setting the M0ROEN bit high when the TKST bit is set from low to high
if the reference oscillator is selected as the time slot clock source. The combination of
the M0TSS and M0K2EN~M0K1EN bits determines whether the reference oscillator
is used or not. When the TKBUSY bit is changed from high to low, the M0ROEN bit
will automatically be cleared to zero to disable the reference oscillator.
In the manual scan mode the reference oscillator should first be enabled before setting
the TKST bit from low to high if the reference oscillator is selected to be used and will
be disabled when the TKBUSY bit is changed from high to low.
Bit 4
M0KOEN
: Touch key module 0 key oscillator control
0: Disable
1: Enable
This bit is used to enable the touch key module 0 key oscillator. In the auto scan mode
or the periodic auto scan mode, the key oscillator will automatically be enabled by
setting the M0KOEN bit high when the TKST bit is set form low to high. When the
TKBUSY bit is changed from high to low, the M0KOEN bit will automatically be
cleared to zero to disable the key oscillator.
In the manual scan mode, the key oscillator should first be enabled before setting the
TKST bit from low to high if the relevant key is enabled to be scanned and will be
disabled when the TKBUSY bit is changed from high to low.
Bit 3~2
Unimplemented, read as “0”
Bit 1
M0K2EN
: Touch key module 0 KEY 2 control
0: isable
1: Enable
Bit 0
M0K1EN
: Touch key module 0 KEY 1 control
0: Disable
1: Enable
• TKM0C2 Register
Bit
7
6
5
4
3
2
1
0
Name
—
—
—
—
—
M0SK10
—
M0SK00
R/W
—
—
—
—
—
R/W
—
R/W
POR
—
—
—
—
—
1
—
0
Bit 7~3
Unimplemented, read as “0”
Bit 2
M0SK10
: Touch key module 0 time slot 1 key scan selection
0: KEY1
1: KEY2
These bits are used to select the desired scan key in time slot 1 and only available in
the auto scan mode or the periodic auto scan mode.