NEC V850ES/KE1+ User Manual page 77

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(8) Port settings
Set the ports as follows.
Port mode
Output mode
Input mode
Alternate function
(when two alternate
functions are available)
Alternate function 1
Alternate function 2
Alternate function
(when three or more alternate
functions are available)
Alternate function 1
Alternate function 2
Alternate function 3
Alternate function 4
Remark Switch to the alternate function using the following procedure.
<1> Set the PFCn and PFCEn registers.
<2> Set the PMCn register.
<3> Set the INTRn or INTFn register (to specify an external interrupt pin).
If the PMCn register is set first, an unintended function may be set while the PFCn and PFCEn
registers are being set.
CHAPTER 4 PORT FUNCTIONS
Figure 4-1. Register Settings and Pin Functions
"0"
PMn register
"1"
"0"
PFCn register
"1"
(a)
(b)
PFCn register
(c)
PFCEn register
(d)
User's Manual U16896EJ2V0UD
"0"
PMCn register
"1"
PFCEnm
PFCnm
(a)
0
0
(b)
0
1
(c)
1
0
(d)
1
1
77

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents