/
Sangak
/
inav
Обзор
Документация
Войти
/
Sangak
/
inav
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
src/main/drivers/time.h
41 строка
1 KB
Marcelo Bezerra
Unit test fixes
07 сен 2024, 01:16
Не верифицирован
07 сен 2024, 01:16
2511cc3
Код
Авторство
О чём код?
/* * This file is part of Cleanflight. * * Cleanflight is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * Cleanflight is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with Cleanflight. If not, see <http://www.gnu.org/licenses/>. */ #pragma once #include <stdint.h> #ifdef __cplusplus extern "C" { #endif #include "common/time.h" extern uint32_t usTicks; void delayMicroseconds(timeUs_t us); void delayNanos(timeDelta_t ns); void delay(timeMs_t ms); timeUs_t micros(void); timeUs_t microsISR(void); timeMs_t millis(void); uint32_t ticks(void); #ifdef __cplusplus } #endif