EasyManuals Logo

Renesas RL78/G10 User Manual

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
Page #78 background imageLoading...
Page #78 background image
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

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Renesas RL78/G10 and is the answer not in the manual?

Renesas RL78/G10 Specifications

General IconGeneral
BrandRenesas
ModelRL78/G10
CategoryMotherboard
LanguageEnglish

Related product manuals