Type Alias d1_pac::pwm::pcr::PWM_MODE_R

source ·
pub type PWM_MODE_R = BitReader<PWM_MODE_A>;
Expand description

Field pwm_mode reader - PWM Output Mode Select

Aliased Type§

struct PWM_MODE_R { /* private fields */ }

Implementations§

source§

impl PWM_MODE_R

source

pub fn variant(&self) -> PWM_MODE_A

Get enumerated values variant

source

pub fn is_cycle(&self) -> bool

Checks if the value of the field is CYCLE

source

pub fn is_pulse(&self) -> bool

Checks if the value of the field is PULSE