/* * msp_30GM_UltraSonic.h * * Created on: Feb 25, 2025 * Author: bihon */ #ifndef INC_MSP_MSP_30GM_ULTRASONIC_H_ #define INC_MSP_MSP_30GM_ULTRASONIC_H_ #include #include "bsp_include.h" typedef struct { int16_t Inst_Distance; //瞬时距离值 int16_t Inner_Temp; //内部温度值 int16_t Fly_Time; //超声波飞行时间 }SP_MSP_30GM_Parameters; uint8_t GF_MSP_30GM_Init(UART_HandleTypeDef* huart,SP_MSP_30GM_Parameters* UltraSonic_30GM); void GF_MSP_30GM_Instance_Dist_Inquiry(); void GF_MSP_30GM_Inner_Temp_Inquiry(); void GF_MSP_30GM_Fly_Time_Inquiry(); #endif /* INC_MSP_MSP_30GM_ULTRASONIC_H_ */