RTEMS 6.1-rc2
Loading...
Searching...
No Matches
Data Fields
imx_gpio_pin Struct Reference

#include <imx-gpio.h>

Data Fields

volatile struct imx_gpiogpio
 
uint32_t mask
 
unsigned int shift
 
enum imx_gpio_mode mode
 

Detailed Description

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.

Field Documentation

◆ gpio

volatile struct imx_gpio* imx_gpio_pin::gpio

Management structure for the GPIO. Get with imx_gpio_get_by_index.

◆ mask

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.

◆ mode

enum imx_gpio_mode imx_gpio_pin::mode

Whether the pin is an input, output, interrupt, ...

◆ shift

unsigned int imx_gpio_pin::shift

If set to something != 0: Shift the pins that many bits.


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