NEC V850ES/KE1+ User Manual page 86

32-bit single-chip microcontrollers
Table of Contents

Advertisement

(3) Port 4 mode control register (PMC4)
After reset: 00H
PMC4
PMC42
PMC41
PMC40
(4) Port 4 function register (PF4)
After reset: 00H
PF4
PF4n
Caution When using P41 and P42 as N-ch open-drain-output alternate-function pins, set in
(5) Pull-up resistor option register 4 (PU4)
After reset: 00H
PU4
PU4n
86
CHAPTER 4 PORT FUNCTIONS
R/W
Address: FFFFF448H
0
0
0
Specification of P42 pin operation mode
0
I/O port
1
SCK00 I/O
Specification of P41 pin operation mode
0
I/O port
1
SO00 output
Specification of P40 pin operation mode
0
I/O port
1
SI00 input
R/W
Address: FFFFFC68H
0
0
0
Control of normal output/N-ch open-drain output (n = 1, 2)
0
Normal output
1
N-ch open-drain output
the following sequence.
Be sure to set the port latch to 1 before setting the pin to N-ch open-drain output.
P4n bit = 1 → PF4n bit = 1 → PMC4n bit = 1
R/W
Address: FFFFFC48H
0
0
0
Control of on-chip pull-up resistor connection (n = 1, 2)
0
Not connected
1
Connected
User's Manual U16896EJ2V0UD
0
0
PMC42
PMC41
0
0
PF42
PF41
0
0
PU42
PU41
PMC40
0
0

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents