HF-TMC9660 Driver
Hardware Agnostic C++ Driver for the TMC9660
|
Subsystem for entering low-power hibernation mode and configuring wake. More...
#include <TMC9660.hpp>
Public Member Functions | |
bool | enableWakePin (bool enable) noexcept |
Enable or disable the external wake-up pin. | |
bool | enterPowerDown (tmc9660::tmcl::PowerDownTimeout period) noexcept |
Put the chip into power-down mode for a set duration. | |
Private Member Functions | |
Power (TMC9660 &parent) noexcept | |
Private Attributes | |
TMC9660 & | driver |
Friends | |
class | TMC9660 |
Subsystem for entering low-power hibernation mode and configuring wake.
The TMC9660 supports timed power-down and wake-on-pin. These features reduce power when idle.
|
inlineexplicitprivatenoexcept |
|
noexcept |
Enable or disable the external wake-up pin.
enable | true = enable pin |
ENABLE_WAKE_PIN
|
noexcept |
Put the chip into power-down mode for a set duration.
period | Enum selecting one of 6 durations (e.g. PERIOD_1 = 250 ms) |
GO_TO_TIMEOUT_POWER_DOWN_STATE
|
friend |
|
private |