NEC V850E/MA1 User Manual page 473

32-bit single-chip microcontroller
Hide thumbs Also See for V850E/MA1:
Table of Contents

Advertisement

(b) Port 2 mode control register (PMC2)
This register can be read/written in 8-bit or 1-bit units.
7
6
PMC2
PMC27
PMC26
Bit position
Bit name
7 to 4
PMC2n
(n = 7 to 4)
3
PMC23
2
PMC22
1
PMC21
CHAPTER 14 PORT FUNCTIONS
5
4
3
PMC25
PMC24
PMC23
Port Mode Control
Specifies operation mode of P2n pin in combination with the PFC2 register.
0: I/O port mode
1: External input request (INTP113 to INTP110) input mode/
DMA end signal (TC3 to TC0) output mode
Port Mode Control
Specifies operation mode of P23 pin.
0: I/O port mode
1: TO02 output mode
Port Mode Control
Specifies operation mode of P22 pin.
0: I/O port mode
1: External interrupt request (INTP021) input mode
Port Mode Control
Specifies operation mode of P21 pin.
0: I/O port mode
1: External interrupt request (INTP020) input mode/
TI020 input mode
There is no register that switches between the external interrupt request
(INTP020) input mode and TI020 input mode.
• When the TI020 input mode is selected:
Mask the external interrupt request (INTP020) or specify the CCC20 register as
a compare register.
• When the external interrupt request (INTP020) input mode (including timer
capture input) is selected:
Set the ETI2 bit of the TMCC21 register to 0.
User's Manual U14359EJ4V0UM
2
1
0
PMC22
PMC21
1
Function
Address
After reset
FFFFF444H
01H
473

Advertisement

Table of Contents
loading

Table of Contents