modbus_deal.h 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. /**
  2. ******************************************************************************
  3. * @file : modbus_deal.h
  4. * @brief : Header for modbus_deal.c file.
  5. * This file contains the common defines of the application.
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * Copyright (c) 2025 STMicroelectronics.
  10. * All rights reserved.
  11. *
  12. * This software is licensed under terms that can be found in the LICENSE file
  13. * in the root directory of this software component.
  14. * If no LICENSE file comes with this software, it is provided AS-IS.
  15. *
  16. ******************************************************************************
  17. */
  18. /* Define to prevent recursive inclusion -------------------------------------*/
  19. #ifndef __MODBUS_DEAL_H
  20. #define __MODBUS_DEAL_H
  21. #ifdef __cplusplus
  22. extern "C" {
  23. #endif
  24. /* Includes ------------------------------------------------------------------*/
  25. #include "stm32l4xx_hal.h"
  26. void Modbus_StartReceive(void);
  27. void Modbus_DataHandle(void);
  28. /* Exported functions prototypes ---------------------------------------------*/
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif /* __MODBUS_DEAL_H */