P8 Data Register - Renesas M32R/ECU Series User Manual

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

6

6.5.3 P8 Data Register

P8 Data Register (P8DATA)
b0
1
2
MOD0DT
MOD1DT
P82DT
?
?
?
b
Bit Name
0
MOD0DT
MOD0 data bit
1
MOD1DT
MOD1 data bit
2
P82DT
Port P82 data bit
3
P83DT
Port P83 data bit
4
P84DT
Port P84 data bit
5
P85DT
Port P85 data bit
6
P86DT
Port P86 data bit
7
P87DT
Port P87 data bit
Note 1: To select the port data to read, use the Port Input Special Function Control Register's port input data select bit (PISEL).
3
4
5
6
P83DT
P84DT
P85DT
P86DT
?
?
?
?
6.5 Programming the Internal Flash Memory
b7
P87DT
?
Function
0: MOD0 pin = "low"
1: MOD0 pin = "high"
0: MOD1 pin = "low"
1: MOD1 pin = "high"
At read
Depends on how the Port Direction Register is set
• If direction bit = "0" (input mode)
0: Port input pin = "low"
1: Port input pin = "high"
• If direction bit = "1" (output mode) (Note 1)
0: Port output latch = "0" / Port pin level = "low"
1: Port output latch = "1" / Port pin level = "high"
At write
Write to the port output latch
6-18
INTERNAL MEMORY
<Address: H'0080 0708>
<After reset: Undefined>
R
R
R
R
32180 Group User's Manual (Rev.1.0)
W
W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents