I/O Port - Samsung S3F84B8 User Manual

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

Advertisement

S3F84B8_UM_REV 1.00
9
I/O PORTS
9.1 OVERVIEW OF I/O PORTS
The S3F84B8 microcontroller has three bit-programmable I/O ports (P0, P1, and P2) and 17 I/O pins. Each port
can be easily configured to meet the application design requirements. The CPU accesses ports by directly writing
or reading the port registers. No special I/O instructions are required.
provides a general overview of the S3F84B8 I/O port functions.
Table 9-1
Port
0
I/O port with bit-programmable pins. Configurable to input or push-pull output mode. Pull-up
resistors can be assigned by the software. Pins can also be assigned individually as alternative
function pins.
1
I/O port with bit-programmable pins. Configurable to input or push-pull output mode. Pull-up
resistors can be assigned by the software. Pins can also be assigned individually as alternative
function pins.
2
I/O port with bit-programmable pins. Configurable to input mode or push-pull output mode. Pins can
also be assigned individually as alternative function pins.
For better Electrical Fast transients Test (EFT) performance, when P10, P11, P12, P24, and P25 (with alternative
function as comparator input) are configured as input pins, it is recommended to add 102pF capacitor externally.
9.1.1 PORT DATA REGISTERS
provides an overview of the register locations of all three S3F84B8 I/O port data registers. Data
Table 9-2
registers for ports 0, 1, and 2 have the general format, as shown in
Register Name
Port 0 data register
Port 1 data register
Port 2 data register
Table 9-1
S3F84B8 Port Configuration Overview
Configuration Options
Table 9-2
Port Data Register Summary
Mnemonic
P0
P1
P2
Figure
9-1.
Decimal
Hex
224
E0H
225
E1H
226
E2H
9-1
9 I/O PORTS
Location
R/W
Set1, Bank0
R/W
Set1, Bank0
R/W
Set1, Bank0
R/W

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents