NEC V850E/MA1 User Manual page 469

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

Advertisement

14.3.2 Port 1
Port 1 is a 4-bit I/O port that can be set to the input or output mode in 1-bit units.
7
6
P1
Bit position
Bit name
P1n
3 to 0
(n = 3 to 0)
In addition to their function as port pins, the port 1 pins can also operate as real-time pulse unit (RPU) I/O, external
interrupt request inputs, and PWM output in the control mode.
(1) Operation in control mode
Port
Port 1
P10
PWM1
P11
TI010/INTP010
P12
INTP011
P13
TO01
(2) I/O mode/control mode setting
The port 1 I/O mode setting is performed by the port 1 mode register (PM1), and the control mode setting is
performed by the port 1 mode control register (PMC1).
(a) Port 1 mode register (PM1)
This register can be read/written in 8-bit or 1-bit units.
7
6
PM1
1
1
Bit position
Bit name
PM1n
3 to 0
(n = 3 to 0)
CHAPTER 14 PORT FUNCTIONS
5
4
3
P13
Port 1
I/O port
Alternate Function
PWM output
External interrupt request input/
Real-time pulse unit (RPU) input
External interrupt request input
Real-time pulse unit (RPU) output
5
4
3
1
1
PM13
Port Mode
Specifies input/output mode for P1n pin.
0: Output mode (output buffer on)
1: Input mode (output buffer off)
User's Manual U14359EJ4V0UM
2
1
0
P12
P11
P10
Function
Remark
2
1
0
PM12
PM11
PM10
Function
Address
After reset
FFFFF402H Undefined
Block Type
A
B
A
Address
After reset
FFFFF422H
FFH
469

Advertisement

Table of Contents
loading

Table of Contents