flipperzero-firmware/firmware/targets/furi-hal-include/furi-hal-delay.h

23 lines
316 B
C
Raw Normal View History

#pragma once
#include "main.h"
#ifdef __cplusplus
extern "C" {
#endif
/** Init DWT */
2021-08-08 18:03:25 +00:00
void furi_hal_delay_init(void);
/**
* Delay in milliseconds
* @warning Cannot be used from ISR
*/
void delay(float milliseconds);
/** Delay in microseconds */
void delay_us(float microseconds);
#ifdef __cplusplus
}
#endif