Section 8 I/O Ports
Rev. 6.00 Aug 04, 2006 page 216 of 680
REJ09B0145-0600
Bit 2:
P2
2
/SO
1
pin function switch (SO1)
This bit selects whether pin P2
2
/SO
1
is used as P2
2
or as SO
1
.
Bit 2
SO1
Description
0
Functions as P2
2
I/O pin
(initial value)
1
Functions as SO
1
output pin
Bit 1:
P2
1
/SI
1
pin function switch (SI1)
This bit selects whether pin P2
1
/SI
1
is used as P2
1
or as SI
1
.
Bit 1
SI1
Description
0
Functions as P2
1
I/O pin
(initial value)
1
Functions as SI
1
input pin
Bit 0:
P2
0
/SCK
1
pin function switch (SCK1)
This bit selects whether pin P2
0
/SCK
1
is used as P2
0
or as SCK
1
.
Bit 0
SCK1
Description
0
Functions as P2
0
I/O pin
(initial value)
1
Functions as SCK
1
I/O pin
4. Port Mode Register 4 (PMR4)
Bit
Initial value
Read/Write
7
NMOD7
0
R/W
6
NMOD6
0
R/W
5
NMOD5
0
R/W
4
NMOD4
0
R/W
3
NMOD3
0
R/W
0
NMOD0
0
R/W
2
NMOD2
0
R/W
1
NMOD1
0
R/W
PMR4 is an 8-bit read/write register that controls whether individual port 2 pins are CMOS
outputs or NMOS open-drain outputs when 1 is set in PCR2.
Upon reset, PMR4 is initialized to H'00.
Содержание H8/38342
Страница 8: ...Rev 6 00 Aug 04 2006 page vi of xxxvi...
Страница 12: ...Rev 6 00 Aug 04 2006 page x of xxxvi...
Страница 38: ...Rev 6 00 Aug 04 2006 page xxxvi of xxxvi...
Страница 76: ...Section 1 Overview Rev 6 00 Aug 04 2006 page 38 of 680 REJ09B0145 0600...
Страница 240: ...Section 7 RAM Rev 6 00 Aug 04 2006 page 202 of 680 REJ09B0145 0600...
Страница 468: ...Section 12 A D Converter Rev 6 00 Aug 04 2006 page 430 of 680 REJ09B0145 0600...
Страница 580: ...Section 15 Electrical Characteristics Rev 6 00 Aug 04 2006 page 542 of 680 REJ09B0145 0600...