Variable circuloFeedbackEncoderStatusBitNamesConst

circuloFeedbackEncoderStatusBitNames: string[] = ...

An array of status bit names for the Circulo feedback encoder, ordered according to the specific register sequence required by the firmware. Each entry corresponds to a bit in the encoder's status registers, with the name and description of the error if available, or 'r = reserved' if not defined. The array is padded with 'r = reserved' entries to ensure a total length of 32 bits.

The bit names are constructed by iterating over the registers in the order specified by registerOrder ([1, 2, 0]), and for each register, iterating through its bits. If a bit has an associated error with a name and description in circuloEncoderRegisterErrors, it is included in the format ${error.name} = ${error.description}. Otherwise, 'r = reserved' is used.

Remarks

  • The ordering of registers and bits is critical to match the firmware's expected bit order.
  • The source of error names and descriptions is the circuloEncoderRegisterErrors mapping.
  • The final array always contains exactly 32 entries.

Generated using TypeDoc