gpiops
Vitis Drivers API Documentation
XGpioPs Struct Reference

The XGpioPs driver instance data. More...

Data Fields

XGpioPs_Config GpioConfig
 Device configuration. More...
 
u32 IsReady
 Device is initialized and ready. More...
 
XGpioPs_Handler Handler
 Status handlers for all banks. More...
 
void * CallBackRef
 Callback ref for bank handlers. More...
 
u32 Platform
 Platform data. More...
 
u32 MaxPinNum
 Max pins in the GPIO device. More...
 
u8 MaxBanks
 Max banks in a GPIO device. More...
 
u32 PmcGpio
 Flag for accessing PS GPIO for versal. More...
 

Detailed Description

The XGpioPs driver instance data.

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

Field Documentation

void* XGpioPs::CallBackRef

Callback ref for bank handlers.

Referenced by XGpioPs_SetCallbackHandler().

XGpioPs_Handler XGpioPs::Handler

Status handlers for all banks.

Referenced by XGpioPs_CfgInitialize(), XGpioPs_IntrHandler(), and XGpioPs_SetCallbackHandler().

u8 XGpioPs::MaxBanks

Max banks in a GPIO device.

Referenced by XGpioPs_CfgInitialize(), and XGpioPs_IntrHandler().

u32 XGpioPs::MaxPinNum

Max pins in the GPIO device.

Referenced by XGpioPs_CfgInitialize().

u32 XGpioPs::Platform

Platform data.

Referenced by XGpioPs_CfgInitialize().