pub struct W(/* private fields */);
Expand description
Register per
writer
Implementations§
source§impl W
impl W
sourcepub unsafe fn pwm_en<const O: u8>(&mut self) -> PWM_EN_W<'_, O>
pub unsafe fn pwm_en<const O: u8>(&mut self) -> PWM_EN_W<'_, O>
When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm0_en(&mut self) -> PWM_EN_W<'_, 0>
pub fn pwm0_en(&mut self) -> PWM_EN_W<'_, 0>
Bit 0 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm1_en(&mut self) -> PWM_EN_W<'_, 1>
pub fn pwm1_en(&mut self) -> PWM_EN_W<'_, 1>
Bit 1 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm2_en(&mut self) -> PWM_EN_W<'_, 2>
pub fn pwm2_en(&mut self) -> PWM_EN_W<'_, 2>
Bit 2 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm3_en(&mut self) -> PWM_EN_W<'_, 3>
pub fn pwm3_en(&mut self) -> PWM_EN_W<'_, 3>
Bit 3 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm4_en(&mut self) -> PWM_EN_W<'_, 4>
pub fn pwm4_en(&mut self) -> PWM_EN_W<'_, 4>
Bit 4 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm5_en(&mut self) -> PWM_EN_W<'_, 5>
pub fn pwm5_en(&mut self) -> PWM_EN_W<'_, 5>
Bit 5 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm6_en(&mut self) -> PWM_EN_W<'_, 6>
pub fn pwm6_en(&mut self) -> PWM_EN_W<'_, 6>
Bit 6 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.