Type Alias d1_pac::pwm::per::PWM_EN_R

source ·
pub type PWM_EN_R = BitReader<PWM_EN_A>;
Expand description

Field pwm_en[0-7] reader - When PWM is enabled, the 16-bit up-counter starts working and PWM channel is permitted to output PWM waveform.

Aliased Type§

struct PWM_EN_R { /* private fields */ }

Implementations§

source§

impl PWM_EN_R

source

pub fn variant(&self) -> PWM_EN_A

Get enumerated values variant

source

pub fn is_disable(&self) -> bool

Checks if the value of the field is DISABLE

source

pub fn is_enable(&self) -> bool

Checks if the value of the field is ENABLE