mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-27 21:41:55 +01:00
0dbec80183
- N64 -> PC heartbeat datatype support - PC -> N64 debug write timeout implementation (1 second) - PC -> N64 text datatype bug fix (added null byte at the end) - 64DD disk insertion by default
22 lines
297 B
C
22 lines
297 B
C
#ifndef TIMER_H__
|
|
#define TIMER_H__
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
|
typedef enum {
|
|
TIMER_ID_USB,
|
|
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
|