/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : gyro_mes.h * @brief : Header for gyro_mes.c file. * This file contains general definitions for gyroscope messages. ****************************************************************************** */ /* USER CODE END Header */ /* Define to prevent recursive inclusion -------------------------------------*/ #ifndef __GYRO_MES_H #define __GYRO_MES_H #ifdef __cplusplus extern "C" { #endif /* Includes ------------------------------------------------------------------*/ /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ #include #include /* USER CODE END Includes */ /* Exported types ------------------------------------------------------------*/ /* USER CODE BEGIN ET */ struct sData { int16_t temp, rate; }; /* USER CODE END ET */ /* Exported constants --------------------------------------------------------*/ /* USER CODE BEGIN EC */ /* USER CODE END EC */ /* Exported macro ------------------------------------------------------------*/ /* USER CODE BEGIN EM */ /* USER CODE END EM */ /* Exported functions prototypes ---------------------------------------------*/ /* USER CODE BEGIN EFP */ /* USER CODE END EFP */ /* Private defines -----------------------------------------------------------*/ /* USER CODE BEGIN Private defines */ /* USER CODE END Private defines */ /* Functions prototypes -----------------------------------------------------------*/ /* USER CODE BEGIN Functions prototypes */ int8_t comand_mes(uint8_t* pOut, size_t nLen); int8_t status_mes(uint8_t* pMes, size_t nLen, struct sData *pOut); /* USER CODE END Functions prototypes */ #ifdef __cplusplus } #endif #endif /* __GYRO_MES_H */