Port 0 - Samsung S3F84B8 User Manual

8-bit cmos
Hide thumbs Also See for S3F84B8:
Table of Contents

Advertisement

S3F84B8_UM_REV 1.00

9.1.1.1 Port 0

Port 0 is a 6-bit I/O port that you can use in two ways:
General-purpose I/O
Alternative function
Port 0 is accessed directly by writing or reading the port 0 data register, P0, at location E0H, Set1 Bank0.
9.1.1.1.1 Port 0 Control Register (P0CONH, P0CONL)
Port 0 pins are configured individually by setting bit-pair in two control registers located at
P0CONH (high byte, E4H, Set1 Bank0) and P0CONL (low byte, E3H, Set1 Bank0).
When you select the output mode, a push-pull or an open-drain circuit is configured. Different selections are
available such as:
Input mode
Output mode (Push-pull or Open-drain)
Alternative function: External Interrupt – INT0, INT1, INT2, INT3, INT4, INT5
Alternative function: BUZ output - BUZ
Alternative function: PWM output - PWM
Alternative function: Timer A output - TAOUT
Alternative function: RESETB (by Smart option)
9-2
9 I/O PORTS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents