gpio
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Groups Pages
XGpio Struct Reference

The XGpio driver instance data. More...

#include <xgpio.h>

Data Fields

UINTPTR BaseAddress
 Device base address. More...
 
u32 IsReady
 Device is initialized and ready. More...
 
int InterruptPresent
 Are interrupts supported in h/w. More...
 
int IsDual
 Are 2 channels supported in h/w. More...
 

Detailed Description

The XGpio driver instance data.

The user is required to allocate a variable of this type for every GPIO device in the system. A pointer to a variable of this type is then passed to the driver API functions.

Field Documentation