NEC 78K0 Series User Manual page 334

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

Advertisement

Cautions 1. Make sure that bit 6 (TXE0) and bit 5 (RXE0) of the ASIM0 register = 0 when rewriting the
MDL04 to MDL00 bits.
2. The baud rate value is the output clock of the 5-bit counter divided by 2.
Remarks 1. f
: Frequency of base clock selected by the TPS01 and TPS00 bits
XCLK0
2. f
:
Peripheral hardware clock frequency
PRS
3. k:
Value set by the MDL04 to MDL00 bits (k = 8, 9, 10, ..., 31)
4. ×:
Don't care
5. TMC506: Bit 6 of 8-bit timer mode control register 50 (TMC50)
TMC501: Bit 1 of TMC50
(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 signal generation 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)
334
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)
Preliminary User's Manual U17260EJ3V1UD
3
2
1
PM13
PM12
PM11
0
PM10

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents