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

27 lines
528 B
C
Raw Permalink Normal View History

2016-06-19 19:23:19 +02:00
/** Timer related helper functions
*
* These functions present a simpler interface to Xilinx' Timer Counter driver (XTmrCtr_*)
*
* @file
* @author Steffen Vogel <stvogel@eonerc.rwth-aachen.de>
* @copyright 2017, Steffen Vogel
2016-06-19 19:23:19 +02:00
**********************************************************************************/
/** @addtogroup fpga VILLASfpga
* @{
*/
2017-02-18 10:43:58 -05:00
#pragma once
#include <xilinx/xtmrctr.h>
2016-06-19 19:23:19 +02:00
/* Forward declarations */
struct fpga_ip;
struct timer {
XTmrCtr inst;
};
int timer_start(struct fpga_ip *c);
2017-02-18 10:43:58 -05:00
/** @} */