參數(shù)資料
型號(hào): W78E365D-40
英文描述: Microcontroller
中文描述: 微控制器
文件頁(yè)數(shù): 11/35頁(yè)
文件大?。?/td> 186K
代理商: W78E365D-40
Preliminary W78E365
Publication Release Date: April 2001
- 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
; Define the base I/O address 1234H for P4.0 as an special function
; pin
MOV P4CONA,#00001010B
; Define the P4.0 as a write strobe signal pin and the comparator
; length ;is 14
; P4.1
P4.3 as general I/O port which are the same as PORT1
MOV P2ECON,#10H
; Write the P40SINV = 1 to inverse the P4.0 write strobe polarity
; default is negative.
MOV CHPENR,#00H
; Disable CHPCON write attribute.
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.
MOV P4CONB,#00H
READ
WRITE
ADDRESS BUS
PORT2 INPUT DATA BUS
PORT 2 OUTPUT DATA BUS
MUX
DEMUX
74373
Latch
G
74244
Buffer
G
16 Bit
comparator
REGISTER
P2EAL
P2EAH
EQUAL
INTERNAL DATA BUS
P2ECON.P2CN0
P2ECON.P2CN1
PORT 2
PORT2 BASIC STRUCTURE
相關(guān)PDF資料
PDF描述
W78E365F-24 Microcontroller
W78E365F-40 Microcontroller
W78E365P-24 Microcontroller
W78E365P-40 Microcontroller
W78E374 Monitor Controller
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
W78E365F-24 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
W78E365F-40 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
W78E365P-24 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
W78E365P-40 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Microcontroller
W78E374 制造商:未知廠家 制造商全稱:未知廠家 功能描述:Monitor Controller