Rev 231 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed
#ifndef TIMER4_H
#define TIMER4_H
typedef struct {
void (*callback_function_1)(void);
void (*callback_function_2)(void);
uint32_t divider;
uint32_t count;
} TIMER4_DATA;
void TIMER4_Init(TIMER4_DATA *data, void (*callback_ms)(void),
void (*callback_div)(void), uint32_t time_ms);
void TIMER4_Start(void);
void TIMER4_Stop(void);
#endif /* TIMER4_H */