text: /**
   * The MIT License (MIT)
   *
   * Copyright (c) 2018-2019 Erik Moqvist
   *
   * Permission is hereby granted, free of charge, to any person
   * obtaining a copy of this software and associated documentation
   * files (the "Software"), to deal in the Software without
   * restriction, including without limitation the rights to use, copy,
   * modify, merge, publish, distribute, sublicense, and/or sell copies
   * of the Software, and to permit persons to whom the Software is
   * furnished to do so, subject to the following conditions:
   *
   * The above copyright notice and this permission notice shall be
   * included in all copies or substantial portions of the Software.
   *
   * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
   * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
   * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
   * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
   * BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
   * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
   * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
   * SOFTWARE.
   */
  
  /**
   * This file was generated by cantools version
   */
  
  #ifndef PH_H
  #define PH_H
  
  #ifdef __cplusplus
  extern "C" {
  #endif
  
  #include <stdint.h>
  #include <stdbool.h>
  #include <stddef.h>
  
  #ifndef EINVAL
  #    define EINVAL 22
  #endif
  
  /* Frame ids. */
  #define PH_COMPRESSOR_CONFIG_FRAME_ID (0x9050840u)
  #define PH_SET_ALL_FRAME_ID (0x9050c00u)
  #define PH_PULSE_ONCE_FRAME_ID (0x9050c40u)
  #define PH_STATUS_0_FRAME_ID (0x9051800u)
  #define PH_STATUS_1_FRAME_ID (0x9051840u)
  #define PH_CLEAR_FAULTS_FRAME_ID (0x9051b80u)
  
  /* Frame lengths in bytes. */
  #define PH_COMPRESSOR_CONFIG_LENGTH (5u)
  #define PH_SET_ALL_LENGTH (4u)
  #define PH_PULSE_ONCE_LENGTH (4u)
  #define PH_STATUS_0_LENGTH (8u)
  #define PH_STATUS_1_LENGTH (8u)
  #define PH_CLEAR_FAULTS_LENGTH (0u)
  
  /* Extended or standard frame types. */
  #define PH_COMPRESSOR_CONFIG_IS_EXTENDED (1)
  #define PH_SET_ALL_IS_EXTENDED (1)
  #define PH_PULSE_ONCE_IS_EXTENDED (1)
  #define PH_STATUS_0_IS_EXTENDED (1)
  #define PH_STATUS_1_IS_EXTENDED (1)
  #define PH_CLEAR_FAULTS_IS_EXTENDED (1)
  
  /* Frame cycle times in milliseconds. */
  
  
  /* Signal choices. */
  
  
  /**
   * Signals in message Compressor_Config.
   *
   * Configures compressor to use digitial/analog sensors
   *
   * All signal values are as on the CAN bus.
   */
  struct PH_compressor_config_t {
      /**
       * Range: 0..5000 (0..5 V)
       * Scale: 0.001
       * Offset: 0
       */
      uint16_t minimum_tank_pressure : 16;
  
      /**
       * Range: 0..5000 (0..5 V)
       * Scale: 0.001
       * Offset: 0
       */
      uint16_t maximum_tank_pressure : 16;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t force_disable : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t use_digital : 1;
  };
  
  /**
   * Signals in message Set_All.
   *
   * Set state of all channels
   *
   * All signal values are as on the CAN bus.
   */
  struct PH_set_all_t {
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_0 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_1 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_2 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_3 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_4 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_5 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_6 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_7 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_8 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_9 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_10 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_11 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_12 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_13 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_14 : 2;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_15 : 2;
  };
  
  /**
   * Signals in message Pulse_Once.
   *
   * Pulse selected channels once
   *
   * All signal values are as on the CAN bus.
   */
  struct PH_pulse_once_t {
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_0 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_1 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_2 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_3 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_4 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_5 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_6 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_7 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_8 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_9 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_10 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_11 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_12 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_13 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_14 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_15 : 1;
  
      /**
       * Range: 0..65535 (0..65535 -)
       * Scale: 1
       * Offset: 0
       */
      uint16_t pulse_length_ms : 16;
  };
  
  /**
   * Signals in message Status_0.
   *
   * Periodic status frame 0
   *
   * All signal values are as on the CAN bus.
   */
  struct PH_status_0_t {
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_0 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_1 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_2 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_3 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_4 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_5 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_6 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_7 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_8 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_9 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_10 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_11 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_12 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_13 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_14 : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_15 : 1;
  
      /**
       * Range: 0..255 (0..5.00055 V)
       * Scale: 0.01961
       * Offset: 0
       */
      uint8_t analog_0 : 8;
  
      /**
       * Range: 0..255 (0..5.00055 V)
       * Scale: 0.01961
       * Offset: 0
       */
      uint8_t analog_1 : 8;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t digital_sensor : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t brownout_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t compressor_oc_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t compressor_open_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t solenoid_oc_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t can_warning_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t hardware_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_0_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_1_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_2_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_3_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_4_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_5_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_6_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_7_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_8_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_9_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_10_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_11_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_12_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_13_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_14_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t channel_15_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t compressor_on : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t system_enabled : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t robo_rio_present : 1;
  
      /**
       * Range: 0..3 (0..3 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t compressor_config : 2;
  };
  
  /**
   * Signals in message Status_1.
   *
   * Periodic status frame 1
   *
   * All signal values are as on the CAN bus.
   */
  struct PH_status_1_t {
      /**
       * Range: 0..192 (4..16 V)
       * Scale: 0.0625
       * Offset: 4
       */
      uint8_t v_bus : 8;
  
      /**
       * Range: 0..4096 (0..32 V)
       * Scale: 0.0078125
       * Offset: 0
       */
      uint16_t solenoid_voltage : 12;
  
      /**
       * Range: 0..256 (0..32 A)
       * Scale: 0.125
       * Offset: 0
       */
      uint8_t compressor_current : 8;
  
      /**
       * Range: 0..256 (0..32 A)
       * Scale: 0.125
       * Offset: 0
       */
      uint8_t solenoid_current : 8;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_brownout_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_compressor_oc_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_compressor_open_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_solenoid_oc_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_can_warning_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_can_bus_off_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_hardware_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_firmware_fault : 1;
  
      /**
       * Range: 0..1 (0..1 -)
       * Scale: 1
       * Offset: 0
       */
      uint8_t sticky_has_reset_fault : 1;
  };
  
  /**
   * Signals in message Clear_Faults.
   *
   * Clear sticky faults on the device
   *
   * All signal values are as on the CAN bus.
   */
  struct PH_clear_faults_t {
      /**
       * Dummy signal in empty message.
       */
      uint8_t dummy;
  };
  
  /**
   * Pack message Compressor_Config.
   *
   * @param[out] dst_p Buffer to pack the message into.
   * @param[in] src_p Data to pack.
   * @param[in] size Size of dst_p.
   *
   * @return Size of packed data, or negative error code.
   */
  int PH_compressor_config_pack(
      uint8_t *dst_p,
      const struct PH_compressor_config_t *src_p,
      size_t size);
  
  /**
   * Unpack message Compressor_Config.
   *
   * @param[out] dst_p Object to unpack the message into.
   * @param[in] src_p Message to unpack.
   * @param[in] size Size of src_p.
   *
   * @return zero(0) or negative error code.
   */
  int PH_compressor_config_unpack(
      struct PH_compressor_config_t *dst_p,
      const uint8_t *src_p,
      size_t size);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint16_t PH_compressor_config_minimum_tank_pressure_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_compressor_config_minimum_tank_pressure_decode(uint16_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_compressor_config_minimum_tank_pressure_is_in_range(uint16_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint16_t PH_compressor_config_maximum_tank_pressure_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_compressor_config_maximum_tank_pressure_decode(uint16_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_compressor_config_maximum_tank_pressure_is_in_range(uint16_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_compressor_config_force_disable_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_compressor_config_force_disable_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_compressor_config_force_disable_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_compressor_config_use_digital_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_compressor_config_use_digital_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_compressor_config_use_digital_is_in_range(uint8_t value);
  
  /**
   * Pack message Set_All.
   *
   * @param[out] dst_p Buffer to pack the message into.
   * @param[in] src_p Data to pack.
   * @param[in] size Size of dst_p.
   *
   * @return Size of packed data, or negative error code.
   */
  int PH_set_all_pack(
      uint8_t *dst_p,
      const struct PH_set_all_t *src_p,
      size_t size);
  
  /**
   * Unpack message Set_All.
   *
   * @param[out] dst_p Object to unpack the message into.
   * @param[in] src_p Message to unpack.
   * @param[in] size Size of src_p.
   *
   * @return zero(0) or negative error code.
   */
  int PH_set_all_unpack(
      struct PH_set_all_t *dst_p,
      const uint8_t *src_p,
      size_t size);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_0_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_0_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_0_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_1_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_1_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_1_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_2_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_2_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_2_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_3_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_3_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_3_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_4_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_4_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_4_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_5_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_5_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_5_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_6_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_6_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_6_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_7_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_7_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_7_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_8_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_8_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_8_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_9_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_9_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_9_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_10_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_10_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_10_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_11_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_11_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_11_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_12_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_12_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_12_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_13_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_13_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_13_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_14_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_14_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_14_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_set_all_channel_15_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_set_all_channel_15_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_set_all_channel_15_is_in_range(uint8_t value);
  
  /**
   * Pack message Pulse_Once.
   *
   * @param[out] dst_p Buffer to pack the message into.
   * @param[in] src_p Data to pack.
   * @param[in] size Size of dst_p.
   *
   * @return Size of packed data, or negative error code.
   */
  int PH_pulse_once_pack(
      uint8_t *dst_p,
      const struct PH_pulse_once_t *src_p,
      size_t size);
  
  /**
   * Unpack message Pulse_Once.
   *
   * @param[out] dst_p Object to unpack the message into.
   * @param[in] src_p Message to unpack.
   * @param[in] size Size of src_p.
   *
   * @return zero(0) or negative error code.
   */
  int PH_pulse_once_unpack(
      struct PH_pulse_once_t *dst_p,
      const uint8_t *src_p,
      size_t size);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_0_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_0_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_0_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_1_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_1_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_1_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_2_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_2_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_2_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_3_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_3_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_3_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_4_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_4_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_4_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_5_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_5_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_5_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_6_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_6_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_6_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_7_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_7_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_7_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_8_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_8_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_8_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_9_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_9_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_9_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_10_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_10_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_10_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_11_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_11_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_11_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_12_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_12_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_12_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_13_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_13_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_13_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_14_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_14_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_14_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_pulse_once_channel_15_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_channel_15_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_channel_15_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint16_t PH_pulse_once_pulse_length_ms_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_pulse_once_pulse_length_ms_decode(uint16_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_pulse_once_pulse_length_ms_is_in_range(uint16_t value);
  
  /**
   * Pack message Status_0.
   *
   * @param[out] dst_p Buffer to pack the message into.
   * @param[in] src_p Data to pack.
   * @param[in] size Size of dst_p.
   *
   * @return Size of packed data, or negative error code.
   */
  int PH_status_0_pack(
      uint8_t *dst_p,
      const struct PH_status_0_t *src_p,
      size_t size);
  
  /**
   * Unpack message Status_0.
   *
   * @param[out] dst_p Object to unpack the message into.
   * @param[in] src_p Message to unpack.
   * @param[in] size Size of src_p.
   *
   * @return zero(0) or negative error code.
   */
  int PH_status_0_unpack(
      struct PH_status_0_t *dst_p,
      const uint8_t *src_p,
      size_t size);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_0_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_0_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_0_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_1_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_1_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_1_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_2_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_2_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_2_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_3_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_3_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_3_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_4_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_4_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_4_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_5_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_5_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_5_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_6_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_6_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_6_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_7_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_7_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_7_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_8_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_8_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_8_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_9_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_9_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_9_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_10_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_10_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_10_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_11_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_11_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_11_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_12_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_12_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_12_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_13_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_13_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_13_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_14_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_14_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_14_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_15_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_15_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_15_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_analog_0_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_analog_0_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_analog_0_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_analog_1_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_analog_1_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_analog_1_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_digital_sensor_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_digital_sensor_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_digital_sensor_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_brownout_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_brownout_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_brownout_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_compressor_oc_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_compressor_oc_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_compressor_oc_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_compressor_open_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_compressor_open_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_compressor_open_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_solenoid_oc_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_solenoid_oc_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_solenoid_oc_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_can_warning_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_can_warning_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_can_warning_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_hardware_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_hardware_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_hardware_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_0_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_0_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_0_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_1_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_1_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_1_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_2_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_2_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_2_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_3_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_3_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_3_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_4_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_4_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_4_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_5_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_5_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_5_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_6_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_6_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_6_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_7_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_7_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_7_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_8_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_8_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_8_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_9_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_9_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_9_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_10_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_10_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_10_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_11_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_11_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_11_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_12_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_12_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_12_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_13_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_13_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_13_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_14_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_14_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_14_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_channel_15_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_channel_15_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_channel_15_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_compressor_on_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_compressor_on_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_compressor_on_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_system_enabled_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_system_enabled_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_system_enabled_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_robo_rio_present_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_robo_rio_present_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_robo_rio_present_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_0_compressor_config_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_0_compressor_config_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_0_compressor_config_is_in_range(uint8_t value);
  
  /**
   * Pack message Status_1.
   *
   * @param[out] dst_p Buffer to pack the message into.
   * @param[in] src_p Data to pack.
   * @param[in] size Size of dst_p.
   *
   * @return Size of packed data, or negative error code.
   */
  int PH_status_1_pack(
      uint8_t *dst_p,
      const struct PH_status_1_t *src_p,
      size_t size);
  
  /**
   * Unpack message Status_1.
   *
   * @param[out] dst_p Object to unpack the message into.
   * @param[in] src_p Message to unpack.
   * @param[in] size Size of src_p.
   *
   * @return zero(0) or negative error code.
   */
  int PH_status_1_unpack(
      struct PH_status_1_t *dst_p,
      const uint8_t *src_p,
      size_t size);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_v_bus_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_v_bus_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_v_bus_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint16_t PH_status_1_solenoid_voltage_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_solenoid_voltage_decode(uint16_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_solenoid_voltage_is_in_range(uint16_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_compressor_current_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_compressor_current_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_compressor_current_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_solenoid_current_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_solenoid_current_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_solenoid_current_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_brownout_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_brownout_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_brownout_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_compressor_oc_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_compressor_oc_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_compressor_oc_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_compressor_open_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_compressor_open_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_compressor_open_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_solenoid_oc_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_solenoid_oc_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_solenoid_oc_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_can_warning_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_can_warning_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_can_warning_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_can_bus_off_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_can_bus_off_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_can_bus_off_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_hardware_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_hardware_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_hardware_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_firmware_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_firmware_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_firmware_fault_is_in_range(uint8_t value);
  
  /**
   * Encode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to encode.
   *
   * @return Encoded signal.
   */
  uint8_t PH_status_1_sticky_has_reset_fault_encode(double value);
  
  /**
   * Decode given signal by applying scaling and offset.
   *
   * @param[in] value Signal to decode.
   *
   * @return Decoded signal.
   */
  double PH_status_1_sticky_has_reset_fault_decode(uint8_t value);
  
  /**
   * Check that given signal is in allowed range.
   *
   * @param[in] value Signal to check.
   *
   * @return true if in range, false otherwise.
   */
  bool PH_status_1_sticky_has_reset_fault_is_in_range(uint8_t value);
  
  /**
   * Pack message Clear_Faults.
   *
   * @param[out] dst_p Buffer to pack the message into.
   * @param[in] src_p Data to pack.
   * @param[in] size Size of dst_p.
   *
   * @return Size of packed data, or negative error code.
   */
  int PH_clear_faults_pack(
      uint8_t *dst_p,
      const struct PH_clear_faults_t *src_p,
      size_t size);
  
  /**
   * Unpack message Clear_Faults.
   *
   * @param[out] dst_p Object to unpack the message into.
   * @param[in] src_p Message to unpack.
   * @param[in] size Size of src_p.
   *
   * @return zero(0) or negative error code.
   */
  int PH_clear_faults_unpack(
      struct PH_clear_faults_t *dst_p,
      const uint8_t *src_p,
      size_t size);
  
  
  #ifdef __cplusplus
  }
  #endif
  
  #endif
  