參數(shù)資料
型號(hào): W78E58B-24
廠商: WINBOND ELECTRONICS CORP
元件分類: 微控制器/微處理器
英文描述: 8 BIT MICROCONTROLLER
中文描述: 8-BIT, FLASH, 24 MHz, MICROCONTROLLER, PDIP40
封裝: DIP-40
文件頁數(shù): 10/31頁
文件大?。?/td> 419K
代理商: W78E58B-24
W78E58B
- 10 -
Port 4 Base Address Registers
P40AH, P40AL
The Base address register for comparator of P4.0. P40AH contains the high-order byte of address,
P40AL contains the low-order byte of address.
P41AH, P41AL
The Base address register for comparator of P4.1. P41AH contains the high-order byte of address,
P41AL contains the low-order byte of address.
P42AH, P42AL
The Base address register for comparator of P4.2. P42AH contains the high-order byte of address,
P42AL contains the low-order byte of address.
P43AH, P43AL
The Base address register for comparator of P4.3. P43AH contains the high-order byte of address,
P43AL contains the low-order byte of address.
P4 (D8H)
BIT
7
6
5
4
3
2
1
0
NAME
-
-
-
-
P43
P42
P41
P40
FUNCTION
Reserve
Reserve
Reserve
Reserve
Port 4 Data bit which outputs to pin P4.3 at mode 0.
Port 4 Data bit. which outputs to pin P4.2 at mode 0.
Port 4 Data bit. which outputs to pin P4.1at mode 0.
Port 4 Data bit which outputs to pin P4.0 at mode 0.
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
MOV P4CONB, #00H
MOV P2ECON, #10H
; 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.
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.
相關(guān)PDF資料
PDF描述
W78E58B 8 BIT MICROCONTROLLER
W78E58BF 8 BIT MICROCONTROLLER
W78E58BP 8 BIT MICROCONTROLLER
W78E58F-16 8-BIT MICROCONTROLLER
W78E58F-24 8-BIT MICROCONTROLLER
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W78E58BF 制造商:WINBOND 制造商全稱:Winbond 功能描述:8 BIT MICROCONTROLLER
W78E58BP 制造商:WINBOND 制造商全稱:Winbond 功能描述:8 BIT MICROCONTROLLER
W78E58F-16 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W78E58F-24 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER
W78E58F-40 制造商:WINBOND 制造商全稱:Winbond 功能描述:8-BIT MICROCONTROLLER