参数资料
型号: mPD789322
厂商: NEC Corp.
元件分类: 8位微控制器
英文描述: 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
中文描述: 8位微控制器与2/4/8K字节在系统可编程闪存
文件页数: 16/96页
文件大小: 482K
代理商: MPD789322
Preliminary Product Information U14673EJ1V0PM00
23
PD789322,789324,789326,789327
5.1.3 Port function control registers
The ports are controlled by the following three types of registers.
Port mode registers (PM0 to PM2, PM4, PM6, PM8)
Pull-up resistor option registers (PU0, PUB2)
Port function register 8 (PF8)
(1) Port mode registers (PM0 to PM2, PM4, PM6, PM8)
Input and output can be specified in 1-bit units.
These registers can be set using a 1-bit or 8-bit memory manipulation instruction.
RESET input sets these registers to FFH.
When using the port pins as their alternate functions, set the port mode register and the output latch as shown
in Table 5-3.
Caution Because P61 functions alternately as an external interrupt input, when the output level
changes after the output mode of the port function is specified, the interrupt request flag will
be inadvertently set.
Therefore, be sure to preset the interrupt mask flag (PMK0) before
using the port in output mode.
Figure 5-3. Port Mode Register Format
Symbol
76
54
32
10
Address
After reset
R/W
PM0
1
PM03
PM02
PM01
PM00
FF20H
FFH
R/W
PM1
111
11
1
PM11
PM10
FF21H
FFH
R/W
PM2
1
PM22
PM21
PM20
FF22H
FFH
R/W
PM4
1
PM43
PM42
PM41
PM40
FF24H
FFH
R/W
PM6
111
11
1
PM61
PM60
FF26H
FFH
R/W
PM8
1
PM85
PM84
PM83
PM82
PM81
PM80
FF28H
FFH
R/W
PMmn
Pmn pin input/output mode selection
(m = 0 to 2, 4, 6, 8 n = 0 to 5)
0
Output mode (output buffer on)
1
Input mode (output buffer off)
相关PDF资料
PDF描述
mPD789327GB-xxx-8ET 8-bit Microcontroller with 2/4/8K Bytes In-System Programmable Flash
MPDTH03060WAH 1-OUTPUT 25 W DC-DC REG PWR SUPPLY MODULE
MPLC0525L2R2 1 ELEMENT, 2.2 uH, GENERAL PURPOSE INDUCTOR, SMD
MPM21PDA300A 32-BIT, 300 MHz, MICROPROCESSOR, XMA
MPN2-01000200-28P 1000 MHz - 2000 MHz RF/MICROWAVE WIDE BAND MEDIUM POWER AMPLIFIER
相关代理商/技术参数
参数描述
MPD789322GB-XXX-8ET 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789324 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789324GB-XXX-8ET 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789326 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER
MPD789326GB-XXX-8ET 制造商:NEC 制造商全称:NEC 功能描述:8-BIT SINGLE-CHIP MICROCONTROLLER