gpio
Vitis Drivers API Documentation
xgpio.c File Reference

Functions

int XGpio_CfgInitialize (XGpio *InstancePtr, XGpio_Config *Config, UINTPTR EffectiveAddr)
 Initialize the XGpio instance provided by the caller based on the given configuration data. More...
 
void XGpio_SetDataDirection (XGpio *InstancePtr, unsigned Channel, u32 DirectionMask)
 Set the input/output direction of all discrete signals for the specified GPIO channel. More...
 
u32 XGpio_GetDataDirection (XGpio *InstancePtr, unsigned Channel)
 Get the input/output direction of all discrete signals for the specified GPIO channel. More...
 
u32 XGpio_DiscreteRead (XGpio *InstancePtr, unsigned Channel)
 Read state of discretes for the specified GPIO channel. More...
 
void XGpio_DiscreteWrite (XGpio *InstancePtr, unsigned Channel, u32 Mask)
 Write to discretes register for the specified GPIO channel. More...