English
Language : 

W77C32_07 Datasheet, PDF (19/78 Pages) Winbond – 8-BIT MICROCONTROLLER
W77C32/W77C032A
P3.7-0: General purpose I/O port. Each pin also has an alternate input or output function. The
alternate functions are described below.
P3.7 RD Strobe for read from external RAM
P3.6 WR Strobe for write to external RAM
P3.5 T1 Timer/counter 1 external count input
P3.4 T0 Timer/counter 0 external count input
P3.3 INT1 External interrupt 1
P3.2 INT0 External interrupt 0
P3.1 TxD Serial port 0 output
P3.0 RxD Serial port 0 input
Interrupt Priority
Bit:
7
6
5
4
3
2
1
0
-
PS1 PT2 PS PT1 PX1 PT0 PX0
Mnemonic: IP
Address: B8h
IP.7: This bit is un-implemented and will read high.
PS1: This bit defines the Serial port 1 interrupt priority.
PT2: This bit defines the Timer 2 interrupt priority.
PS: This bit defines the Serial port 0 interrupt priority.
PT1: This bit defines the Timer 1 interrupt priority.
PX1: This bit defines the External interrupt 1 priority.
PT0: This bit defines the Timer 0 interrupt priority.
PX0: This bit defines the External interrupt 0 priority.
PS = 1 sets it to higher priority level.
PT2 = 1 sets it to higher priority level.
PS = 1 sets it to higher priority level.
PT1 = 1 sets it to higher priority level.
PX1 = 1 sets it to higher priority level.
PT0 = 1 sets it to higher priority level.
PX0 = 1 sets it to higher priority level.
Slave Address Mask Enable
Bit:
7
6
5
4
3
2
1
0
Mnemonic: SADEN
Address: B9h
SADEN: This register enables the Automatic Address Recognition feature of the Serial port 0. When
a bit in the SADEN is set to 1, the same bit location in SADDR will be compared with the
incoming serial data. When SADEN.n is 0, then the bit becomes a “don’t care” in the
comparison. This register enables the Automatic Address Recognition feature of the Serial
port 0. When all the bits of SADEN are 0, interrupt will occur for any incoming address.
Slave Address Mask Enable 1
Bit:
7
6
5
4
3
2
1
0
Mnemonic: SADEN1
Address: Bah
SADEN1:This register enables the Automatic Address Recognition feature of the Serial port 1. When
a bit in the SADEN1 is set to 1, the same bit location in SADDR1 will be compared with the
incoming serial data. When SADEN1.n is 0, then the bit becomes a “don’t care” in the
- 19 -
Publication Release Date: February 1, 2007
Revision A8