国产精品成人VA在线观看-国产乱妇乱子视频在播放-国产日韩精品一区二区三区在线-国模精品一区二区三区

參數資料
型號: W78LE516F-24
廠商: WINBOND ELECTRONICS CORP
元件分類: 微控制器/微處理器
英文描述: 8-BIT MICROCONTROLLER
中文描述: 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PQFP44
封裝: PLASTIC, QFP-44
文件頁數: 11/31頁
文件大小: 287K
代理商: W78LE516F-24
Preliminary W78LE516
Publication Release Date: June 2000
- 11 -
Revision A1
Here is an example to program the P4.0 as a write strobe signal at the I/O port address
1234H
1237H and positive polarity, and P4.1
P4.3 are used as general I/O ports.
MOV P40AH,#12H
MOV P40AL,#34H
MOV P4CONA,#00001010B
; Base I/O address 1234H for P4.0
; P4.0 a write strobe signal and address line A0 and A1 are masked.
; P4.1
P4.3 as general I/O port which are the same as PORT1
; Write the P40SINV = 1 to inverse the P4.0 write strobe polarity
; default is negative.
; Disable CHPCON write attribute.
MOV P4CONB,#00H
MOV P2ECON,#10H
MOV CHPENR,#00H
Then any instruction MOVX @DPTR,A (with DPTR = 1234H
1237H) will generate the positive
polarity write strobe signal at pin P4.0. And the instruction MOV P4,#XX will output the bit3 to bit1 of
data #XX to pin P4.3
P4.1.
ADDRESS BUS
Bit Length
Selectable
P4xAH
EQUAL
P4.x
MUX 4->1
WR_CS
P4 REGISTER
P4.x
READ
WRITE
DATA I/O
RD_CS
RD/WR_CS
P4xCMP0
P4xFUN0
P4xFUN1
P4xCSINV
P4.x INPUT DATA BUS
REGISTER
PIN
In-System Programming (ISP) Mode
The W78LE516 equips one 64K byte of main MTP-ROM bank for application program (called
APROM) and one 4K byte of auxiliary MTP-ROM bank for loader program (called LDROM). In the
normal operation, the microcontroller executes the code in the APROM. If the content of APROM
needs to be modified, the W78LE516 allows user to activate the In-System Programming (ISP) mode
by setting the CHPCON register.
The CHPCON is read-only by default,
software
must write two
specific values 87H, then 59H sequentially to the CHPENR register to enable the CHPCON
write attribute. Writing CHPENR register with the values except 87H and 59H will close
CHPCON register write attribute.
The W78LE516 achieves all in-system programming operations
including enter/exit ISP Mode, program, erase, read ... etc, during device in the idle mode. Setting the
相關PDF資料
PDF描述
W78LE516P-24 8-BIT MICROCONTROLLER
W78LE51F-24 8-BIT MTP MICROCONTROLLER
W78LE51 8-BIT MTP MICROCONTROLLER
W78LE51-24 8-BIT MTP MICROCONTROLLER
W78LE51P-24 8-BIT MTP MICROCONTROLLER
相關代理商/技術參數
參數描述
W78LE516P-24 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W78LE51C 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W78LE51F-24 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MTP MICROCONTROLLER
W78LE51P-24 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MTP MICROCONTROLLER
W78LE52 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MTP MICROCONTROLLER