gpio
Vitis Drivers API Documentation
 All Data Structures Files Functions Variables Macros Groups Pages
xgpio_intr.c File Reference

Overview

Implements GPIO interrupt processing functions for the XGpio driver.

See xgpio.h for more information about the driver.

The functions in this file require the hardware device to be built with interrupt capabilities. The functions assert if called using hardware that does not have interrupt capabilities.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


2.00a jhl 11/26/03 Initial release 2.11a mta 03/21/07 Updated to new coding style 2.12a sv 06/05/08 Updated driver to fix the XGpio_InterruptDisable function to properly update the Interrupt Enable register 3.00a sv 11/21/09 Updated to use HAL Processor APIs. Renamed the macros XGpio_mWriteReg to XGpio_WriteReg, and XGpio_mReadReg to XGpio_ReadReg. 4.14 vn 07/30/26 Fix Doxygen warnings 4.14 vn 09/10/26 Align Doxygen comments with AMD standards

#include "xgpio.h"

Functions

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