NEC PD703114 User Manual page 567

V850e/ia2 32-bit single-chip microcontrollers
Table of Contents

Advertisement

(b) Port 2 mode control register (PMC2)
This register can be read or 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 registers (xxICn)).
7
6
PMC2
PMC27
PMC26
Bit position
Bit name
7
PMC27
6
PMC26
5
PMC25
4 to 1
PMC24 to
PMC21
0
PMC20
(c) Port 2 function control register (PFC2)
This register can be read or written in 8-bit or 1-bit units. Write 0 in bits 0, 5, and 6.
Caution When port mode is specified by the port 2 mode control register (PMC2), the setting of
this register is invalid.
7
6
PFC2
PFC27
0
Bit position
Bit name
7
PFC27
4 to 1
PFC24 to
PFC21
CHAPTER 12 PORT FUNCTIONS
5
4
3
PMC25
PMC24
PMC23
Specifies operation mode of P27 pin
0: I/O port mode
1: TO3 output mode or external interrupt request (INTP31) input mode
Specifies operation mode of P26 pin
0: I/O port mode
1: TI3 and TCLR3 input mode or external interrupt request (INTP30) input mode
Specifies operation mode of P25 pin
0: I/O port mode
1: TCLR2 input mode or external interrupt request (INTP25) input mode
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
Specifies operation mode of P20 pin
0: I/O port mode
1: TI2 input mode or external interrupt request (INTP20) input mode
5
4
3
0
PFC24
PFC23
Specifies operation mode of P27 pin in control mode
0: External interrupt request (INTP31) input mode
1: TO3 output mode
Specify operation mode of P24 to P21 pins in control mode
0: External interrupt request (INTP24 to INTP21) input mode
1: TO24 to TO21 output mode
User's Manual U15195EJ5V0UD
2
1
0
PMC22
PMC21
PMC20
Function
2
1
0
PFC22
PFC21
0
Function
Address
After reset
FFFFF444H
00H
Address
After reset
FFFFF464H
00H
567

Advertisement

Table of Contents
loading

Table of Contents