1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
VILLASnode/include/villas/fpga/intc.h

22 lines
No EOL
653 B
C

/** AXI-PCIe Interrupt controller
*
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2015-2016, Steffen Vogel
* This file is part of S2SS. All Rights Reserved. Proprietary and confidential.
* Unauthorized copying of this file, via any medium is strictly prohibited.
**********************************************************************************/
#ifndef _INTC_H_
#define _INTC_H_
#include <xilinx/xintc.h>
int intc_init(struct ip *c);
int intc_enable(struct ip *c, uint32_t mask, int poll);
int intc_disable(struct ip *c, uint32_t mask);
uint64_t intc_wait(struct ip *c, int irq, int poll);
#endif /* _INTC_H_ */