MotorWare f2806x Driver API Documentation
Functions
gpio.c File Reference

The functions in this file are used to configure the general purpose I/O (GPIO) registers. More...

#include "sw/drivers/gpio/src/32b/f28x/f2806x/gpio.h"

Go to the source code of this file.

Functions

bool GPIO_getData (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber)
 Returns the data value present on a pin (either input or output) More...
 
uint16_t GPIO_getPortData (GPIO_Handle gpioHandle, const GPIO_Port_e gpioPort)
 Returns the data value present on a GPIO port. More...
 
GPIO_Handle GPIO_init (void *pMemory, const size_t numBytes)
 Initializes the general purpose I/O (GPIO) object handle. More...
 
void GPIO_setPullup (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber, const GPIO_Pullup_e pullup)
 Sets the general purpose I/O (GPIO) pullup disable. More...
 
void GPIO_setDirection (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber, const GPIO_Direction_e direction)
 Sets the general purpose I/O (GPIO) signal direction. More...
 
void GPIO_setExtInt (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber, const CPU_ExtIntNumber_e intNumber)
 Sets the general purpose I/O (GPIO) external interrupt number. More...
 
bool GPIO_read (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber)
 Reads the specified general purpose I/O (GPIO) More...
 
void GPIO_setHigh (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber)
 Sets the specified general purpose I/O (GPIO) signal high. More...
 
void GPIO_setLow (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber)
 Sets the specified general purpose I/O (GPIO) signal low. More...
 
void GPIO_setMode (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber, const GPIO_Mode_e mode)
 Sets the mode for the specified general purpose I/O (GPIO) signal. More...
 
void GPIO_setPortData (GPIO_Handle gpioHandle, const GPIO_Port_e gpioPort, const uint16_t data)
 Sets data output on a given GPIO port. More...
 
void GPIO_setQualification (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber, const GPIO_Qual_e qualification)
 Sets the qualification for the specified general purpose I/O (GPIO) More...
 
void GPIO_setQualificationPeriod (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber, const uint_least8_t period)
 Sets the qualification period for the specified general purpose I/O block (8 I/O's per block) More...
 
void GPIO_toggle (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber)
 Toggles the specified general purpose I/O (GPIO) signal. More...
 
void GPIO_lpmSelect (GPIO_Handle gpioHandle, const GPIO_Number_e gpioNumber)
 Selects a gpio pin to wake up device from STANDBY and HALT LPM. More...
 

Detailed Description

The functions in this file are used to configure the general purpose I/O (GPIO) registers.

(C) Copyright 2015, Texas Instruments, Inc.

Definition in file gpio.c.