Struct esp32_hal::pac::pwm0::gen2_force::W
pub struct W(_);
Expand description
Register GEN2_FORCE
writer
Implementations§
§impl W
impl W
pub fn gen2_cntuforce_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 6, 0>
pub fn gen2_cntuforce_upmethod(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 6, 0>
Bits 0:5
pub fn gen2_a_cntuforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 6>
pub fn gen2_a_cntuforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 6>
Bits 6:7
pub fn gen2_b_cntuforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 8>
pub fn gen2_b_cntuforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9
pub fn gen2_a_nciforce(
&mut self
) -> BitWriterRaw<'_, u32, GEN2_FORCE_SPEC, bool, BitM, 10>
pub fn gen2_a_nciforce(
&mut self
) -> BitWriterRaw<'_, u32, GEN2_FORCE_SPEC, bool, BitM, 10>
Bit 10
pub fn gen2_a_nciforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 11>
pub fn gen2_a_nciforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 11>
Bits 11:12
pub fn gen2_b_nciforce(
&mut self
) -> BitWriterRaw<'_, u32, GEN2_FORCE_SPEC, bool, BitM, 13>
pub fn gen2_b_nciforce(
&mut self
) -> BitWriterRaw<'_, u32, GEN2_FORCE_SPEC, bool, BitM, 13>
Bit 13
pub fn gen2_b_nciforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 14>
pub fn gen2_b_nciforce_mode(
&mut self
) -> FieldWriterRaw<'_, u32, GEN2_FORCE_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15
Methods from Deref<Target = W<GEN2_FORCE_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<GEN2_FORCE_SPEC>> for W
impl From<W<GEN2_FORCE_SPEC>> for W
§fn from(writer: W<GEN2_FORCE_SPEC>) -> W
fn from(writer: W<GEN2_FORCE_SPEC>) -> W
Converts to this type from the input type.