Touch Key Function; Touch Key Structure; Touch Key Register Definition - Holtek BS86DH12C Manual

High voltage touch a/d flash mcu with hvio
Table of Contents

Advertisement

Touch Key Function

The device provides multiple touch key functions. The touch key function is fully integrated and
requires no external components, allowing touch key functions to be implemented by the simple
manipulation of internal registers.

Touch Key Structure

The touch keys are pin-shared with the I/O pins, with the desired function chosen via the
corresponding selection register bits. Keys are organised into several groups, with each group known
as a module and having a module number, M0 to M2. Each module is a fully independent set of
four Touch Keys and each Touch Key has its own oscillator. Each module contains its own control
logic circuits and register set. Examination of the register names will reveal the module number it is
referring to.

Touch Key Register Definition

Each touch key module, which contains four touch key functions, has its own suite registers. The
following table shows the register set for each touch key module. The Mn within the register name
refers to the Touch Key module number. The device has three Touch Key Modules.
Register Name
TKTMR
TKC0
TKC1
TK16DL
TK16DH
TKMn16DL
TKMn16DH
TKMnROL
TKMnROH
TKMnC0
TKMnC1
Rev. 1.00
High Voltage Touch A/D Flash MCU with HVIO
Total Key Number
Touch Key Module
Mn
12
(n=0~2)
Touch Key Structure
Touch key time slot 8-bit counter preload register
Touch key function Control register 0
Touch key function Control register 1
Touch key function 16-bit counter low byte
Touch key function 16-bit counter high byte
Touch key module n 16-bit C/F counter low byte
Touch key module n 16-bit C/F counter high byte
Touch key module n reference oscillator capacitor select low byte
Touch key module n reference oscillator capacitor select high byte
Touch key module n Control register 0
Touch key module n Control register 1
Touch Key Function Register Definition (n=0~2)
114
BS86DH12C
Touch Key
M0
KEY1~KEY4
M1
KEY5~KEY8
M2
KEY9~KEY12
Description
October 26, 2018

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BS86DH12C and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents