Datasheet

R01UH0015EJ0300 Rev.3.00 Page 137 of 888
Sep 30, 2010
V850ES/JG3 CHAPTER 4 PORT FUNCTIONS
Table 4-15. Using Port Pin as Alternate-Function Pin (1/7)
Alternate FunctionPin
Name
Name I/O
Pnx Bit of
Pn Register
PMnx Bit of
PMn Register
PMCnx Bit of
PMCn Register
PFCEnx Bit of
PFCEn Register
PFCnx Bit of
PFCn Register
Other Bits
(Registers)
P02 NMI Input
P02 = Setting not required PM02 = Setting not required
PMC02 = 1
INTP0 Input
P03 = Setting not required PM03 = Setting not required
PMC03 = 1 PFC03 = 0 P03
ADTRG Input
P03 = Setting not required PM03 = Setting not required
PMC03 = 1 PFC03 = 1
P04 INTP1 Input
P04 = Setting not required PM04 = Setting not required
PMC04 = 1
INTP2 Input
P05 = Setting not required PM05 = Setting not required
PMC05 = 1 P05
DRST Input
P05 = Setting not required PM05 = Setting not required PMC05 = Setting not required
OCDM0 (OCDM) = 1
P06 INTP3 Input
P06 = Setting not required PM06 = Setting not required
PMC06 = 1
P10 ANO0 Output
P10 = Setting not required
PM10 = 1
P11 ANO1 Output
P11 = Setting not required
PM11 = 1
TXDA0 Output
P30 = Setting not required PM30 = Setting not required
PMC30 = 1 PFC30 = 0 P30
SOB4 Output
P30 = Setting not required PM30 = Setting not required
PMC30 = 1 PFC30 = 1
RXDA0 Input
P31 = Setting not required PM31 = Setting not required
PMC31 = 1
Note, PFC31 = 0
INTP7 Input
P31 = Setting not required PM31 = Setting not required
PMC31 = 1
Note, PFC31 = 0
P31
SIB4 Input
P31 = Setting not required PM31 = Setting not required
PMC31 = 1 PFC31 = 1
ASCKA0 Input
P32 = Setting not required PM32 = Setting not required
PMC32 = 1 PFCE32 = 0 PFC32 = 0
SCKB4 I/O
P32 = Setting not required PM32 = Setting not required
PMC32 = 1 PFCE32 = 0 PFC32 = 1
TIP00 Input
P32 = Setting not required PM32 = Setting not required
PMC32 = 1 PFCE32 = 1 PFC32 = 0
P32
TOP00 Output
P32 = Setting not required PM32 = Setting not required
PMC32 = 1 PFCE32 = 1 PFC32 = 1
TIP01 Input
P33 = Setting not required PM33 = Setting not required
PMC33 = 1 PFC33 = 0 P33
TOP01 Output
P33 = Setting not required PM33 = Setting not required
PMC33 = 1 PFC33 = 1
Note The INTP7 pin and RXDA0 pin are alternate-function pins. When using the pin as the RXDA0 pin, disable edge detection for the alternate-function INTP7 pin (clear the
INTF3.INTF31 bit and INTR3.INTR31 bit to 0). When using the pin as the INTP7 pin, stop the UARTA0 reception operation (clear the UA0CTL0.UA0RXE bit to 0).
Caution When using one of the P10 and P11 pins as an I/O port and the other as a D/A output pin (ANO0, ANO1), do so in an application where the port I/O level does not
change during D/A output.