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

This typedef contains 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
 Are interrupts supported in h/w. More...
 
int IsDual
 Are 2 channels supported in h/w. More...
 
u16 IntrId
 Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags. More...
 
UINTPTR IntrParent
 Bit[0] Interrupt parent type Bit[64/32:1] Parent base address. More...
 
u16 Width
 Gpio width. More...
 

Detailed Description

This typedef contains configuration information for the device.

Field Documentation

UINTPTR XGpio_Config::BaseAddress

Device base address.

Referenced by XGpio_Initialize().

int XGpio_Config::InterruptPresent

Are interrupts supported in h/w.

Referenced by XGpio_CfgInitialize().

u16 XGpio_Config::IntrId

Bits[11:0] Interrupt-id Bits[15:12] trigger type and level flags.

Referenced by GpioIntrExample().

UINTPTR XGpio_Config::IntrParent

Bit[0] Interrupt parent type Bit[64/32:1] Parent base address.

Referenced by GpioIntrExample().

int XGpio_Config::IsDual

Are 2 channels supported in h/w.

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().