Class Config.IEPE_voltage

java.lang.Object
com.inertia.promove.Config.IEPE_voltage
Enclosing class:
Config

public static class Config.IEPE_voltage
extends java.lang.Object
  • Field Summary

    Fields 
    Modifier and Type Field Description
    boolean enable  
    boolean potEnable  
    Config.VmonBoardType type  
    int voltage  
  • Constructor Summary

    Constructors 
    Constructor Description
    IEPE_voltage()  
  • Method Summary

    Modifier and Type Method Description
    int getBytes​(byte[] out)
    get the IDP byte representation of the IEPE voltage configuration
    int parse​(byte[] in)
    parse IEPE voltage configuration from IDP bytes
    void set​(boolean _enable, boolean _potEnable, int _voltage)
    set the parameters
    java.lang.String toString()  

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Field Details

  • Constructor Details

  • Method Details

    • set

      public void set​(boolean _enable, boolean _potEnable, int _voltage)
      set the parameters
      Parameters:
      _enable - enable IEPE voltage
      _potEnable - enable pot
      _voltage - voltage
    • parse

      public int parse​(byte[] in) throws InertiaException
      parse IEPE voltage configuration from IDP bytes
      Parameters:
      in - input IDP bytes
      Returns:
      number of IDP bytes read
      Throws:
      InertiaException - when error occurs
    • getBytes

      public int getBytes​(byte[] out)
      get the IDP byte representation of the IEPE voltage configuration
      Parameters:
      out - the output IDP bytes
      Returns:
      the number of IDP bytes
    • toString

      public java.lang.String toString()
      Overrides:
      toString in class java.lang.Object