Format Of Port Mode Register 0 (Pm0) - NEC 78K0 User Manual

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

Advertisement

(5) Port mode register 0 (PM0)
This register sets port 0 input/output in 1-bit units.
When using the P01/TO00/TI010 and P06/TO01
output latches of P01 and P06 to 0.
When using the P01/TO00/TI010 and P06/TO01
this time, the output latches of P01 and P06 may be 0 or 1.
PM0 can be set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM0 to FFH.
184
CHAPTER 7 16-BIT TIMER/EVENT COUNTERS 00 AND 01
Note
/TI011
Note
/TI011
Figure 7-14. Format of Port Mode Register 0 (PM0)
Address: FF20H
After reset: FFH
Symbol
7
6
5
PM0
1
PM06
PM05
PM0n
P0n pin I/O mode selection (n = 0 to 6)
0
Output mode (output buffer on)
1
Input mode (output buffer off)
Note Available only for the
User's Manual U15947EJ2V0UD
Note
pins for timer output, clear PM01 and PM06 and the
Note
pins for timer input, clear PM01 and PM06 to 0. At
R/W
4
3
2
1
PM04
PM03
PM02
PM01
PM00
µ
PD780146, 780148, and 78F0148.
*
0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

78kf1

Table of Contents