Struct esp32s3_hal::pac::pwm0::gen1_a::W
pub struct W(_);
Expand description
Register GEN1_A
writer
Implementations§
§impl W
impl W
pub fn utez(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 0>
pub fn utez(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 0>
Bits 0:1 - Action on PWM1A triggered by event TEZ when timer increasing
pub fn utep(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 2>
pub fn utep(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 2>
Bits 2:3 - Action on PWM1A triggered by event TEP when timer increasing
pub fn utea(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 4>
pub fn utea(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 4>
Bits 4:5 - Action on PWM1A triggered by event TEA when timer increasing
pub fn uteb(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 6>
pub fn uteb(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 6>
Bits 6:7 - Action on PWM1A triggered by event TEB when timer increasing
pub fn ut0(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 8>
pub fn ut0(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 8>
Bits 8:9 - Action on PWM1A triggered by event_t0 when timer increasing
pub fn ut1(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 10>
pub fn ut1(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 10>
Bits 10:11 - Action on PWM1A triggered by event_t1 when timer increasing
pub fn dtez(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 12>
pub fn dtez(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 12>
Bits 12:13 - Action on PWM1A triggered by event TEZ when timer decreasing
pub fn dtep(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 14>
pub fn dtep(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 14>
Bits 14:15 - Action on PWM1A triggered by event TEP when timer decreasing
pub fn dtea(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 16>
pub fn dtea(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 16>
Bits 16:17 - Action on PWM1A triggered by event TEA when timer decreasing
pub fn dteb(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 18>
pub fn dteb(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 18>
Bits 18:19 - Action on PWM1A triggered by event TEB when timer decreasing
pub fn dt0(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 20>
pub fn dt0(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 20>
Bits 20:21 - Action on PWM1A triggered by event_t0 when timer decreasing
pub fn dt1(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 22>
pub fn dt1(
&mut self
) -> FieldWriterRaw<'_, u32, GEN1_A_SPEC, u8, u8, Unsafe, 2, 22>
Bits 22:23 - Action on PWM1A triggered by event_t1 when timer decreasing. 0: no change, 1: low, 2: high, 3: toggle
Methods from Deref<Target = W<GEN1_A_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.