English
Language : 

W77L32 Datasheet, PDF (15/76 Pages) Winbond – 8-BIT MICROCONTROLLER
W77L32/W77L032A/W77M032A
will be stretched by the selected interval. When accessing the on-chip SRAM, the MOVX
instruction is always in 2 machine cycles regardless of the stretch setting. By default, the
stretch has value of 1. If the user needs faster accessing, then a stretch value of 0 should be
selected.
MD2 MD1 MD0 Stretch value MOVX duration
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
1
0
1
1
1
0
1
1
1
0
2 machine cycles
1
3 machine cycles (Default)
2
4 machine cycles
3
5 machine cycles
4
6 machine cycles
5
7 machine cycles
6
8 machine cycles
7
9 machine cycles
Port 1
Bit:
Mnemonic: P1
7
P1.7
6
P1.6
5
P1.5
4
P1.4
3
P1.3
2
1
P1.2 P1.1
Address: 90h
0
P1.0
P1.7 − 0: General purpose I/O port. Most instructions will read the port pins in case of a port read
access, however in case of read-modify-write instructions, the port latch is read. Some pins
also have alternate input or output functions. This alternate functions are described below:
P1.0 : T2 External I/O for Timer/Counter 2
P1.1 : T2EX Timer/Counter 2 Capture/Reload Trigger
P1.2 : RXD1 Serial Port 1 Receive
P1.3 : TXD1 Serial Port 1 Transmit
P1.4 : INT2 External Interrupt 2
P1.5 : INT3 External Interrupt 3
P1.6 : INT4 External Interrupt 4
P1.7 : INT5 External Interrupt 5
External Interrupt Flag
Bit:
7
6
5
4
3
2
1
0
IE5
IE4
IE3
IE2 XT/RG RGMD RGSL
-
Mnemonic: EXIF
Address: 91h
IE5: External Interrupt 5 flag. Set by hardware when a falling edge is detected on INT5 .
IE4: External Interrupt 4 flag. Set by hardware when a rising edge is detected on INT4.
IE3: External Interrupt 3 flag. Set by hardware when a falling edge is detected on INT5 .
IE2: External Interrupt 2 flag. Set by hardware when a rising edge is detected on INT2.
XT/ RG RG: Crystal/RC Oscillator Select. Setting this bit selects crystal or external clock as system
clock source. Clearing this bit selects the on-chip RC oscillator as clock source.
XTUP(STATUS.4) must be set to 1 and XTOFF (PMR.3) must be cleared before this bit
- 15 -
Publication Release Date: April 17, 2007
Revision A6