usbfanctrl/timer.h

23 lines
644 B
C
Raw Permalink Normal View History

2021-02-06 22:33:52 +01:00
#ifndef TIMER_H_SEEN
#define TIMER_H_SEEN
2021-02-06 21:07:31 +01:00
#include <stdint.h>
#include "event.h"
/* *********************************************************************** */
#define TIMER_COUNT 1
2021-02-06 22:33:52 +01:00
#define EVENT_NUM_TIMER_LEDFADE 0
2021-02-06 21:07:31 +01:00
/* *********************************************************************** */
void timer_init (void);
uint8_t timer_check (uint8_t timer_needed);
void timer_event_handler (event_entry_t * p_event);
2021-02-06 22:33:52 +01:00
uint8_t timer_need_hw_clock (void);
2021-02-06 21:07:31 +01:00
/* *********************************************************************** */
2021-02-06 22:33:52 +01:00
#endif /* TIMER_H_SEEN */