NJU3504
• PROGRAMMABLE INPUT/OUTPUT PORT CONTROL REGISTER(PHY29)
Programmable Input / Output Port Control Register(PHY29) is a peripheral register to set the
programmable input/output PORTs(PORTA and PORTB) as either the input or the output. All bits in
PORTA are set as the output when LSB(b0) of PHY29 is set to “1”. All bits in PORTA are set as the
input when “b0” of PHY29 is set to “0”. All bits in PORTB are set as the output when b1 of PHY29 is set
to “1”. All bits in PORTB are set as the input when “b1” of PHY29 is set to “0”.
PORTA and PORTB are set as the input in accordance with the state of PHY29 which is set to “0” on the
“RESET” operation.
[READING Programmable Input / Output Port Control Register(PHY29)]
(MSB) 3
2
PHY29
“0”
“0”
1
0 (LSB)
“∗”
“∗”
PORTA input/output state(0:input, 1:output)
PORTB input/output state(0:input, 1:output)
[WRITING Programmable Input / Output Port Control Register(PHY29)]
(MSB) 3
2
1
0 (LSB)
PHY29
−
−
“∗” “∗”
PORTA input/output setting(0:input, 1:output)
PORTB input/output setting(0:input, 1:output)
- 21 -