Rev. 1.00
70
March 24, 2020
Rev. 1.00
71
March 24, 2020
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
BS83A04C
4-Key Enhanced Touch I/O Flash MCU
• TKM0C1 Register
Bit
7
6
5
4
3
2
1
0
Name
M0TSS
—
M0ROEN M0KOEN M0K4EN M0K3EN M0K2EN M0K1EN
R/W
R/W
—
R/W
R/W
R/W
R/W
R/W
R/W
POR
0
—
0
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
When the M0TSS bit is high, the touch key module 0 time slot counter clock comes
from the f
LIRC
oscillator. which can remain on even when the device enters the IDLE
and SLEEP modes. The touch key module 0 time slot counter clock is then can bypass
the 5-bit counter to reduce the overflow time. In the periodic auto scan mode, set the
M0TSS and TSC bits high can reduce the touch key standby power.
Note: If the 5-bit counter is bypassed, the touch key module 0 Reference and Key
oscillators hopping frequency is selected by the M0SOF2~M0SOF0 bits
regardless of the M0SOFC bit setting.
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 M0K4EN~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
M0K4EN
: Touch key module 0 KEY 4 control
0: Disable
1: Enable
Bit 2
M0K3EN
: Touch key module 0 KEY 3 control
0: Disable
1: Enable
Bit 1
M0K2EN
: Touch key module 0 KEY 2 control
0: Disable
1: Enable
Bit 0
M0K1EN
: Touch key module 0 KEY 1 control
0: Disable
1: Enable