mbcontroller.h 762 B

1234567891011121314151617181920212223
  1. /*
  2. * SPDX-FileCopyrightText: 2016-2021 Espressif Systems (Shanghai) CO LTD
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. */
  6. // mbcontroller.h
  7. // mbcontroller - common Modbus controller header file
  8. #ifndef _MODBUS_CONTROLLER_COMMON
  9. #define _MODBUS_CONTROLLER_COMMON
  10. #include <stdint.h> // for standard int types definition
  11. #include <stddef.h> // for NULL and std defines
  12. #include "string.h" // for strerror()
  13. #include "errno.h" // for errno
  14. #include "esp_err.h" // for error handling
  15. #include "driver/uart.h" // for uart port number defines
  16. #include "sdkconfig.h" // for KConfig options
  17. #include "esp_modbus_master.h"
  18. #include "esp_modbus_slave.h"
  19. #endif