Setting When Port Pin Is Used For Alternate Function - NEC Renesas V850/SC1 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for Renesas V850/SC1:
Table of Contents

Advertisement

5.3 Setting When Port Pin Is Used for Alternate Function

When a port pin is used for an alternate function, set the port n mode register (PM0 to PM6, PM9 to PM12, PM14,
PM15, and PM17) and output latch as shown in Table 5-16 below.
Table 5-16. Setting When Port Pin Is Used for Alternate Function (1/6)
Pin Name
Function Name
P00
NMI
P01
INTP0
P02
INTP1
P03
INTP2
P04
INTP3
P05
INTP4
ADTRG
P06
INTP5
P07
INTP6
P10
SI0
SDA0
P11
SO0
P12
SCK0
SCL0
P13
SI4
RXD0
P14
SO4
TXD0
P15
SCK4
ASCK0
P17
TI5
TO5
192
CHAPTER 5
Alternate Function
I/O
Input
PM00 = 1
Input
PM01 = 1
Input
PM02 = 1
Input
PM03 = 1
Input
PM04 = 1
Input
PM05 = 1
Input
Input
PM06 = 1
Input
PM07 = 1
Input
PM10 = 1
I/O
PM10 = 0
Output
PM11 = 0
Input
PM12 = 1
Output
PM12 = 0
I/O
Input
PM13 = 1
Input
Output
PM14 = 0
Output
Input
PM15 = 1
Output
PM15 = 0
Input
PM15 = 1
Input
PM17 = 1
Output
PM17 = 0
User's Manual U15109EJ3V0UD
PORT FUNCTIONS
PMnx Bit of
Pnx Bit of
PMn Register
Pn Register
Setting not needed
for P00
Setting not needed
for P01
Setting not needed
for P02
Setting not needed
for P03
Setting not needed
for P04
Setting not needed
for P05
Setting not needed
for P06
Setting not needed
for P07
Setting not needed
for P10
P10 = 0
P11 = 0
Setting not needed
for P12
P12 = 0
Setting not needed
for P13
P14 = 0
Setting not needed
for P15
P15 = 0
Setting not needed
for P15
Setting not needed
for P17
P17 = 0
Other Bits
(Register)
PF10 = 1
PF12 = 1

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents