Struct esp32s3_hal::pac::twai::clock_divider::W
pub struct W(_);
Expand description
Register CLOCK_DIVIDER
writer
Implementations
impl W
impl W
pub fn cd(
&mut self
) -> FieldWriterRaw<'_, u32, CLOCK_DIVIDER_SPEC, u8, u8, Unsafe, 8, 0>
pub fn cd(
&mut self
) -> FieldWriterRaw<'_, u32, CLOCK_DIVIDER_SPEC, u8, u8, Unsafe, 8, 0>
Bits 0:7 - These bits are used to configure frequency dividing coefficients of the external CLKOUT pin.
pub fn clock_off(
&mut self
) -> BitWriterRaw<'_, u32, CLOCK_DIVIDER_SPEC, bool, BitM, 8>
pub fn clock_off(
&mut self
) -> BitWriterRaw<'_, u32, CLOCK_DIVIDER_SPEC, bool, BitM, 8>
Bit 8 - This bit can be configured under reset mode. 1: Disable the external CLKOUT pin; 0: Enable the external CLKOUT pin
Methods from Deref<Target = W<CLOCK_DIVIDER_SPEC>>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.
Trait Implementations
impl From<W<CLOCK_DIVIDER_SPEC>> for W
impl From<W<CLOCK_DIVIDER_SPEC>> for W
fn from(writer: W<CLOCK_DIVIDER_SPEC>) -> W
fn from(writer: W<CLOCK_DIVIDER_SPEC>) -> W
Converts to this type from the input type.
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more