unleashed-firmware/firmware/targets/api-hal-include/api-hal-delay.h
gornekich 610f4f5d73
[FL-41] api-hal doxygen documentation (#387)
* targets/api-hal: rework documentation in doxygen style
* core/api-hal: rework documentation in doxygen style
* core/furi: rework documentation in doxygen style
* drivers: rework documentation in doxygen style

Co-authored-by: あく <alleteam@gmail.com>
2021-03-24 12:35:33 +03:00

22 lines
314 B
C

#pragma once
#include "main.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
* Delay in milliseconds
* @warning Cannot be used from ISR
*/
void delay(float milliseconds);
/** Delay in microseconds */
void delay_us(float microseconds);
/** Init DWT */
void delay_us_init_DWT(void);
#ifdef __cplusplus
}
#endif