https://github.com/simplefoc/Arduino-FOC-drivers/blob/ed05aa1644de36cbd19f43e8ea5c3edb643cefa9/src/drivers/drv8316/drv8316.h#L77 It looks like the names of the enum members do not match the actual gains in the datasheet (this is the same on both DRV8316 and DRV8316C): <img width="680" height="179" alt="Image" src="https://github.com/user-attachments/assets/f00f81fa-ec54-4dac-bf24-dfae0b07d06e" /> Otherwise seems to be fine.