smol-gilbraltar/include/timer.h

15 lines
284 B
C
Raw Permalink Normal View History

2024-12-20 22:45:12 +00:00
#ifndef __GILBRALTAR_TIMER__
#define __GILBRALTAR_TIMER__
#include <bcm.h>
#include <stdint.h>
#define CLOCKHZ 1000000
void gilbraltar_delay_hot_loop(uint32_t);
void gilbraltar_delay_us(uint32_t);
void gilbraltar_delay_ms(uint32_t);
uint32_t gilbraltar_system_clock(void);
2024-12-20 22:45:12 +00:00
#endif