Electronic Components Datasheet Search
  English  ▼

X  

W78LE365 Datasheet(PDF) 13 Page - Winbond

Part # W78LE365
Description  8-BIT MICROCONTROLLER
PDF  42 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  WINBOND [Winbond]
Direct Link  http://www.winbond.com
Logo WINBOND - Winbond

W78LE365 Datasheet(HTML) 13 Page - Winbond

Back Button W78LE365 Datasheet HTML 9Page - Winbond W78LE365 Datasheet HTML 10Page - Winbond W78LE365 Datasheet HTML 11Page - Winbond W78LE365 Datasheet HTML 12Page - Winbond W78LE365 Datasheet HTML 13Page - Winbond W78LE365 Datasheet HTML 14Page - Winbond W78LE365 Datasheet HTML 15Page - Winbond W78LE365 Datasheet HTML 16Page - Winbond W78LE365 Datasheet HTML 17Page - Winbond Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 42 page
background image
W78LE365/W78L365A
Publication Release Date: January 10, 2007
- 13 -
Revision A7
5.6.3
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
NAME
FUNCTION
7
P47
I/O pin
6
P46
I/O pin.
5
P45
I/O pin.
4
P44
I/O pin.
3
P43
Port 4 Data bit which outputs to pin P4.3 at mode 0.
2
P42
Port 4 Data bit. which outputs to pin P4.2 at mode 0.
1
P41
Port 4 Data bit. which outputs to pin P4.1at mode 0.
0
P40
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. P4.4−P4.7 is only available for 48
pin package.
MOV P40AH, #12H
MOV P40AL, #34H
; Base I/O address 1234H for P4.0
MOV P4CONA, #00001010B
; P4.0 a write strobe signal and address line A0 and A1 are masked.
MOV P4CONB, #00H
; 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.
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.



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com