Type Alias d1_pac::pwm::pcr::PWM_MODE_W

source ·
pub type PWM_MODE_W<'a, const O: u8> = BitWriter<'a, u32, PCR_SPEC, PWM_MODE_A, O>;
Expand description

Field pwm_mode writer - PWM Output Mode Select

Aliased Type§

struct PWM_MODE_W<'a, const O: u8> { /* private fields */ }

Implementations§

source§

impl<'a, const O: u8> PWM_MODE_W<'a, O>

source

pub fn cycle(self) -> &'a mut W

Cycle mode

source

pub fn pulse(self) -> &'a mut W

Pulse mode