Files
Embedded-System-Projects/Project_3_Dynamic_Controller/include/control_timer.h
T

17 lines
238 B
C++

#ifndef CONTROL_TIMER_H
#define CONTROL_TIMER_H
#include <stdint.h>
class Control_timer
{
public:
void init();
// Returns true once for every 4 ms control tick.
bool take_tick();
uint32_t tick_count() const;
};
#endif