Welcome to mirror list, hosted at ThFree Co, Russian Federation.

timer.h « avr « src - github.com/Klipper3d/klipper.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2165fecd57b73cd533417cc8a3fdc570ca32698f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#ifndef __AVR_TIMER_H
#define __AVR_TIMER_H

#include <stdint.h>

uint32_t timer_from_ms(uint32_t ms);
void timer_periodic(void);
uint32_t timer_read_time(void);
uint8_t timer_set_next(uint32_t next);
uint8_t timer_try_set_next(uint32_t next);

#endif // timer.h