English
Language : 

UPD78F1502AGK-GAK-AX Datasheet, PDF (484/1031 Pages) Renesas Technology Corp – 16-Bit Single-Chip Microcontrollers
78K0R/Lx3
CHAPTER 14 SERIAL ARRAY UNIT
(18) Port mode registers 1, 5, 7, 8 (PM1, PM5, PM7, PM8)
These registers set input/output of ports 1, 5, 7 and 8 in 1-bit units.
When using the P10/SCK20/SCL20, P11/SI20/SDA20/RxD2/INTP6, P12/SO20/TxD2/TO02, P13/SO10/TxD1/TO04,
P14/SI10/SDA10/RxD1/INTP4, P15/SCK10/SCL10/INTP7, P51/TxD3/SEGx (78K0R/LF3: x = 29, 78K0R/LG3: x = 38,
78K0R/LH3: x = 52), P75/SCK01/KR5, P77/SO01/KR7, P80/SCK00/INTP11, and P82/SO00/TxD0 pins for serial data
output or serial clock output, clear the PM10, PM11, PM12, PM13, PM14, PM15, PM51, PM75, PM77, PM80, and
PM82 bits to 0, and set the output latches of P10, P11, P12, P13, P14, P15, P51, P75, P77, P80, and P82 to 1.
When using the P10/SCK20/SCL20, P11/SI20/SDA20/RxD2/INTP6, P14/SI10/SDA10/RxD1/INTP4,
P15/SCK10/SCL10/INTP7, P50/RxD3/SEGx (78K0R/LF3: x = 30, 78K0R/LG3: x = 39, 78K0R/LH3: x = 53),
P75/SCK01/KR5, P76/SI01/KR6, P80/SCK00/INTP11, and P81/SI00/RxD0/INTP9 pins for serial data input or serial
clock input, set the PM10, PM11, PM14, PM15, PM50, PM75, PM76, PM80, and PM81 bits to 1. At this time, the
output latches of P10, P11, P14, P15, P50, P75, P76, P80, and P81 may be 0 or 1.
PM1, PM5, PM7, and PM8 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to FFH.
Figure 14-21. Format of Port Mode Registers 1, 5, 7, and 8 (PM1, PM5, PM7, PM8)
• 78K0R/LF3
Symbol
7
PM1
1
6
5
4
3
2
1
0
Address After reset R/W
1
PM15 PM14 PM13 PM12 PM11 PM10 FFF21H
FFH
R/W
PM5 PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50 FFF25H
FFH
R/W
• 78K0R/LG3
Symbol
7
PM1
1
6
5
4
3
2
1
0
Address After reset R/W
PM16 PM15 PM14 PM13 PM12 PM11 PM10 FFF21H
FFH
R/W
PM5 PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50 FFF25H
FFH
R/W
PM8
1
1
1
1
1
PM82 PM81 PM80 FFF28H
FFH
R/W
• 78K0R/LH3
Symbol
7
6
5
4
3
2
1
0
Address After reset R/W
PM1 PM17 PM16 PM15 PM14 PM13 PM12 PM11 PM10 FFF21H
FFH
R/W
PM5 PM57 PM56 PM55 PM54 PM53 PM52 PM51 PM50 FFF25H
FFH
R/W
PM7 PM77 PM76 PM75 PM74 PM73 PM72 PM71 PM70 FFF27H
FFH
R/W
PM8 PM87 PM86 PM85 PM84 PM83 PM82 PM81 PM80 FFF28H
FFH
R/W
PMmn
0
Output mode (output buffer on)
1
Input mode (output buffer off)
Pmn pin I/O mode selection
(m = 1, 5, 7, 8; n = 0 to 7)
R01UH0004EJ0501 Rev.5.01
468
Jun 20, 2011