/* * File: gpiops_intr.h * Author: Theo Tsang * Date: 2023-03-24 15:00 * Description: omit * * Ver Who Date Changes * ----- ---- ---------- ------------- * 1.00 Theo 03/15/2024 First release */ #ifndef GPIOPS_INTR_H /* prevent circular inclusions */ #define GPIOPS_INTR_H /* by using protection macros */ #include "xscugic.h" #include "xil_exception.h" #include "xparameters_ps.h" #include "xgpiops.h" #define INTR_DEVICE_ID XPAR_SCUGIC_SINGLE_DEVICE_ID #define GPIO_INTERRUPT_ID XPAR_XGPIOPS_0_INTR void GpioPs_Setup_Intr_System(XScuGic * InstancePtr, XGpioPs *GpioInstancePtr, u16 Int_Id); void Setup_Intr_Exception(XScuGic * InstancePtr); s32 Init_Intr_System(XScuGic * InstancePtr); void GpioPs_Intr_Init(XGpioPs *GpioInstancePtr); #endif /* end of protection macro */