pub struct R(/* private fields */);
Expand description
Register per
reader
Implementations§
source§impl R
impl R
sourcepub unsafe fn pwm_en(&self, n: u8) -> PWM_EN_R
pub unsafe fn pwm_en(&self, n: u8) -> PWM_EN_R
When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.
sourcepub fn pwm0_en(&self) -> PWM_EN_R
pub fn pwm0_en(&self) -> PWM_EN_R
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(&self) -> PWM_EN_R
pub fn pwm1_en(&self) -> PWM_EN_R
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(&self) -> PWM_EN_R
pub fn pwm2_en(&self) -> PWM_EN_R
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(&self) -> PWM_EN_R
pub fn pwm3_en(&self) -> PWM_EN_R
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(&self) -> PWM_EN_R
pub fn pwm4_en(&self) -> PWM_EN_R
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(&self) -> PWM_EN_R
pub fn pwm5_en(&self) -> PWM_EN_R
Bit 5 - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.