mirror of
				https://github.com/goldenfishs/MRobot.git
				synced 2025-11-04 05:23:10 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			44 lines
		
	
	
		
			919 B
		
	
	
	
		
			C
		
	
	
	
	
	
			
		
		
	
	
			44 lines
		
	
	
		
			919 B
		
	
	
	
		
			C
		
	
	
	
	
	
#pragma once
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
extern "C" {
 | 
						|
#endif
 | 
						|
 | 
						|
/* Includes ----------------------------------------------------------------- */
 | 
						|
#include <stdint.h>
 | 
						|
 | 
						|
#include "bsp/bsp.h"
 | 
						|
 | 
						|
/* USER INCLUDE BEGIN */
 | 
						|
 | 
						|
/* USER INCLUDE END */
 | 
						|
 | 
						|
/* Exported constants ------------------------------------------------------- */
 | 
						|
/* Exported macro ----------------------------------------------------------- */
 | 
						|
/* USER DEFINE BEGIN */
 | 
						|
 | 
						|
/* USER DEFINE END */
 | 
						|
 | 
						|
/* Exported types ----------------------------------------------------------- */
 | 
						|
/* Exported functions prototypes -------------------------------------------- */
 | 
						|
uint32_t BSP_TIME_Get_ms();
 | 
						|
 | 
						|
uint64_t BSP_TIME_Get_us();
 | 
						|
 | 
						|
uint64_t BSP_TIME_Get();
 | 
						|
 | 
						|
int8_t BSP_TIME_Delay_ms(uint32_t ms);
 | 
						|
 | 
						|
/*微秒阻塞延时,一般别用*/
 | 
						|
int8_t BSP_TIME_Delay_us(uint32_t us);
 | 
						|
 | 
						|
int8_t BSP_TIME_Delay(uint32_t ms);
 | 
						|
 | 
						|
/* USER FUNCTION BEGIN */
 | 
						|
 | 
						|
/* USER FUNCTION END */
 | 
						|
 | 
						|
#ifdef __cplusplus
 | 
						|
}
 | 
						|
#endif
 |