Port 1 - 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.2 Port 1

Port 1 is a 3-bit I/O port that you can use in two ways:
General-purpose I/O
Alternative function
Port 1 is accessed directly by writing or reading the port 1 data register, P1, at location E1H, Set1 Bank0.
9.1.1.2.1 Port 1 Control Register (P1CON)
Port 1 pins are configured by setting the control registers located at P1CON (E7H, Set1 Bank0).
When you select the output mode, push-pull circuit can be configured. In the input mode, pull-up resistor can be
configured as on or off. For alternative functions, different selections are available such as:
Input mode
Output mode (Push-pull)
Alternative function: Timer A- TACK, TACAP
Alternative function: Comparator-CMP0_N, CMP0_P, CMP1_N
9-7
9 I/O PORTS

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents