Rev. 1.10
82
October 23, 2020
Rev. 1.10
83
October 23, 2020
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
BC66F5652
2.4GHz RF Transceiver A/D Flash MCU
Register
Name
Reset
(Power On)
LVR Reset
WDT Time-out
(Normal Operation)
WDT Time-out
(IDLE/SLEEP)
FD2L
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
u u u u u u u u
FD2H
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
u u u u u u u u
FD3L
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
u u u u u u u u
FD3H
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
u u u u u u u u
EEC
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
0 0 0 0 0 0 0 0
u u u u u u u u
Note:
“u” stands for unchanged
“x” stands for unknown
“-” stands for unimplemented
Input/Output Ports
Holtek microcontrollers offer considerable flexibility on their I/O ports. With the input or output
designation of every pin fully under user program control, pull-high selections for all ports and
wake-up selections on certain pins, the user is provided with an I/O structure to meet the needs of a
wide range of application possibilities.
The device provides bidirectional input/output lines labeled with port name PA~PD. These I/O ports
are mapped to the RAM Data Memory with specific addresses as shown in the Special Purpose
Data Memory table. All of these I/O ports can be used for input and output operations. For input
operation, these ports are non-latching, which means the inputs must be ready at the T2 rising edge
of instruction “MOV A, [m]”, where m denotes the port address. For output operation, all the data is
latched and remains unchanged until the output latch is rewritten.
Register
Name
Bit
7
6
5
4
3
2
1
0
PA
PA7
PA6
PA5
PA4
PA3
PA2
PA1
PA0
PAC
PAC7
PAC6
PAC5
PAC4
PAC3
PAC2
PAC1
PAC0
PAPU
PAPU7
PAPU6
PAPU5
PAPU4
PAPU3
PAPU2
PAPU1
PAPU0
PAWU
PAWU7
PAWU6
PAWU5
PAWU4
PAWU3
PAWU2
PAWU1
PAWU0
PB
—
PB6
PB5
PB4
PB3
PB2
PB1
PB0
PBC
—
PBC6
PBC5
PBC4
PBC3
PBC2
PBC1
PBC0
PBPU
—
PBPU6
PBPU5
PBPU4
PBPU3
PBPU2
PBPU1
PBPU0
PC
—
PC6
PC5
PC4
PC3
PC2
PC1
PC0
PCC
—
PCC6
PCC5
PCC4
PCC3
PCC2
PCC1
PCC0
PCPU
—
PCPU6
PCPU5
PCPU4
PCPU3
PCPU2
PCPU1
PCPU0
PD
—
—
—
—
PD3
PD2
PD1
PD0
PDC
—
—
—
—
PDC3
PDC2
PDC1
PDC0
PDPU
—
—
—
—
PDPU3
PDPU2
PDPU1
PDPU0
“—”: Unimplemented, read as “0”
I/O Logic Function Register List
Pull-high Resistors
Many product applications require pull-high resistors for their switch inputs usually requiring the
use of an external resistor. To eliminate the need for these external resistors, all I/O pins, when
configured as an digital input have the capability of being connected to an internal pull-high
resistor. These pull-high resistors are selected using the relevant pull-high control registers and are
implemented using weak PMOS transistors. These pull-high resistors are selected using the LVPUC
and PxPU registers, and are implemented using weak PMOS transistors. The PxPU register is used