CHAPTER 5 PORT FUNCTIONS
Page 78 of 920
5.3.2
Port registers (Pxx)
These registers set the output latch value of a port.
If the data is read in the input mode, the pin level is read. If it is read in the output mode, the output latch value is
read
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation clears these registers to 00H.
Note
When P20 to P22, P120 are set to the analog function, if a port is read in input mode, the read value
is always 0, not the pin level.
Summary of Contents for RL78/G1H
Page 941: ...R01UH0575EJ0120 RL78 G1H...