NEC mPD784225 Series User Manual page 357

16-/8-bit single-chip microcontrollers
Table of Contents

Advertisement

(2) Port 2 mode register (PM2)
This register sets port 2 I/O in 1-bit units.
When the P24/BUZ pin is used as the buzzer output function, set the output latches of PM24 and P24 to 0.
PM2 is set by a 1-bit or 8-bit memory manipulation instruction.
RESET input sets PM2 to FFH.
Address: 0FF22H After reset: FFH
Symbol
7
PM2
PM27
CHAPTER 20 BUZZER OUTPUT FUNCTIONS
Figure 20-3. Format of Port 2 Mode Register (PM2)
R/W
6
5
4
PM26
PM25
PM24
PM2n
P2n pin I/O mode selection (n = 0 to 7)
0
Output mode (output buffer on)
1
Input mode (output buffer off)
User's Manual U12697EJ3V0UM
3
2
1
PM23
PM22
PM21
0
PM20
357

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mpd784225y seriesMpd784224Mpd784225Mpd78f4225Mpd784224yMpd784225y ... Show all

Table of Contents