EM78P159N
8-Bit Microcontrollerwith OTP ROM
4.2.3 IOC5 ~ IOC6 (I/O Port Control Register)
"1" put the relative I/O pin into high impedance, while "0" defines the relative I/O pin
as output.
Only the lower 7 bits of IOC5 can be defined.
IOC5 and IOC6 registers are both readable and writable.
4.2.4 IOCA (Prescaler Counter Register)
IOCA register is readable.
The value of IOCA is equal to the contents of Prescaler counter.
Down counter
4.2.5 IOCB (Pull-Down Control Register)
Bit 7
/PD7
Bit 6
/PD6
Bit 5
/PD5
Bit 4
/PD4
Bit 3
/PD3
Bit 2
/PD2
Bit 1
/PD1
Bit 0 (/PD0): Control bit is used to enable the pull-down of P50 pin.
0 = Enable internal pull-down
1 = Disable internal pull-down
Bit 1 (/PD1): Control bit is used to enable the pull-down of P51 pin.
Bit 2 (/PD2): Control bit is used to enable the pull-down of P52 pin.
Bit 3 (/PD3): Control bit is used to enable the pull-down of P53 pin.
Bit 4 (/PD4): Control bit is used to enable the pull-down of P60 pin.
Bit 5 (/PD5): Control bit is used to enable the pull-down of P61 pin.
Bit 6 (/PD6): Control bit is used to enable the pull-down of P62 pin.
Bit 7 (/PD7): Control bit is used to enable the pull-down of P63 pin.
IOCB Register is both readable and writable.
Bit 0
/PD0
12 •
Product Specification (V1.0) 03.10.2006
(This specification is subject to change without further notice)