Rev.2.00 Oct 16, 2006 page 289 of 354
REJ09B0340-0200
M30245 Group
2. Programmable I/O Ports
Figure 2.17.3. Programmable I/O ports-related registers (2)
Port Pi direction register (Note 1)
Symbol
Address
When reset
PDi (i = 0 to 7, 10)
03E2
16
, 03E3
16
, 03E6
16
, 03E7
16
, 03EA
16
00
16
03EB
16
, 03EE
16
, 03EF
16
, 03F6
16
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
PDi_0
Port Pi
0
direction register
PDi_1
Port Pi
1
direction register
PDi_2
Port Pi
2
direction register
PDi_3
Port Pi
3
direction register
PDi_4
Port Pi
4
direction register
PDi_5
Port Pi
5
direction register
PDi_6
Port Pi
6
direction register
PDi_7
Port Pi
7
direction register
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
(i = 0 to 7, 10)
Port P8 direction register
Symbol
Address
When reset
PD8
03F2
16
00X00000
2
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
PD8_0
Port P8
0
direction register
PD8_1
Port P8
1
direction register
PD8_2
Port P8
2
direction register
PD8_3
Port P8
3
direction register
PD8_4
Port P8
4
direction register
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
6
direction register
PD8_7
Port P8
7
direction register
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
A
AA
A
A
AA
AA
A
AA
A
AA
A
AA
A
AA
A
A
AA
AA
A
AA
A
A
AA
AA
A
AA
A
AA
A
AA
A
AA
A
AA
A
AA
Note 1: In memory expansion and microprocessor mode, the contents of
corresponding port Pi direction register of pins A
0
to A
19
, D
0
to D
15
,
CS
0
to CS
3
, RD, WRL/WR, WRH/BHE, ALE, RDY, HOLD, HLDA and
BCLK cannot be modified.
Port P9 direction register
Symbol
Address
When reset
PD9
03F3
16
XXXX00X0
2
Bit name
Function
Bit symbol
W
R
b7
b6
b5
b4
b3
b2
b1
b0
PD9_0
Port P9
0
direction register
PD9_2
Port P9
2
direction register
PD9_3
Port P9
3
direction register
Nothing is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be
indeterminate.
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
0 : Input mode
(Functions as an input port)
1 : Output mode
(Functions as an output port)
A
A
AA
AA
A
AA
A
A
AA
AA
Nothing is assigned.
In an attempt to write to this bit, write “0”. The value, if read, turns out to be
indeterminate.
Содержание M16C FAMILY
Страница 12: ...Chapter 1 Hardware...
Страница 13: ...See M30245 group datasheet...
Страница 14: ...Chapter 2 Peripheral Functions Usage...
Страница 303: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 304: ...Chapter 3 Examples of Peripheral Functions Applications...
Страница 340: ...Chapter 4 External Buses...
Страница 361: ...THIS PAGE IS BLANK FOR REASONS OF LAYOUT...
Страница 362: ...Chapter 5 Standard Characteristics...
Страница 369: ...1753 Shimonumabe Nakahara ku Kawasaki shi Kanagawa 211 8668 Japan M30245 Group REJ09B0340 0200 User s Manual...