RTEMS: ALT_GPIO_CONFIG_RECORD_s Struct Reference

| RTEMS 5.4-rc2

Loading...
Searching...
No Matches
Data Fields
ALT_GPIO_CONFIG_RECORD_s Struct Reference
Board Support Packages » ARM » Intel Cyclone V » Contributed Code » The General Purpose Input/Output Manager API » General-Purpose IO via Bit Index

`#include <alt_generalpurpose_io.h>`

## Data Fields
ALT_GPIO_1BIT_t | signal_number
ALT_GPIO_PIN_DIR_t | direction
ALT_GPIO_PIN_TYPE_t | type
ALT_GPIO_PIN_POL_t | polarity
ALT_GPIO_PIN_DEBOUNCE_t | debounce
ALT_GPIO_PIN_DATA_t | data

## Detailed Description

This configuration record definition is used for configuring bits and groups of bits of the GPIO interface.

## Field Documentation

## ◆ data

ALT_GPIO_PIN_DATA_t ALT_GPIO_CONFIG_RECORD_s::data

If the signal is an output, the data value to be output.

## ◆ debounce

ALT_GPIO_PIN_DEBOUNCE_t ALT_GPIO_CONFIG_RECORD_s::debounce

Enable or disable GPIO debounce capability.

## ◆ direction

ALT_GPIO_PIN_DIR_t ALT_GPIO_CONFIG_RECORD_s::direction

The data direction of the signal.

## ◆ polarity

ALT_GPIO_PIN_POL_t ALT_GPIO_CONFIG_RECORD_s::polarity

Active-high or active-low trigger for the interrupt.

## ◆ signal_number

ALT_GPIO_1BIT_t ALT_GPIO_CONFIG_RECORD_s::signal_number

The index number of the signal to configure.

## ◆ type

ALT_GPIO_PIN_TYPE_t ALT_GPIO_CONFIG_RECORD_s::type

Edge-triggered or level triggered interrupts.

The documentation for this struct was generated from the following file:

- bsps/arm/altera-cyclone-v/include/bsp/alt_generalpurpose_io.h