Format Of Port Mode Register 14 (Pm14) - NEC 78K0 User Manual

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

Advertisement

(7) Port mode register 14 (PM14)
This register sets port 14 input/output in 1-bit units.
When using P142/SCKA0, P144/SOA0, and P145/STB0 pins as the clock output, data output, or strobe
output of the serial interface, clear PM142, PM144, PM145, and the output latches of P142, P144, and P145
to 0.
When using P141/BUSY0, P142/SCKA0, and P143/SIA0 pins as the busy input, clock input, or data input of
the serial interface, set PM141, PM142, and PM143 to 1. At this time, the output latches of P141, P142, and
P143 may be 0 or 1.
PM14 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to FFH.
Figure 17-9. Format of Port Mode Register 14 (PM14)
Address: FF2EH
After reset: FFH
Symbol
7
6
PM14
1
1
PM14n
0
Output mode (output buffer on)
1
Input mode (output buffer off)
CHAPTER 17 SERIAL INTERFACE CSIA0
R/W
5
4
3
PM145
PM144
PM143
P14n pin I/O mode selection (n = 0 to 5)
*
User's Manual U15947EJ2V0UD
2
1
0
PM142
PM141
PM140
389

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents