|
int | XGpio_Initialize (XGpio *InstancePtr, u16 DeviceId) |
| Initialize the XGpio instance provided by the caller based on the given DeviceID. More...
|
|
XGpio_Config * | XGpio_LookupConfig (u16 DeviceId) |
| Lookup the device configuration based on the unique device ID. More...
|
|
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...
|
|
void | XGpio_DiscreteSet (XGpio *InstancePtr, unsigned Channel, u32 Mask) |
| Set output discrete(s) to logic 1 for the specified GPIO channel. More...
|
|
void | XGpio_DiscreteClear (XGpio *InstancePtr, unsigned Channel, u32 Mask) |
| Set output discrete(s) to logic 0 for the specified GPIO channel. More...
|
|
int | XGpio_SelfTest (XGpio *InstancePtr) |
| Run a self-test on the driver/device. More...
|
|
void | XGpio_InterruptGlobalEnable (XGpio *InstancePtr) |
| Enable the interrupt output signal. More...
|
|
void | XGpio_InterruptGlobalDisable (XGpio *InstancePtr) |
| Disable the interrupt output signal. More...
|
|
void | XGpio_InterruptEnable (XGpio *InstancePtr, u32 Mask) |
| Enable interrupts. More...
|
|
void | XGpio_InterruptDisable (XGpio *InstancePtr, u32 Mask) |
| Disable interrupts. More...
|
|
void | XGpio_InterruptClear (XGpio *InstancePtr, u32 Mask) |
| Clear pending interrupts with the provided mask. More...
|
|
u32 | XGpio_InterruptGetEnabled (XGpio *InstancePtr) |
| Returns the interrupt enable mask. More...
|
|
u32 | XGpio_InterruptGetStatus (XGpio *InstancePtr) |
| Returns the status of interrupt signals. More...
|
|