gpiops
Xilinx SDK Drivers API Documentation
xgpiops.c File Reference

Functions

void StubHandler (void *CallBackRef, u32 Bank, u32 Status)
 This is a stub for the status callback. More...
 
u32 XGpioPs_Read (XGpioPs *InstancePtr, u8 Bank)
 Read the Data register of the specified GPIO bank. More...
 
u32 XGpioPs_ReadPin (XGpioPs *InstancePtr, u32 Pin)
 Read Data from the specified pin. More...
 
void XGpioPs_Write (XGpioPs *InstancePtr, u8 Bank, u32 Data)
 Write to the Data register of the specified GPIO bank. More...
 
void XGpioPs_WritePin (XGpioPs *InstancePtr, u32 Pin, u32 Data)
 Write data to the specified pin. More...
 
void XGpioPs_SetDirection (XGpioPs *InstancePtr, u8 Bank, u32 Direction)
 Set the Direction of the pins of the specified GPIO Bank. More...
 
void XGpioPs_SetDirectionPin (XGpioPs *InstancePtr, u32 Pin, u32 Direction)
 Set the Direction of the specified pin. More...
 
u32 XGpioPs_GetDirection (XGpioPs *InstancePtr, u8 Bank)
 Get the Direction of the pins of the specified GPIO Bank. More...
 
u32 XGpioPs_GetDirectionPin (XGpioPs *InstancePtr, u32 Pin)
 Get the Direction of the specified pin. More...
 
void XGpioPs_SetOutputEnable (XGpioPs *InstancePtr, u8 Bank, u32 OpEnable)
 Set the Output Enable of the pins of the specified GPIO Bank. More...
 
void XGpioPs_SetOutputEnablePin (XGpioPs *InstancePtr, u32 Pin, u32 OpEnable)
 Set the Output Enable of the specified pin. More...
 
u32 XGpioPs_GetOutputEnable (XGpioPs *InstancePtr, u8 Bank)
 Get the Output Enable status of the pins of the specified GPIO Bank. More...
 
u32 XGpioPs_GetOutputEnablePin (XGpioPs *InstancePtr, u32 Pin)
 Get the Output Enable status of the specified pin. More...