Open Drain Configuration - NEC V850ES/F 3-L Series User Manual

32-bit single-chip microcontroller
Table of Contents

Advertisement

Chapter 2

2.2.5 Open drain configuration

(1)
Note
Access
Address
Initial Value
15
14
13
12
PFn15 PFn14 PFn13 PFn12 PFn11 PFn10
R/W
R/W
R/W
R/W
Table 2-13
46
PFn - Port function register
If a pin is in alternative mode (PMCn.PMCnm = 1), the PFn register specifies
normal output or open-drain output.
For port groups with up to eight ports, this is an 8-bit register. For port groups
with up to 16 ports, this is a 16-bit register.
The settings of PFn are only valid in alternative mode.
This register can be read/written in 8-bit and 1-bit units.
16-bit registers can also be read/written in 16-bit units.
see "Port Type Diagrams" on page 51
00F
or 0000
. This register is initialized by any reset.
H
H
7
6
5
PFn7
PFn6
PFn5
R/W
R/W
R/W
11
10
9
PFn9
PFn8
R/W
R/W
R/W
R/W
PFn register contents
Bit position
Bit name
7 to 0
PFn[7:0]
or
or
15 to 0
PFn[15:0]
User's Manual U18743EE1V2UM00
4
3
2
PFn4
PFn3
PFn2
R/W
R/W
R/W
8
7
6
5
PFn7
PFn6
PFn5
R/W
R/W
R/W
Specifies normal output or open-drain output
0: Normal output
1: Open-drain output
Pin Functions
1
0
PFn1
PFn0
R/W
R/W
4
3
2
1
PFn4
PFn3
PFn2
PFn1
R/W
R/W
R/W
R/W
Function
0
PFn0
R/W

Advertisement

Table of Contents
loading

Table of Contents