Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_GPIO_PIN Struct Reference

#include <gpio.h>

Data Fields

GPIO_DEVICEgpio
 GPIO device this pin belongs to.
uint32_t pin
 Pin number of this pin on the device (May be used by drivers for internal numbering).
uint32_t flags
 Current flags for this pin (eg GPIO_EVENT_FLAG_REPEAT).
uint32_t trigger
 Current trigger value for this pin (or GPIO_TRIGGER_NONE if no triggers current).
uint32_t count
 Count of threads and events waiting for the trigger.
EVENT_HANDLE event
 Event for threads waiting for the trigger.
GPIO_EVENTevents
 List of events waiting for the trigger.

Detailed Description

GPIO Pin

Field Documentation

◆ gpio

GPIO_DEVICE* gpio

GPIO device this pin belongs to.

◆ pin

uint32_t pin

Pin number of this pin on the device (May be used by drivers for internal numbering).

◆ flags

uint32_t flags

Current flags for this pin (eg GPIO_EVENT_FLAG_REPEAT).

◆ trigger

uint32_t trigger

Current trigger value for this pin (or GPIO_TRIGGER_NONE if no triggers current).

◆ count

uint32_t count

Count of threads and events waiting for the trigger.

◆ event

EVENT_HANDLE event

Event for threads waiting for the trigger.

◆ events

GPIO_EVENT* events

List of events waiting for the trigger.


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