pub struct PwmAuto(/* private fields */);Expand description
Automatic PWM configuration register.
Read-only register containing the automatic PWM tuning results. These values are computed by the auto-tuning algorithm.
Implementations§
Source§impl PwmAuto
impl PwmAuto
Sourcepub fn pwm_ofs_auto(&self) -> u8
pub fn pwm_ofs_auto(&self) -> u8
Get PWM_OFS_AUTO (0-255).
Automatically determined offset value. Result of automatic amplitude calibration.
Sourcepub fn pwm_grad_auto(&self) -> u8
pub fn pwm_grad_auto(&self) -> u8
Get PWM_GRAD_AUTO (0-255).
Automatically determined gradient value. Result of automatic gradient calibration for velocity-dependent current.
Trait Implementations§
impl Copy for PwmAuto
impl Eq for PwmAuto
impl ReadableRegister for PwmAuto
impl StructuralPartialEq for PwmAuto
Auto Trait Implementations§
impl Freeze for PwmAuto
impl RefUnwindSafe for PwmAuto
impl Send for PwmAuto
impl Sync for PwmAuto
impl Unpin for PwmAuto
impl UnwindSafe for PwmAuto
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more