2025-03-04 05:20:19 +00:00
|
|
|
#ifndef __MS5607_H__
|
|
|
|
#define __MS5607_H__
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
/* Includes ------------------------------------------------------------------*/
|
|
|
|
#include "main.h"
|
|
|
|
#include "comm_types.h"
|
2025-03-07 09:09:42 +00:00
|
|
|
#include "cmsis_os.h"
|
2025-03-04 05:20:19 +00:00
|
|
|
|
|
|
|
#define MS5607_ADDRESS 0x77<<1
|
|
|
|
|
|
|
|
void MS56XX_Init(void);
|
2025-03-07 09:09:42 +00:00
|
|
|
HAL_StatusTypeDef MS56XX_GetPressure(float *Press);
|
2025-03-04 05:20:19 +00:00
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif /*__ __MS5607_H__ */
|
|
|
|
|