Port 12 - NEC Renesas V850/SC1 User Manual

32-bit single-chip microcontrollers
Hide thumbs Also See for Renesas V850/SC1:
Table of Contents

Advertisement

5.2.11

Port 12

Port 12 is an 8-bit I/O port for which I/O settings can be controlled in 1-bit units.
P12 can be read/written in 8- or 1-bit units.
When using this port as the SCK5, SI5, SO5, SCK6, SI6, and SO6 pins, set via port alternate-function control
register 2 (PAC2).
After reset:
00H
7
P12
P127
P12n
0
1
Remark
In input mode:
In output mode: When P12 is read, the values of P12 are read. Writing to P12 writes the values to
Port 12 includes the following alternate functions.
Pin Name
Port 12
P120
P121
P122
P123
P124
P125
P126
P127
Note Software pull-up function
176
CHAPTER 5
R/W
Address: FFFFF018H
6
5
P126
P125
Control of output data (in output mode) (n = 0 to 7)
Outputs 0
Outputs 1
When P12 is read, the pin levels at that time are read. Writing to P12 writes the
values to that port. This does not affect the input pins.
that port, and those values are immediately output.
Table 5-12. Port 12 Alternate Function Pins
Alternate Function
SCK5
SI5
SO5
SCK6
SI6
SO6
TO10
TO11
User's Manual U15109EJ3V0UD
PORT FUNCTIONS
4
3
P124
P123
P122
Note
I/O
PULL
I/O
No
2
1
0
P121
P120
Remark

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents