You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

21 lines
638 B

#ifndef __TIMER_H__
#define __TIMER_H__
#include "event.h"
/* *********************************************************************** */
#define EVENT_NUM_TIMER_DEBOUNCE1 0
#define EVENT_NUM_TIMER_DEBOUNCE2 1
#define EVENT_NUM_TIMER_DOOR_CLOSE_DELAY 2
/* *********************************************************************** */
void timer_init (void);
uint8_t timer_check (uint8_t timer_needed);
void timer_event_handler (struct event_entry *event);
uint8_t timer_get_sleep_mode(void);
/* *********************************************************************** */
#endif /* __TIMER_H__ */