rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
microsecond_timer.h
Go to the documentation of this file.
1/**
2 * @file microsecond_timer.h
3 *
4 * @date Apr 14, 2014
5 * @author Andrey Belomutskiy, (c) 2012-2020
6 */
7
8#pragma once
9
11void setHardwareSchedulerTimer(efitick_t nowNt, efitick_t setTimeNt);
12
13#define TOO_FAR_INTO_FUTURE_MS (10 * MS_PER_SECOND)
14#define TOO_FAR_INTO_FUTURE_US MS2US(TOO_FAR_INTO_FUTURE_MS)
15#define TOO_FAR_INTO_FUTURE_NT US2NT(TOO_FAR_INTO_FUTURE_US)
void setHardwareSchedulerTimer(efitick_t nowNt, efitick_t setTimeNt)
void initMicrosecondTimer()