gpio
Vitis Drivers API Documentation
xgpio.c File Reference

Functions

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