English
Language : 

W79E217A Datasheet, PDF (34/207 Pages) Winbond – 8-bit Microcontroller
Preliminary W79E217A Data Sheet
PORT 2
Bit:
7
P2.7
Mnemonic: P2
BIT NAME
7-0 P2
6
5
4
3
2
1
0
P2.6
P2.5
P2.4
P2.3
P2.2
P2.1
P2.0
Address: A0h
FUNCTION
This port functions as an address bus during external memory access, and as a
general-purpose I/O port on devices that incorporate internal program memory.
When P2 functions a non-multiplexed address bus A15-A8 the port latch cannot
be used for general I/O purposes but exists to support the MOVX instructions.
Port 2 data will only be brought out on the P2.7-0 pins during indirect MOVX
instructions.
P2.0
P2.1
P2.2
P2.3
P2.4
P2.5
P2.6
P2.7
ALTERNATE FUNCTION
PWM0 output.
PWM1 output.
PWM2 output.
PWM3 output.
PWM4 output.
PWM5 output.
SCL, I2C serial clock.
SDA, I2C serial data.
XRAMAH
Bit:
7
-
Mnemonic: XRAMAH
BIT NAME
7-3 -
2-0 A10-8
6
5
4
3
2
1
0
-
-
-
-
A10
A9
A8
Address: A1h
FUNCTION
Reserved.
XRAMAH is used for high byte address memory access through A15-8, when
CPU executes MOVX with R0 (or R1) instructions. Depending EnNVM and
DME0 setting, and address, the memory accessed may differs. Table below
shows the memory access destination.
This device has on-chip sram fixed at 2K bytes.
- 34 -
Publication Release Date: December 14, 2007
Revision A3.0