EasyManua.ls Logo

Renesas RL78/G10 - Port Mode Registers 0, 4 (PM0, PM4)

Renesas RL78/G10
637 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RL78/G10 CHAPTER 4 PORT FUNCTIONS
R01UH0384EJ0311 Rev. 3.11 61
Dec 22, 2016
4.3.1 Port mode registers 0, 4 (PM0, PM4)
These registers specify input or output mode for the port in 1-bit units.
These registers can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to FFH.
When port pins are used as alternate-function pins, set the port mode register by referring to 4.5 Register Settings
When an Alternate Function Is Used .
Figure 4-1. Format of Port Mode Registers 0, 4 (PM0, PM4)
10-pin products
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PM0 1 1 1 PM04 PM03 PM02 PM01 PM00 FFF20H FFH R/W
PM4 1 1 1 1 1 1 1 PM40 FFF24H FFH R/W
16-pin products
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PM0 PM07 PM06 PM05 PM04 PM03 PM02 PM01 PM00 FFF20H FFH R/W
PM4 1 1 1 1 1 1 PM41 PM40 FFF24H FFH R/W
PMmn Pmn pin I/O mode selection
0 Output mode (output buffer on)
1 Input mode (output buffer off)
m = 0, 4; n = 0 to 7
Caution Be sure to set bits that are not mounted to their initial values.

Table of Contents

Related product manuals