upd78f0124m6gba1-8et Renesas Electronics Corporation., upd78f0124m6gba1-8et Datasheet - Page 176

no-image

upd78f0124m6gba1-8et

Manufacturer Part Number
upd78f0124m6gba1-8et
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(3) Port mode register 1 and 3 (PM1, PM3)
176
These registers set ports 1 and 3 input/output in 1-bit units.
When using the P17/TO50/TI50 and P33/TO51/TI51/INTP4 pins for timer output, clear PM17 and PM33 and the
output latches of P17 and P33 to 0.
When using the P17/TO50/TI50 and P33/TO51/TI51/INTP4 pins for timer input, set PM17 and PM33 to 1. The
output latches of P17 and P33 at this time may be 0 or 1.
PM1 and PM3 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to FFH.
Address: FF21H
Symbol
PM1
Address: FF23H
Symbol
PM3
PM17
PM1n
PM3n
7
0
1
7
1
0
1
After reset: FFH
After reset: FFH
Output mode (output buffer on)
Input mode (output buffer off)
Output mode (output buffer on)
Input mode (output buffer off)
PM16
CHAPTER 7 8-BIT TIMER/EVENT COUNTERS 50 AND 51
6
6
1
Figure 7-10. Format of Port Mode Register 3 (PM3)
Figure 7-9. Format of Port Mode Register 1 (PM1)
PM15
5
5
1
R/W
R/W
P1n pin I/O mode selection (n = 0 to 7)
P3n pin I/O mode selection (n = 0 to 3)
User’s Manual U16315EJ3V1UD
PM14
4
4
1
PM13
PM33
3
3
PM12
PM32
2
2
PM11
PM31
1
1
PM10
PM30
0
0

Related parts for upd78f0124m6gba1-8et