![]() |
Ultibo API
C/C++ API for Ultibo Core
|
#include <gpio.h>
Data Fields | |
| GPIO_DEVICE * | gpio |
| 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_EVENT * | events |
| List of events waiting for the trigger. | |
GPIO Pin
| GPIO_DEVICE* gpio |
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_EVENT* events |
List of events waiting for the trigger.