|
| int | XGpio_Initialize (XGpio *InstancePtr, UINTPTR BaseAddress) |
| | Initializes the XGpio instance by device ID or base address. More...
|
| |
| XGpio_Config * | XGpio_LookupConfig (UINTPTR BaseAddress) |
| | Looks up the device configuration by device ID or base address. More...
|
| |
| int | XGpio_CfgInitialize (XGpio *InstancePtr, XGpio_Config *Config, UINTPTR EffectiveAddr) |
| | Initializes the XGpio instance based on the given configuration data. More...
|
| |
| void | XGpio_SetDataDirection (XGpio *InstancePtr, unsigned Channel, u32 DirectionMask) |
| | Sets the I/O direction of all discrete signals for a GPIO channel. More...
|
| |
| u32 | XGpio_GetDataDirection (XGpio *InstancePtr, unsigned Channel) |
| | Gets the I/O direction of all discrete signals for a GPIO channel. More...
|
| |
| u32 | XGpio_DiscreteRead (XGpio *InstancePtr, unsigned Channel) |
| | Reads the state of the discretes for the specified GPIO channel. More...
|
| |
| void | XGpio_DiscreteWrite (XGpio *InstancePtr, unsigned Channel, u32 Mask) |
| | Writes to the discretes register for the specified GPIO channel. More...
|
| |
| void | XGpio_DiscreteSet (XGpio *InstancePtr, unsigned Channel, u32 Mask) |
| | Sets output discretes to logic 1 for the specified GPIO channel. More...
|
| |
| void | XGpio_DiscreteClear (XGpio *InstancePtr, unsigned Channel, u32 Mask) |
| | Sets output discretes to logic 0 for the specified GPIO channel. More...
|
| |
| int | XGpio_SelfTest (XGpio *InstancePtr) |
| | Runs a self-test on the driver and device. More...
|
| |
| void | XGpio_InterruptGlobalEnable (XGpio *InstancePtr) |
| | Enables the interrupt output signal. More...
|
| |
| void | XGpio_InterruptGlobalDisable (XGpio *InstancePtr) |
| | Disables the interrupt output signal. More...
|
| |
| void | XGpio_InterruptEnable (XGpio *InstancePtr, u32 Mask) |
| | Enables interrupts for the specified channels. More...
|
| |
| void | XGpio_InterruptDisable (XGpio *InstancePtr, u32 Mask) |
| | Disables interrupts for the specified channels. More...
|
| |
| void | XGpio_InterruptClear (XGpio *InstancePtr, u32 Mask) |
| | Clears 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...
|
| |