upd70f3017ay Renesas Electronics Corporation., upd70f3017ay Datasheet - Page 373

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) Functions of P4 and P5 pins
(2) Control registers
(n = 4, 5)
Ports 4 and 5 are 8-bit I/O ports for which I/O settings can be controlled in 1-bit units. I/O settings are controlled
via the port 4 mode register (PM4) and port 5 mode register (PM5).
In output mode, the values set to each bit are output to ports 4 and 5 (P4 and P5).
When using these ports in input mode, the pin statuses can be read by reading P4 and P5. Also, the P4 and P5
(output latch) values can be read by reading P4 and P5 while in output mode.
A software pull-up function is not implemented.
When using the alternate-function AD0 to AD15 pins, set the pin functions via the memory expansion mode
register (MM). This does not affect PM4 and PM5.
When a reset is input, the settings are initialized to input mode.
(a) Port 4 mode register and port 5 mode register (PM4 and PM5)
After reset: FF
PMn
PM4 and PM5 can be read/written in 1-bit or 8-bit units.
PMnx
H
PMn7
0
1
7
R/W
Output mode
Input mode
PMn6
6
CHAPTER 14 PORT FUNCTION
PMn5
5
User’s Manual U12768EJ4V1UD
Address: FFFFF028H, FFFFF02AH
Control of I/O Mode (n = 4, 5, x = 0 to 7)
PMn4
4
PMn3
3
PMn2
2
PMn1
1
PMn0
0
373

Related parts for upd70f3017ay