mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-01 17:44:14 +01:00
21 lines
279 B
C
21 lines
279 B
C
#ifndef TIMER_H__
|
|
#define TIMER_H__
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
typedef enum {
|
|
TIMER_ID_WRITEBACK,
|
|
__TIMER_ID_COUNT
|
|
} timer_id_t;
|
|
|
|
|
|
uint32_t timer_get (timer_id_t id);
|
|
void timer_set (timer_id_t id, uint32_t ticks);
|
|
void timer_init (void);
|
|
void timer_update (void);
|
|
|
|
|
|
#endif
|