Type Definition atsam4s2a_pac::pwm::cmr0::CPRE_R

source ·
pub type CPRE_R = FieldReader<u8, CPRE_A>;
Expand description

Field CPRE reader - Channel Pre-scaler

Implementations§

source§

impl CPRE_R

source

pub fn variant(&self) -> Option<CPRE_A>

Get enumerated values variant

source

pub fn is_mck(&self) -> bool

Checks if the value of the field is MCK

source

pub fn is_mck_div_2(&self) -> bool

Checks if the value of the field is MCK_DIV_2

source

pub fn is_mck_div_4(&self) -> bool

Checks if the value of the field is MCK_DIV_4

source

pub fn is_mck_div_8(&self) -> bool

Checks if the value of the field is MCK_DIV_8

source

pub fn is_mck_div_16(&self) -> bool

Checks if the value of the field is MCK_DIV_16

source

pub fn is_mck_div_32(&self) -> bool

Checks if the value of the field is MCK_DIV_32

source

pub fn is_mck_div_64(&self) -> bool

Checks if the value of the field is MCK_DIV_64

source

pub fn is_mck_div_128(&self) -> bool

Checks if the value of the field is MCK_DIV_128

source

pub fn is_mck_div_256(&self) -> bool

Checks if the value of the field is MCK_DIV_256

source

pub fn is_mck_div_512(&self) -> bool

Checks if the value of the field is MCK_DIV_512

source

pub fn is_mck_div_1024(&self) -> bool

Checks if the value of the field is MCK_DIV_1024

source

pub fn is_clka(&self) -> bool

Checks if the value of the field is CLKA

source

pub fn is_clkb(&self) -> bool

Checks if the value of the field is CLKB