NEC MuPD78F0132H User Manual page 207

8-bit single-chip microcontrollers, 78k0/ke1plus
Table of Contents

Advertisement

(3) Port mode register 1 (PM1)
This register sets port 1 input/output in 1-bit units.
When using the P15/TOH0 and P16/TOH1/INTP5 pins for timer output, clear PM15 and PM16 and the output
latches of P15 and P16 to 0.
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 8 8-BIT TIMERS H0 AND H1
Figure 8-8. 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 U16899EJ2V0UD
3
2
1
PM13
PM12
PM11
0
PM10
207

Advertisement

Table of Contents
loading

Table of Contents