RTEMS 6.1-rc1
|
#include <imx-gpio.h>
Data Fields | |
volatile struct imx_gpio * | gpio |
uint32_t | mask |
unsigned int | shift |
enum imx_gpio_mode | mode |
A i.MX GPIO pin or set of pins.
Use this structures to handle pins in the application. You can either get them from an FDT entry (with imx_gpio_init_from_fde_property) or fill them by hand.
volatile struct imx_gpio* imx_gpio_pin::gpio |
Management structure for the GPIO. Get with imx_gpio_get_by_index.
uint32_t imx_gpio_pin::mask |
Select the pins you want to handle with this mask. The mask is not influenced by the shift field.
enum imx_gpio_mode imx_gpio_pin::mode |
Whether the pin is an input, output, interrupt, ...
unsigned int imx_gpio_pin::shift |
If set to something != 0: Shift the pins that many bits.