UPD78F0838 Renesas Electronics Corporation., UPD78F0838 Datasheet - Page 404

no-image

UPD78F0838

Manufacturer Part Number
UPD78F0838
Description
8-bit Single-chip Microcontrollers
Manufacturer
Renesas Electronics Corporation.
Datasheet
(8) Port mode registers 1 and 7 (PM1, PM7)
402
PM1 sets port 1 input/output in 1-bit units. PM7 sets port 7 input/output in 1-bit units.
When using the P13/TxD60/SEG23/TIOP30 and P10/SCK10/TxD61/INTP4 pins for serial interface data output,
clear PM13 and PM10 to 0 and set the output latch of P13 and P10 to 1.
When using the P14/RxD60/INTPR60/SEG22/TIOP20 and P11/SI10/RxD61/INTPR61 pins for serial interface
data input, set PM14 and PM11 to 1. The output latch of P14 and P11 at this time may be 0 or 1.
When the ISC7 bit of input switch control (ISC) register is set to 1, the P70/RxD60/INTPR60/CRxD
for serial interface data input and the P71/TxD60/CTxD
P13/TxD60/SEG23/TIOP30 and P14/RxD60/INTPR60/SEG22/TIOP20 pins. In this case, clear PM71 to 0 and
set the output latch of P71 to 1 to use the P71/TxD60/CTxD
P70/RxD60/INTPR60/CRxD
PM1 and PM7 can be set by a 1-bit or 8-bit memory manipulation instruction.
Reset signal generation sets these registers to FFH.
Note
Address: FF21H After reset: FFH
Address: FF27H After reset: FFH
Symbol
Symbol
PM1
PM7
PD78F0844, 78F0845, 78F0846, 78F0847, 78F0848 and 78F0849 only.
Note These bits are set to 1 in 78K0/DE2.
PM77
PMnm
PM17
7
7
0
1
Figure 12-21. Format of Port Mode Registers 1 and 7 (PM1, PM7)
Note
CHAPTER 12 SERIAL INTERFACES UART60 AND UART61
Output mode (output buffer on)
Input mode (output buffer off)
PM76
Note
PM16
6
6
pin. The output latch of P70 at this time may be 0 or 1.
Note
R/W
R/W
Preliminary User’s Manual U19748EJ1V0UD
PM75
PM15
5
5
Note
Pnm pin I/O mode selection (n = 1, 7; m = 0 to 7)
PM74
PM14
4
4
Note
Note
pin is used for serial interface output instead of the
PM13
PM73
Note
3
3
pin.
Also, set PM70 to 1 to use the
PM12
PM72
2
2
PM11
PM71
1
1
Note
pin is used
PM10
PM70
0
0

Related parts for UPD78F0838