Struct esp32_hal::pac::pwm0::timer_synci_cfg::W
pub struct W(_);
Expand description
Register TIMER_SYNCI_CFG
writer
Implementations§
§impl W
impl W
pub fn timer0_syncisel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, u8, u8, Unsafe, 3, 0>
pub fn timer0_syncisel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, u8, u8, Unsafe, 3, 0>
Bits 0:2
pub fn timer1_syncisel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, u8, u8, Unsafe, 3, 3>
pub fn timer1_syncisel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, u8, u8, Unsafe, 3, 3>
Bits 3:5
pub fn timer2_syncisel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, u8, u8, Unsafe, 3, 6>
pub fn timer2_syncisel(
&mut self
) -> FieldWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, u8, u8, Unsafe, 3, 6>
Bits 6:8
pub fn external_synci0_invert(
&mut self
) -> BitWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, bool, BitM, 9>
pub fn external_synci0_invert(
&mut self
) -> BitWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, bool, BitM, 9>
Bit 9
pub fn external_synci1_invert(
&mut self
) -> BitWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, bool, BitM, 10>
pub fn external_synci1_invert(
&mut self
) -> BitWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, bool, BitM, 10>
Bit 10
pub fn external_synci2_invert(
&mut self
) -> BitWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, bool, BitM, 11>
pub fn external_synci2_invert(
&mut self
) -> BitWriterRaw<'_, u32, TIMER_SYNCI_CFG_SPEC, bool, BitM, 11>
Bit 11
Methods from Deref<Target = W<TIMER_SYNCI_CFG_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<TIMER_SYNCI_CFG_SPEC>> for W
impl From<W<TIMER_SYNCI_CFG_SPEC>> for W
§fn from(writer: W<TIMER_SYNCI_CFG_SPEC>) -> W
fn from(writer: W<TIMER_SYNCI_CFG_SPEC>) -> W
Converts to this type from the input type.