CHAPTER 14 PORT FUNCTIONS
697
User’s Manual U14492EJ3V0UD
(b) Port 2 mode control register (PMC2)
This register can be read/written in 8-bit or 1-bit units.
Caution
The PMC20, PMC25, and PMC26 bits also serve as external interrupts (INTP20, INTP25,
and INTP30). When not using them as external interrupts, mask interrupt requests
(refer to 7.3.4 Interrupt control register (xxICn)).
7
PMC27
PMC2
6
PMC26
5
PMC25
4
PMC24
3
PMC23
2
PMC22
1
PMC21
0
PMC20
Address
FFFFF444H
Initial value
00H
Bit Position
Bit Name
Function
7
PMC27
Specifies operation mode of P27 pin.
0: I/O port mode
1: TO3 output mode or external interrupt request (INTP31) input mode
6
PMC26
Specifies operation mode of P26 pin.
0: I/O port mode
1: RPU (TI3, TCLR3) input mode or external interrupt request (INTP30) input mode
5
PMC25
Specifies operation mode of P25 pin.
0: I/O port mode
1: TCLR2 input mode or external interrupt request (INTP25) input mode
4 to 1
PMC24 to
PMC21
Specify operation mode of P24 to P21 pins.
0: I/O port mode
1: TO24 to TO21 output mode or external interrupt request (INTP24 to INTP21)
input mode
0
PMC20
Specifies operation mode of P20 pin.
0: I/O port mode
1: TI2 input mode or external interrupt request (INTP20) input mode
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...