usbfanctrl/timer.h

23 lines
644 B
C

#ifndef TIMER_H_SEEN
#define TIMER_H_SEEN
#include <stdint.h>
#include "event.h"
/* *********************************************************************** */
#define TIMER_COUNT 1
#define EVENT_NUM_TIMER_LEDFADE 0
/* *********************************************************************** */
void timer_init (void);
uint8_t timer_check (uint8_t timer_needed);
void timer_event_handler (event_entry_t * p_event);
uint8_t timer_need_hw_clock (void);
/* *********************************************************************** */
#endif /* TIMER_H_SEEN */