Prusa3d Marlin fork
|
Public Member Functions | |
void | refreshCurrentScaling () |
__attribute__ ((always_inline)) MotorCurrents(const MotorCurrents &curr_P) | |
constexpr | __attribute__ ((always_inline)) MotorCurrents(uint8_t ir |
constexpr uint8_t | iRun ((ir< 32) ? ir :(ir >> 1)) |
constexpr uint8_t | iHold ((ir< 32) ? ih :(ih >> 1)) |
uint8_t | getiRun () const |
uint8_t | getiHold () const |
uint8_t | getOriginaliRun () const |
uint8_t | getOriginaliHold () const |
bool | iHoldIsClamped () const |
uint8_t | getvSense () const |
void | __attribute__ ((noinline)) setiRun(uint8_t ir) |
void | __attribute__ ((noinline)) setiHold(uint8_t ih) |
Public Attributes | |
constexpr uint8_t | ih: vSense((ir < 32) ? 1 : 0) |