Port 4 - NEC V850ES/KE1+ User Manual

32-bit single-chip microcontrollers
Table of Contents

Advertisement

4.3.3 Port 4

Port 4 is a 3-bit I/O port for which I/O settings can be controlled in 1-bit units.
Port 4 includes the following alternate functions.
Pin No.
Pin Name
19
P40
20
P41
21
P42
Note Software pull-up function
Caution P40 and P42 have hysteresis characteristics when the alternate function is input, but not in the
port mode.
(1) Port 4 register (P4)
After reset: 00H (output latch)
P4
(2) Port 4 mode register (PM4)
After reset: FFH
PM4
PM4n
CHAPTER 4 PORT FUNCTIONS
Table 4-6. Alternate-Function Pins of Port 4
Alternate Function
SI00
Input
SO00
Output
SCK00
I/O
R/W
0
0
0
P4n
Control of output data (in output mode) (n = 0 to 2)
0
0 is output
1
1 is output
R/W
Address: FFFFF428H
1
1
1
Control of I/O mode (n = 0 to 2)
0
Output mode
1
Input mode
User's Manual U16896EJ2V0UD
Note
I/O
PULL
Yes
N-ch open-drain output can
be selected.
Address: FFFFF408H
0
0
P42
1
1
PM42
Remark
Block Type
D1-SUL
D0-UF
D2-SUFL
P41
P40
PM41
PM40
85

Advertisement

Table of Contents
loading

This manual is also suitable for:

?pd70f3302?pd703302?pd70f3302y?pd703302y

Table of Contents