modbus_ai_params.h 857 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. #ifndef __MODBUS_AI_PARAMS_H
  2. #define __MODBUS_AI_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_ai_params(uint16_t i);
  12. // -------------------------------------------------------------------------- //
  13. // Установка параметров
  14. // -------------------------------------------------------------------------- //
  15. //
  16. mb_delay_action_t mb_set_ai_state(void);
  17. //
  18. mb_delay_action_t mb_set_ai_mode(void);
  19. //
  20. mb_delay_action_t mb_set_ai_voltage_mode(void);
  21. //
  22. mb_delay_action_t mb_set_ai_current_mode(void);
  23. //
  24. mb_delay_action_t mb_set_ai_gain(void);
  25. //
  26. mb_delay_action_t mb_set_ext_sens_power(void);
  27. //
  28. mb_delay_action_t mb_set_preset_state(void);
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif // __MODBUS_AI_PARAMS_H