![]() |
gpio
Vitis Drivers API Documentation
|
Holds the XGpio driver instance data. More...
#include <xgpio.h>
Data Fields | |
| UINTPTR | BaseAddress |
| Device base address. More... | |
| u32 | IsReady |
| Device is initialized and ready. More... | |
| int | InterruptPresent |
| Indicates whether interrupts are supported in hardware. More... | |
| int | IsDual |
| Indicates whether two channels are supported in hardware. More... | |
Holds the XGpio driver instance data.
Allocate a variable of this type for every GPIO device in the system. A pointer to a variable of this type is then passed to the driver API functions.
| UINTPTR XGpio::BaseAddress |
Device base address.
Referenced by XGpio_CfgInitialize(), XGpio_DiscreteClear(), XGpio_DiscreteRead(), XGpio_DiscreteSet(), XGpio_DiscreteWrite(), XGpio_GetDataDirection(), XGpio_InterruptClear(), XGpio_InterruptDisable(), XGpio_InterruptEnable(), XGpio_InterruptGetEnabled(), XGpio_InterruptGetStatus(), XGpio_InterruptGlobalDisable(), XGpio_InterruptGlobalEnable(), and XGpio_SetDataDirection().
| int XGpio::InterruptPresent |
Indicates whether interrupts are supported in hardware.
Referenced by XGpio_CfgInitialize(), XGpio_InterruptClear(), XGpio_InterruptDisable(), XGpio_InterruptEnable(), XGpio_InterruptGetEnabled(), XGpio_InterruptGetStatus(), XGpio_InterruptGlobalDisable(), and XGpio_InterruptGlobalEnable().
| int XGpio::IsDual |
Indicates whether two channels are supported in hardware.
Referenced by XGpio_CfgInitialize(), XGpio_DiscreteClear(), XGpio_DiscreteRead(), XGpio_DiscreteSet(), XGpio_DiscreteWrite(), XGpio_GetDataDirection(), and XGpio_SetDataDirection().
| u32 XGpio::IsReady |
Device is initialized and ready.
Referenced by XGpio_CfgInitialize(), XGpio_DiscreteClear(), XGpio_DiscreteRead(), XGpio_DiscreteSet(), XGpio_DiscreteWrite(), XGpio_GetDataDirection(), XGpio_Initialize(), XGpio_InterruptClear(), XGpio_InterruptDisable(), XGpio_InterruptEnable(), XGpio_InterruptGetEnabled(), XGpio_InterruptGetStatus(), XGpio_InterruptGlobalDisable(), XGpio_InterruptGlobalEnable(), XGpio_SelfTest(), and XGpio_SetDataDirection().