RTEMS
5.0.0
|
#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 |
This configuration record definition is used for configuring bits and groups of bits of the GPIO interface.
ALT_GPIO_PIN_DATA_t ALT_GPIO_CONFIG_RECORD_s::data |
If the signal is an output, the data value to be output.
ALT_GPIO_PIN_DEBOUNCE_t ALT_GPIO_CONFIG_RECORD_s::debounce |
Enable or disable GPIO debounce capability.
ALT_GPIO_PIN_DIR_t ALT_GPIO_CONFIG_RECORD_s::direction |
The data direction of the signal.
ALT_GPIO_PIN_POL_t ALT_GPIO_CONFIG_RECORD_s::polarity |
Active-high or active-low trigger for the interrupt.
ALT_GPIO_1BIT_t ALT_GPIO_CONFIG_RECORD_s::signal_number |
The index number of the signal to configure.
ALT_GPIO_PIN_TYPE_t ALT_GPIO_CONFIG_RECORD_s::type |
Edge-triggered or level triggered interrupts.