High Voltage I/O Registers - Holtek BS86DH12C Manual

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

Advertisement

PDn_OE: PDn output global enable signal
PDn_DIN: PDn input data
3. When the comparison result between PDn_DOUT and PDn_DIN is different, the LIRC oscillator will
be enabled by the hardware until the short circuit condition is released even if the CPU and LIRC are
both off. After the LIRC clock is stable, the f
functions. If the MCU is still in CPU off mode, the LIRC will be turned off after the short circuit
condition has been released.
4. The PDn_OE truth table is shown as follows:
PWRRDY
0
1
1
1
1
5. The PDn truth table is shown as follows:
PDn_OE
PDn_DOUT
0
0
0
1
1
0
1
1

High Voltage I/O Registers

Overall operation of high voltage I/O port is controlled using a series of registers. The PD register
is the data register. The PDC register is used to select the input/output type. The PDOM register is
used for output mask control. The remaining register PWRDET is used to monitor the power supply
status and select short flag response time.
Register
Name
PD
PDC
PDOM
PWRDET PWRRDYF
• PD Register
Bit
7
Name
R/W
POR
Bit 7~6
Unimplemented, read as "0"
Bit 5~0
PD5~PD0: HVIO PD5~PD0 Data bit
Rev. 1.00
High Voltage Touch A/D Flash MCU with HVIO
clock can be used as the clock source of the peripheral
LIRC
PWRRDYF
PDOMn
0
0
1
0
1
0
1
1
1
1
PDn
Floating
Input mode
V
Output mode
SS
(Short-circuit protection is enabled when PWRRDYF=1)
V
CC2
7
6
5
PD5
PDC5
PDOM5
PDOM4
High Voltage I/O Register List
6
5
PD5
R/W
1
74
PDn_DOUT_EN
PDn_OE
0
0
1
0
1
PDn Mode
Bit
4
3
2
PD4
PD3
PB2
PBC4
PDC3
PDC2
PDOM3
PDOM2
4
3
2
PD4
PD3
PD2
R/W
R/W
R/W
1
1
1
BS86DH12C
0
0
1
0
0
1
0
PD1
PD0
PDC1
PDC0
PDOM1
PDOM0
SFRTC
1
0
PD1
PD0
R/W
R/W
1
1
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?

Subscribe to Our Youtube Channel

Table of Contents