/* * main.h * * Created on: 09-Mar-2020 * Author: nandish.jasani */ #ifndef MAIN_H_ #define MAIN_H_ #include #include "system.h" #include "sys/alt_irq.h" #include #include "stdlib.h" #include "string.h" #include "altera_avalon_pio_regs.h" #include "altera_avalon_timer_regs.h" #include "alt_types.h" #include "altera_eth_tse_regs.h" #include "altera_avalon_tse.h" #include "altera_avalon_sgdma.h" #include "altera_avalon_sgdma_descriptor.h" #include "altera_avalon_sgdma_regs.h" #include "altera_avalon_tse_system_info.h" #define STARTTIMER IOWR_ALTERA_AVALON_TIMER_CONTROL(GENERAL_TIMER_BASE, 0x0005) #define STOPTIMER IOWR_ALTERA_AVALON_TIMER_CONTROL(GENERAL_TIMER_BASE, 0x0009) void timerInitialization(void); void setTimerinmSec(alt_u64 tVal); #endif /* MAIN_H_ */