35 lines
441 B
C
35 lines
441 B
C
/**
|
|
* File Name: tau_delay.h
|
|
*
|
|
*
|
|
*
|
|
* Author: Fortsense 3D Firmware Team
|
|
*
|
|
* Date: 2020/12/04
|
|
*
|
|
* Project: Taurus
|
|
*
|
|
* Description:
|
|
*
|
|
* HISTORY:
|
|
**/
|
|
#ifndef _DELAY_H_
|
|
#define _DELAY_H_
|
|
#include "stdint.h"
|
|
|
|
/**
|
|
* @brief delay ms 函数,误差2%以内
|
|
* @param ms:delay时长
|
|
* @retval none
|
|
*/
|
|
void delayMs(uint32_t ms);
|
|
|
|
/**
|
|
* @brief delay us 函数,误差2%以内
|
|
* @param us:delay时长
|
|
* @retval none
|
|
*/
|
|
void delayUs(uint32_t us);
|
|
|
|
#endif
|