Download USER`S MANUAL
Transcript
I/O PORTS S3F84Q5_UM_REV1.00 PORT 3 Port 3 is a 7-bit I/O Port that you can use two ways: • General-purpose I/O • Alternative function Port 3 is accessed directly by writing or reading the port 3 data register, P3 at location E3H, Set1 Bank0. Port 3 Control / Interrupt Control Register (P3CON) Port 3 pins are configured individually by bit-pair settings in two control registers located: P3CONL (EDH, Set1 Bank0) and P3CONH (ECH, Set1 Bank0). When you select output mode, a push-pull or an open-drain circuit is configured. In input mode, many different selections are available: • Input mode. • Output mode(Push-pull or Open-drain) • Alternative function: External Interrupt − INT2–INT8 (falling edge) • Alternative function: SIO module − SI/SO/SCK 9-12
Related documents