Type Definition atsam4n8c_pac::pwm::cmr1::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_mckdiv2(&self) -> bool

Checks if the value of the field is MCKDIV2

source

pub fn is_mckdiv4(&self) -> bool

Checks if the value of the field is MCKDIV4

source

pub fn is_mckdiv8(&self) -> bool

Checks if the value of the field is MCKDIV8

source

pub fn is_mckdiv16(&self) -> bool

Checks if the value of the field is MCKDIV16

source

pub fn is_mckdiv32(&self) -> bool

Checks if the value of the field is MCKDIV32

source

pub fn is_mckdiv64(&self) -> bool

Checks if the value of the field is MCKDIV64

source

pub fn is_mckdiv128(&self) -> bool

Checks if the value of the field is MCKDIV128

source

pub fn is_mckdiv256(&self) -> bool

Checks if the value of the field is MCKDIV256

source

pub fn is_mckdiv512(&self) -> bool

Checks if the value of the field is MCKDIV512

source

pub fn is_mckdiv1024(&self) -> bool

Checks if the value of the field is MCKDIV1024

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