W78E516B40DL Nuvoton Technology Corporation of America, W78E516B40DL Datasheet - Page 13

no-image

W78E516B40DL

Manufacturer Part Number
W78E516B40DL
Description
IC MCU 8-BIT 64K FLASH 40-DIP
Manufacturer
Nuvoton Technology Corporation of America
Series
W78r
Datasheet

Specifications of W78E516B40DL

Core Processor
8052
Core Size
8-Bit
Speed
40MHz
Connectivity
EBI/EMI, UART/USART
Peripherals
POR
Number Of I /o
32
Program Memory Size
64KB (64K x 8)
Program Memory Type
FLASH
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
4.5 V ~ 5.5 V
Oscillator Type
Internal
Operating Temperature
0°C ~ 70°C
Package / Case
40-DIP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Data Converters
-

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
W78E516B40DL
Manufacturer:
WINBOND
Quantity:
5 530
Part Number:
W78E516B40DL
Manufacturer:
WINBOND
Quantity:
5 120
Part Number:
W78E516B40DL
Manufacturer:
TI
Quantity:
6 249
Part Number:
W78E516B40DL
Manufacturer:
WINBOND/华邦
Quantity:
20 000
P4 (D8H)
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
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.
BIT
7
6
5
4
3
2
1
0
NAME
P43
P42
P41
P40
-
-
-
-
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.
; 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.
- 13 -
FUNCTION
Publication Release Date: December 4, 2006
W78E516B
Revision A11

Related parts for W78E516B40DL