Format Of Port Mode Register 1 (Pm1) - NEC 78K0 User Manual

8-bit single-chip microcontrollers
Hide thumbs Also See for 78K0:
Table of Contents

Advertisement

Remarks 1. f
: Frequency of base clock selected by the TPS01 and TPS00 bits
XCLK0
2. f
:
X1 input clock oscillation frequency
X
3. k:
Value set by the MDL04 to MDL00 bits (k = 8, 9, 10, ..., 31)
4. ×:
Don't care
5. Figures in parentheses apply to operation at f
(4) Port mode register 1 (PM1)
This register sets port 1 input/output in 1-bit units.
When using the P10/TxD0/SCK10 pin for serial interface data output, clear PM10 to 0 and set the output latch of
P10 to 1.
When using the P11/RxD0/SI10 pin for serial interface data input, set PM11 to 1. The output latch of P11 at this
time may be 0 or 1.
PM1 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to FFH.
Address: FF21H
After reset: FFH
Symbol
7
PM1
PM17
PM1n
0
Output mode (output buffer on)
1
Input mode (output buffer off)
CHAPTER 14 SERIAL INTERFACE UART0
Figure 14-5. Format of Port Mode Register 1 (PM1)
R/W
6
5
4
PM16
PM15
PM14
P1n pin I/O mode selection (n = 0 to 7)
User's Manual U15947EJ2V0UD
= 10 MHz
X
3
2
PM13
PM12
PM11
*
1
0
PM10
307

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents