NEC V850E/MA1 User Manual page 475

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

Advertisement

14.3.4 Port 3
Port 3 is an 8-bit I/O port that can be set to the input or output mode in 1-bit units.
7
6
P3
P37
P36
Bit position
Bit name
7 to 0
P3n
(n = 7 to 0)
In addition to their function as port pins, the port 3 pins can also operate as the serial interface (CSI2, UART2) I/O,
external interrupt request inputs, and A/D converter external trigger input in the control mode.
(1) Operation in control mode
Port
Port 3
P30
SO2/INTP130
P31
SI2/INTP131
P32
SCK2/INTP132
P33
TXD2/INTP133
P34
RXD2/INTP120
P35
INTP121
P36
INTP122
P37
ADTRG/INTP123
(2) I/O mode/control mode setting
The port 3 I/O mode setting is performed by the port 3 mode register (PM3), and the control mode setting is
performed by the port 3 mode control register (PMC3) and the port 3 function control register 3 (PFC3).
(a) Port 3 mode register (PM3)
This register can be read/written in 8-bit or 1-bit units.
7
6
PM3
PM37
PM36
Bit position
Bit name
7 to 0
PM3n
(n = 7 to 0)
CHAPTER 14 PORT FUNCTIONS
5
4
3
P35
P34
P33
Port 3
I/O port
Alternate Function
Serial interface (CSI2) I/O/
External interrupt request inputs
Serial interface (UART2) I/O/
External interrupt request inputs
External interrupt request inputs
A/D converter external trigger input/
External interrupt request input
5
4
3
PM35
PM34
PM33
Port Mode
Specifies input/output mode for P3n pin.
0: Output mode (output buffer on)
1: Input mode (output buffer off)
User's Manual U14359EJ4V0UM
2
1
0
P32
P31
P30
Function
Remark
2
1
0
PM32
PM31
PM30
Function
Address
After reset
FFFFF406H Undefined
Block Type
L
H
I
L
H
B
Address
After reset
FFFFF426H
FFH
475

Advertisement

Table of Contents
loading

Table of Contents