45 IMX_GPIO_MODE_INTERRUPT_LOW,
46 IMX_GPIO_MODE_INTERRUPT_HIGH,
47 IMX_GPIO_MODE_INTERRUPT_RISING,
48 IMX_GPIO_MODE_INTERRUPT_FALLING,
49 IMX_GPIO_MODE_INTERRUPT_ANY_EDGE,
101 const uint32_t *prop_pointer,
102 enum imx_gpio_mode mode,
103 const uint32_t **next_prop_pointer);
125 const char *property,
126 enum imx_gpio_mode mode,
155struct imx_gpio *imx_gpio_get_by_index(
unsigned idx);
160struct imx_gpio *imx_gpio_get_by_register(
void *regs);
171void imx_gpio_set_output(
struct imx_gpio_pin *pin, uint32_t set);
202void imx_gpio_clear_isr(
struct imx_gpio_pin *pin, uint32_t clr);
209#define IMX_GPIO1 (imx_gpio_get_by_index(0))
210#define IMX_GPIO2 (imx_gpio_get_by_index(1))
211#define IMX_GPIO3 (imx_gpio_get_by_index(2))
212#define IMX_GPIO4 (imx_gpio_get_by_index(3))
213#define IMX_GPIO5 (imx_gpio_get_by_index(4))
214#define IMX_GPIO6 (imx_gpio_get_by_index(5))
215#define IMX_GPIO7 (imx_gpio_get_by_index(6))
ISR_Vector_number rtems_vector_number
This integer type represents interrupt vector numbers.
Definition: intr.h:102
rtems_status_code
This enumeration provides status codes for directives of the Classic API.
Definition: status.h:85
This header file defines the RTEMS Classic API.
Definition: imx-gpio.h:59
enum imx_gpio_mode mode
Definition: imx-gpio.h:70
unsigned int shift
Definition: imx-gpio.h:68
volatile struct imx_gpio * gpio
Definition: imx-gpio.h:61
uint32_t mask
Definition: imx-gpio.h:66
Definition: imx-gpio.c:63