modbus_ao_params.h 608 B

123456789101112131415161718192021222324252627282930313233343536
  1. #ifndef __MODBUS_AO_PARAMS_H
  2. #define __MODBUS_AO_PARAMS_H
  3. #include "mb.h"
  4. #include "mbport.h"
  5. #include "modbus.h"
  6. #include <stdbool.h>
  7. #ifdef __cplusplus
  8. extern "C" {
  9. #endif
  10. //
  11. uint16_t mb_init_ao_params(uint16_t i);
  12. // -------------------------------------------------------------------------- //
  13. // Установка параметров
  14. // -------------------------------------------------------------------------- //
  15. //
  16. mb_delay_action_t mb_set_ao_state(void);
  17. //
  18. mb_delay_action_t mb_set_ao_mode(void);
  19. #ifdef __cplusplus
  20. }
  21. #endif
  22. #endif // __MODBUS_AO_PARAMS_H