gpio
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Macros Groups Pages
XGpio_Config Struct Reference

Holds configuration information for the device. More...

#include <xgpio.h>

Data Fields

char * Name
 Name of the device. More...
 
UINTPTR BaseAddress
 Device base address. More...
 
int InterruptPresent
 Indicates whether interrupts are supported in hardware. More...
 
int IsDual
 Indicates whether two channels are supported in hardware. More...
 
u16 IntrId
 Interrupt ID in Bits[11:0], and trigger type and level flags in Bits[15:12]. More...
 
UINTPTR IntrParent
 Interrupt parent type in Bit[0], and parent base address in Bit[64/32:1]. More...
 
u16 Width
 GPIO width. More...
 

Detailed Description

Holds configuration information for the device.

Field Documentation

UINTPTR XGpio_Config::BaseAddress

Device base address.

Referenced by XGpio_Initialize().

int XGpio_Config::InterruptPresent

Indicates whether interrupts are supported in hardware.

Referenced by XGpio_CfgInitialize().

u16 XGpio_Config::IntrId

Interrupt ID in Bits[11:0], and trigger type and level flags in Bits[15:12].

Referenced by GpioIntrExample().

UINTPTR XGpio_Config::IntrParent

Interrupt parent type in Bit[0], and parent base address in Bit[64/32:1].

Referenced by GpioIntrExample().

int XGpio_Config::IsDual

Indicates whether two channels are supported in hardware.

Referenced by XGpio_CfgInitialize().

char* XGpio_Config::Name

Name of the device.

Referenced by XGpio_LookupConfig().

u16 XGpio_Config::Width

GPIO width.

Referenced by GpioOutputExample().