15 lines
335 B
C
15 lines
335 B
C
/**
|
|
* @file microsecond_timer.h
|
|
*
|
|
* @date Apr 14, 2014
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
void initMicrosecondTimer();
|
|
void setHardwareSchedulerTimer(efitick_t nowNt, efitick_t setTimeNt);
|
|
|
|
#define TOO_FAR_INTO_FUTURE_US (10 * US_PER_SECOND)
|
|
#define TOO_FAR_INTO_FUTURE_NT US2NT(TOO_FAR_INTO_FUTURE_US)
|