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

Holds 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
 Indicates whether interrupts are supported in hardware. More...
 
int IsDual
 Indicates whether two channels are supported in hardware. More...
 

Detailed Description

Holds the XGpio driver instance data.

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

int XGpio::IsDual