1 introduction, 1 purpose of the peripheral, 2 features – Texas Instruments TMS320DM644x User Manual

Page 8: Peripheral, General-purpose input/output (gpio), User's guide

Advertising
background image

1

Introduction

1.1

Purpose of the Peripheral

1.2

Features

User's Guide

SPRUE25 – December 2005

General-Purpose Input/Output (GPIO)

The GPIO peripheral provides dedicated general-purpose pins that can be configured as either inputs or
outputs. When configured as an output, you can write to an internal register to control the state driven on
the output pin. When configured as an input, you can detect the state of the input by reading the state of
an internal register.

Most system on a chip (SoC) devices require some general-purpose input/output (GPIO) functionality in
order to interact with other components in the system using low-speed interface pins. The control and use
of the GPIO capability on this device is grouped together in the GPIO peripheral and is described in the
following sections.

The GPIO peripheral consists of the following features.

Output set/clear functionality through separate data set and clear registers allows multiple software
processes to control GPIO signals without critical section protection.

Set/clear functionality through writing to a single output data register is also supported.

Separate input/output registers

Output register can be read to reflect output drive status.

Input register can be read to reflect pin status.

Some

GPIO

signals can be used as interrupt sources with configurable edge detection.

8

General-Purpose Input/Output (GPIO)

SPRUE25 – December 2005

Advertising