English
Language : 

W77LE532_07 Datasheet, PDF (25/88 Pages) Winbond – 8-BIT MICROCONTROLLER
W77LE532/W77L532A
RI_1: Receive interrupt flag: This flag is set by hardware at the end of the 8th bit time in mode 0, or
halfway through the stop bits time in the other modes during serial reception. However the
restrictions of SM2_1 apply to this bit. This bit can be cleared only by software.
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
WSCON
CKCON
MOV
MOV
ORL
REG 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.
- 25 -
Publication Release Date: February 1, 2007
Revision A7