NEC V850E/MA1 User Manual page 467

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

Advertisement

(b) Port 0 mode control register (PMC0)
This register can be read/written in 8-bit or 1-bit units.
7
6
PMC0
PMC07
PMC06
Bit position
Bit name
7 to 4
PMC0n
(n = 7 to 4)
3
PMC03
2
PMC02
1
PMC01
0
PMC00
CHAPTER 14 PORT FUNCTIONS
5
4
3
PMC05
PMC04
PMC03
Port Mode Control
Specifies operation mode of P0n pin in combination with the PFC0 register.
0: I/O port mode
1: External interrupt request (INTP103 to INTP100) input mode/DMA request
(DMARQ3 to DMARQ0) input mode
Port Mode Control
Specifies operation mode of P03 pin.
0: I/O port mode
1: TO00 output mode
Port Mode Control
Specifies operation mode of P02 pin.
0: I/O port mode
1: External interrupt request (INTP001) input mode
Port Mode Control
Specifies operation mode of P01 pin.
0: I/O port mode
1: External interrupt request (INTP000) input mode/TI000 input mode
There is no register that switches between the external interrupt request
(INTP000) input mode and TI000 input mode
• When TI000 input mode is selected:
Mask the external interrupt request (INTP000) or specify the CCC00 register as
compare register.
• When external interrupt request (INTP000) input mode (including timer capture
input) is selected:
Set the ETI0 bit of the TMCC01 register to 0.
Port Mode Control
Specifies operation mode of P00 pin.
0: I/O port mode
1: PWM0 output mode
User's Manual U14359EJ4V0UM
2
1
0
PMC02
PMC01
PMC00
Function
Address
After reset
FFFFF440H
00H
467

Advertisement

Table of Contents
loading

Table of Contents