Renesas M16C Series User Manual page 298

16-bit single-chip microcomputer
Hide thumbs Also See for M16C Series:
Table of Contents

Advertisement

M30245 Group
Port Pi direction register (Note 1)
b7
b6
b5
www.DataSheet4U.com
Port P8 direction register
b7
b6
b5
Port P9 direction register
b7
b6
b5
Figure 2.17.3. Programmable I/O ports-related registers (2)
Rev.2.00 Oct 16, 2006
REJ09B0340-0200
Symbol
b4
b3
b2
b1
b0
PDi (i = 0 to 7, 10)
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
Note 1: In memory expansion and microprocessor mode, the contents of
corresponding port Pi direction register of pins A
CS
to CS
0
BCLK cannot be modified.
b4
b3
b2
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.
In an attempt to write to this bit, write "0". The value, if read, turns out to be
indeterminate.
PD8_6
Port P8
PD8_7
Port P8
b4
b3
b2
b1
b0
Symbol
PD9
Bit symbol
PD9_0
Port P9
Nothing is assigned.
In an attempt to write to this bit, write "0". The value, if read, turns out to be
indeterminate.
PD9_2
Port P9
PD9_3
Port P9
Nothing is assigned.
In an attempt to write to this bit, write "0". The value, if read, turns out to be
indeterminate.
page 289 of 354
03E2
, 03E3
, 03E6
16
16
03EB
, 03EE
16
Bit name
direction register
0
0 : Input mode
direction register
1
(Functions as an input port)
direction register
2
1 : Output mode
(Functions as an output port)
direction register
3
(i = 0 to 7, 10)
direction register
4
direction register
5
direction register
6
direction register
7
, RD, WRL/WR, WRH/BHE, ALE, RDY, HOLD, HLDA and
3
Address
03F2
16
Bit name
direction register
0
0 : Input mode
direction register
1
(Functions as an input port)
direction register
2
1 : Output mode
(Functions as an output port)
direction register
3
direction register
4
0 : Input mode
direction register
6
(Functions as an input port)
1 : Output mode
direction register
7
(Functions as an output port)
Address
03F3
16
Bit name
0 : Input mode
direction register
0
(Functions as an input port)
1 : Output mode
(Functions as an output port)
0 : Input mode
direction register
2
(Functions as an input port)
1 : Output mode
direction register
3
(Functions as an output port)
2. Programmable I/O Ports
Address
When reset
, 03E7
, 03EA
16
16
16
, 03EF
, 03F6
16
16
16
Function
R
W
to A
, D
to D
,
0
19
0
15
When reset
00X00000
2
Function
R
W
When reset
XXXX00X0
2
Function
R
W
00
16

Advertisement

Table of Contents
loading

Table of Contents