English
Language : 

W77LE516 Datasheet, PDF (25/89 Pages) Winbond – 8-BIT MICROCONTROLLER
W77LE516/W77L516A
SERIAL DATA BUFFER 1
Bit:
7
6
5
4
3
2
1
0
SBUF1.7 SBUF1.6 SBUF1.5 SBUF1.4 SBUF1.3 SBUF1.2 SBUF1.1 SBUF1.0
Mnemonic: SBUF1
Address: C1h
SBUF1.7-0: Serial data of the serial port 1 is read from or written to this location. It actually consists of
two separate 8-bit registers. One is the receive resister, and the other is the transmit
buffer. Any read access gets data from the receive data buffer, while write accesses are
to the transmit data buffer.
WSCON
Bit:
7
6
WS
-
5
4
3
2
1
0
-
-
-
-
-
-
Mnemonic: WSCON
Address: C2h
WS: Wait State Signal Enable. Setting this bit enables the WAIT signal on P4.0. The device will
sample the wait state control signal WAIT via P4.0 during MOVX instruction. This bit is time
access protected.
TA REG
WSCON
CKCON
MOV
MOV
ORL
C7H
REG C2H
REG 8EH
TA, #AAH
TA, #55H
WSCON, #10000000B ; Set WS bit and stretch value = 0 to enable wait
signal.
POWER MANAGEMENT REGISTER
Bit:
7
6
5
4
CD1
CD0
SWB
-
3
2
1
-
ALE-OFF
-
0
DME0
Mnemonic: PMR
Address: C4h
CD1, CD0: Clock Divide Control. These bit selects the number of clocks required to generate one
machine cycle. There are three modes including divide by 4, 64 or 1024. Switching
between modes must first go back divide by 4 mode. For instance, to go from 64 to 1024
locks/machine cycle the device must first go from 64 to 4 clocks/machine cycle, and then
from 4 to 1024 clocks/machine cycle.
CD1,
CD0
0
0
0
1
1
0
1
1
CLOCKS/MACHINE CYCLE
Reserved
4
64
1024
- 25 -
Publication Release Date: February 1, 2007
Revision A6