EasyManua.ls Logo

Renesas RL78/G10

Renesas RL78/G10
637 pages
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 65
Dec 22, 2016
4.3.5 Port mode control register 0 (PMC0)
This register sets the digital I/O or analog input in 1-bit units.
This register can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets this register to FFH.
Figure 4-5. Format of Port Mode Control Register 0 (PMC0)
10-pin products
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PMC0 1 1 1 PMC04 PMC03 PMC02 PMC01 1 F0060H FFH R/W
16-pin products
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W
PMC0 PMC07 PMC06 PMC05 PMC04 PMC03 PMC02 PMC01 1 F0060H FFH R/W
PMC0n P0n pin digital I/O/analog input selection
0 Digital I/O (alternate function other than analog input)
1 Analog input
n = 1 to 7
Cautions 1. Select input mode by using port mode register 0 (PM0) for the ports which are set by the
PMC0 register as analog input.
2. Be sure to set bits that are not mounted to their initial values.

Table of Contents

Related product manuals