Type Definition atsam4n8c_pac::pwm::mr::PREB_R

source ·
pub type PREB_R = FieldReader<u8, PREB_A>;
Expand description

Field PREB reader -

Implementations§

source§

impl PREB_R

source

pub fn variant(&self) -> Option<PREB_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