Format Of Port Mode Register 2 - NEC PD789860 User Manual

8-bit single-chip microcontrollers pd789860 subseries; pd789861 subseries
Table of Contents

Advertisement

(4)
Port mode register 2 (PM2)
PM2 sets port 2 to input/output in 1-bit units.
When using the P20/TMO/BSFO pin as a timer output, clear the PM20 and P20 output latch to 0.
When using the P21/TMI pin as a timer input, set the PM21 to 1.
This register is set with a 1-bit or 8-bit memory manipulation instruction.
RESET input sets this register to FFH.
Symbol
7
6
PM2
1
1
PM2m
0
Output mode (output buffer on)
1
Input mode (output buffer off)
92
CHAPTER 9 8-BIT TIMERS 30 AND 40
Figure 9-7. Format of Port Mode Register 2
5
4
3
1
1
1
P2m pin input/output mode (m = 0, 1)
User's Manual U14826EJ5V0UD
2
1
0
Address After reset
1
PM21
PM20
R/W
FF22H
FFH
R/W

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd78e9861aPd78e9860aPd789860(a)Pd789861

Table of Contents