欢迎访问ic37.com |
会员登录 免费注册
发布采购

W78LE812P-24 参数 Datasheet PDF下载

W78LE812P-24图片预览
型号: W78LE812P-24
PDF下载: 下载PDF文件 查看货源
内容描述: 8位MTP单片机 [8-BIT MTP MICROCONTROLLER]
分类和应用:
文件页数/大小: 25 页 / 333 K
品牌: WINBOND [ WINBOND ]
 浏览型号W78LE812P-24的Datasheet PDF文件第2页浏览型号W78LE812P-24的Datasheet PDF文件第3页浏览型号W78LE812P-24的Datasheet PDF文件第4页浏览型号W78LE812P-24的Datasheet PDF文件第5页浏览型号W78LE812P-24的Datasheet PDF文件第7页浏览型号W78LE812P-24的Datasheet PDF文件第8页浏览型号W78LE812P-24的Datasheet PDF文件第9页浏览型号W78LE812P-24的Datasheet PDF文件第10页  
W78LE812
Port Options Register
Bit:
7
EP6
PUP
EP5
EP6
6
EP5
5
-
4
HD7
3
HD6
2
HD5
1
HD4
0
PUP
Mnemonic: POR
: Enable Port 0 weak pull-up.
Address: 86H
HD4−7 : Enable pins P3.4 to P3.7 individually with High Drive outputs.
: Enable P4.5. To set this bit shifts ALE pin to the alternate function P4.5.
: Enable P4.6. To set this bit shifts PSEN pin to the alternate function P4.6
Port 4
The W78LE812 has one additional bit-addressable I/O port P4 in which the port address is D8H. The
Port 4 contains seven bits; P4.0 to P4.3 are only available on 44-pin PLCC/QFP package; P4.5 and
P4.6 are the alternate function corresponding to pins ALE, PSEN . When program is running in the
internal memory without any access to external memory, ALE and PSEN may be individually
configured to the alternate functions P4.5 and P4.6 that serve as general purpose I/O pins. To enable
I/O port P4.5 and P4.6, the bits EP5 and EP6 in the POR register must be set. During reset, the, ALE
and PSEN perform as in the standard 80C32. The alternate functions P4.5 and P4.6 must be
enabled by software. Care must be taken with the ALE pins when configured as the alternate
functions. The ALE will emit pulses until either the EP5 bit in POR register or AO bit in AUXR register
is set to 1. i.e. User's applications should elude the ALE pulses before software configure it with I/O
port P4.5.
Port 4
Bit:
7
-
6
P4.6
5
P4.5
4
-
3
P4.3
2
P4.2
1
P4.1
0
P4.0
Mnemonic: P4
Address: D8H
Interrupt System
The W78LE812 has twelve interrupt sources:
INT0
and
INT1;
Timer 0,1 and 2; Serial Port; INT2 to
INT9. Each interrupt vectors to a specific location in program memory for its interrupt service routine.
Each of these sources can be individually enabled or disabled by setting or clearing the
corresponding bit in Special Function Register IE0 and IE1. The individual interrupt priority level
depends on the Interrupt Priority Register IP0 and IP1. Additional external interrupts INT2 to INT9 are
level sensitive and may be used to awake the device from power down mode. The Port 1 interrupts
can be initialized to either active HIGH or LOW via setting the Interrupt Polarity Register IX. The IRQ
register contains the flags of Port 1 interrupts. Each flag in IRQ register will be set when a interrupt
request is recognized but
must be cleared by software.
Note that the interrupt flags have to be
cleared before the interrupt service routine is completed, or else another interrupt will be generated.
-6-