Function parseIntegroIntegratedEncoderError

  • Parses a 32-bit encoder error register value into a structured error object.

    This utility provides a high-level interpretation of encoder error registers by:

    1. Extracting the errorCode and debugInfo from the raw register value.
    2. Resolving a human-readable description for the extracted error code.
    3. Returning all relevant information in a structured format.

    If the extracted errorCode is not recognized, the errorInfo field will be undefined.

    Returns

    An object containing:

    • registerValue: The original raw register value.
    • debugInfo: Additional debug information extracted from the register.
    • errorInfo: Optional detailed description of the error, or undefined if unknown.

    Parameters

    • registerValue: number

      The 32-bit integer value read from the encoder error register.

    Returns IntegroIntegratedEncoderError

Generated using TypeDoc