upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 354

no-image

upd70f3017ay

Manufacturer Part Number
upd70f3017ay
Description
V850/sa1tm 32-/16-bit Single-chip Microcontroller
Manufacturer
Renesas Electronics Corporation.
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
upd70f3017ayGC-8EU-A
Manufacturer:
MICROCHIP
Quantity:
1 001
(1) Function of P1 pins
(2) Control registers
354
Port 1 is a 6-bit I/O port for which I/O settings can be controlled in 1-bit units. I/O settings are controlled via the
port 1 mode register (PM1).
In output mode, the values set to each bit are output to port 1 (P1). The port 1 function register (PF1) can be used
to specify whether P10 to P12, P14, and P15 are normal outputs or N-ch open-drain outputs.
When using this port in input mode, the pin statuses can be read by reading P1. Also, the P1 (output latch) values
can be read by reading P1 while in output mode.
A pull-up resistor can be connected in 1-bit units when specified via pull-up resistor option register 1 (PU1).
Clear P1 and PM1 to 0 when using alternate-function pins as outputs. The ORed result of the port output and the
alternate-function pin is output from the pins.
When a reset is input, the settings are initialized to input mode.
(a) Port 1 mode register (PM1)
After reset:
PM1
PM1 can be read/written in 1-bit or 8-bit units.
3FH
PM1n
7
0
0
1
R/W
Output mode
Input mode
6
0
CHAPTER 14 PORT FUNCTION
PM15
5
User’s Manual U12768EJ4V1UD
Address: FFFFF022H
PM14
Control of I/O Mode (n = 0 to 5)
4
PM13
3
PM12
2
PM11
1
PM10
0

Related parts for upd70f3017ay