You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// wrongly uses its own definition
#define TMC5272_GCONF_M0_DIAG0_ERROR_FIELD ((RegisterField) { TMC5272_GCONF_M0_DIAG0_ERROR_MASK, TMC5272_GCONF_M0_DIAG0_ERROR_FIELD, TMC5272_GCONF, false })
// instead use SHIFT
#define TMC5272_GCONF_M0_DIAG0_ERROR_FIELD ((RegisterField) { TMC5272_GCONF_M0_DIAG0_ERROR_MASK, TMC5272_GCONF_M0_DIAG0_ERROR_SHIFT, TMC5272_GCONF, false })
Same for TMC5272_RAMP_STAT_STATUS_LATCH_L_FIELD
The text was updated successfully, but these errors were encountered:
chrislro2019
changed the title
Some RegisterField definitions are wrong in TMC5272_HW_Abstraction.h, contains itself, must use FIELD
Some RegisterField definitions are wrong in TMC5272_HW_Abstraction.h, contains itself, must use SHIFT
Apr 12, 2024
https://github.com/analogdevicesinc/TMC-API/blob/f276b3e94894494009a1c44e3eb21512ad0ab320/tmc/ic/TMC5272/TMC5272_HW_Abstraction.h#L109C118-L109C152
https://github.com/analogdevicesinc/TMC-API/blob/f276b3e94894494009a1c44e3eb21512ad0ab320/tmc/ic/TMC5272/TMC5272_HW_Abstraction.h#L439C1-L439C54
Must use FIELD definition, not its own name
Same for
TMC5272_RAMP_STAT_STATUS_LATCH_L_FIELD
The text was updated successfully, but these errors were encountered: