RTEMS  5.0.0
Data Fields

#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: