NEC mPD780065 Series Preliminary User's Manual page 113

8-bit single-chip microcontrollers
Table of Contents

Advertisement

(5) Port mode register 2 (PM2)
This register sets port 2 input/output in 1-bit units.
When using the P20/TO0/TI00 pin for timer output, set PM20 and the output latch of P20 to 0.
PM2 is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM7 value to FFH.
CHAPTER 6 16-BIT TIMER/EVENT COUNTER
Figure 6-6. Format of Port Mode Register 2 (PM2)
Address: FF22H
After reset: FFH
Symbol
7
6
5
PM2
PM27
PM26
PM25
PM24
PM2n
P2n pin input/output mode selection (n = 0 to 7)
0
Output mode (output buffer ON)
1
Input mode (output buffer OFF)
Preliminary User's Manual U13420EJ2V0UM00
R/W
4
3
2
1
0
PM23
PM22
PM21
PM20
113

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd780065Mpd78f0066

Table of Contents