Struct esp32_hal::pac::twai::bus_timing_0::W
pub struct W(_);
Expand description
Register BUS_TIMING_0
writer
Implementations§
§impl W
impl W
pub fn baud_presc(
&mut self
) -> FieldWriterRaw<'_, u32, BUS_TIMING_0_SPEC, u16, u16, Unsafe, 14, 0>
pub fn baud_presc(
&mut self
) -> FieldWriterRaw<'_, u32, BUS_TIMING_0_SPEC, u16, u16, Unsafe, 14, 0>
Bits 0:13 - Baud Rate Prescaler, determines the frequency dividing ratio.
pub fn sync_jump_width(
&mut self
) -> FieldWriterRaw<'_, u32, BUS_TIMING_0_SPEC, u8, u8, Unsafe, 2, 14>
pub fn sync_jump_width(
&mut self
) -> FieldWriterRaw<'_, u32, BUS_TIMING_0_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - Synchronization Jump Width (SJW), 1 \verb+~+ 14 Tq wide.
Methods from Deref<Target = W<BUS_TIMING_0_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<BUS_TIMING_0_SPEC>> for W
impl From<W<BUS_TIMING_0_SPEC>> for W
§fn from(writer: W<BUS_TIMING_0_SPEC>) -> W
fn from(writer: W<BUS_TIMING_0_SPEC>) -> W
Converts to this type from the input type.