Renesas M16C/60 Series Hardware Manual page 248

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
Port Pi direction register (i = 0 to 7, 9, 10) (Notes 1, 2)
b7
b6
b5
b4
b3
b2
Note 1: Make sure the PD7 and PD9 registers are written to by the next instruction after setting the PRCR
register's PRC2 bit to "1" (write enabled).
Note 2: During memory expansion and microprocessor modes, the PD register for the pins functioning
as bus control pins (A
HOLD, HLDA and BCLK) cannot be modified.
Port P8 direction register
b7
b6
b5
b4
b3
b2
Figure 1.20.7 PD0 to PD10 Registers
Rev.1.00
2003.05.30
page 234
Symbol
b1
b0
PD0 to PD3
PD4 to PD7
PD9, PD10
Bit symbol
PDi_0
Port Pi
PDi_1
Port Pi
PDi_2
Port Pi
PDi_3
Port Pi
PDi_4
Port Pi
PDi_5
Port Pi
PDi_6
Port Pi
PDi_7
Port Pi
to A
, D
to D
0
19
0
b1
b0
Symbol
PD8
Bit symbol
PD8_0
Port P8
PD8_1
Port P8
PD8_2
Port P8
PD8_3
Port P8
PD8_4
Port P8
-
Nothing is assigned. When write, set to "0".
(b5)
When read, its content is indeterminate.
PD8_6
Port P8
PD8_7
Port P8
Address
03E2
, 03E3
, 03E6
16
16
16
03EA
, 03EB
, 03EE
16
16
03F3
, 03F6
16
16
Bit name
direction bit
0 : Input mode
0
(Functions as an input port)
direction bit
1
1 : Output mode
direction bit
2
(Functions as an output port)
direction bit
3
(i = 0 to 7, 9, 10)
direction bit
4
direction bit
5
direction bit
6
direction bit
7
, CS
to CS
, RD, WRL/WR, WRH/BHE, ALE, RDY,
15
0
3
Address
03F2
16
Bit name
direction bit
0 : Input mode
0
(Functions as an input port)
direction bit
1
1 : Output mode
direction bit
2
(Functions as an output port)
direction bit
3
direction bit
4
0 : Input mode
direction bit
6
(Functions as an input port)
1 : Output mode
direction bit
7
(Functions as an output port)
Programmable I/O Ports
After reset
, 03E7
00
16
16
, 03EF
00
16
16
16
00
16
Function
After reset
00X00000
Function
RW
RW
RW
RW
RW
RW
RW
RW
RW
2
RW
RW
RW
RW
RW
RW
-
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents