EasyManua.ls Logo

Holtek BS66F340 - Page 191

Default Icon
242 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Rev. 1.60 190 August 20, 2019 Rev. 1.60 191 August 20, 2019
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
BS66F340/BS66F350/BS66F360/BS66F370
Touch A/D Flash MCU with LED Driver
TKMnROH/TKMnROL – Touch Key Module n Reference Oscillator Capacitor Select Register Pair
Register TKMnROH TKMnROL
Bit 7 6 5 4 3 2 1 0 7 6 5 4 3 2 1 0
Name D9 D8 D7 D6 D5 D4 D3 D2 D1 D0
R/W R/W 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 0 0
This register pair is used to store the touch key module n reference oscillator capacitor value. This
register pair will be loaded with the corresponding next time slot capacitor value from the dedicated
touch key data memory at the end of the current time slot when the auto scan mode is selected.
The reference oscillator internal capacitor value =
1024
pF50x]0:9[TKMn
.
TKMnC0 Register
Bit 7 6 5 4 3 2 1 0
Name MnDFEN D4 MnSOFC MnSOF2 MnSOF1 MnSOF0
R/W R/W R/W R/W R/W R/W R/W
POR 0 0 0 0 0 0
Bit 7~6 Unimplemented, read as "0"
Bit 5 MnDFEN: Touch key module n multi-frequency control
0: Disable
1: Enable
This bit is used to control the touch key oscillator frequency doubling function. When
this bit is set to 1, the key oscillator frequency will be doubled.
Bit 4 D4: Data bit for test only
The bit is used for test purpose only and must be kept as "0" for normal operations.
Bit 3
MnSOFC: Touch key module n C-to-F oscillator frequency hopping function control select
0: Controlled by the MnSOF2~MnSOF0
1: Controlled by hardware circuit
This bit is used to select the touch key oscillator frequency hopping function control
method. When this bit is set to 1, the key oscillator frequency hopping function is
controlled by the hardware circuit regardless of the MnSOF2~MnSOF0 bits value.
Bit 2~0 MnSOF2~MnSOF0: Touch key module n Reference and Key oscillators hopping
frequency select
000: f
HOP0
– Min. hopping frequency
001: f
HOP1
010: f
HOP2
011: f
HOP3
100: f
HOP4
– Selected touch key oscillator frequency
101: f
HOP5
110: f
HOP6
111: f
HOP7
– Max. hopping frequency
This bit is used to select the touch key oscillator frequency hopping function control
method. When this bit is set to 1, the key oscillator frequency hopping function is
controlled by the hardware circuit regardless of the MnSOF2~MnSOF0 bits value.

Table of Contents

Related product manuals