pub struct CPRE_R(_);
Expand description
Field CPRE
reader - Channel Pre-scaler
Implementations
sourceimpl CPRE_R
impl CPRE_R
sourcepub fn is_mck_div_2(&self) -> bool
pub fn is_mck_div_2(&self) -> bool
Checks if the value of the field is MCK_DIV_2
sourcepub fn is_mck_div_4(&self) -> bool
pub fn is_mck_div_4(&self) -> bool
Checks if the value of the field is MCK_DIV_4
sourcepub fn is_mck_div_8(&self) -> bool
pub fn is_mck_div_8(&self) -> bool
Checks if the value of the field is MCK_DIV_8
sourcepub fn is_mck_div_16(&self) -> bool
pub fn is_mck_div_16(&self) -> bool
Checks if the value of the field is MCK_DIV_16
sourcepub fn is_mck_div_32(&self) -> bool
pub fn is_mck_div_32(&self) -> bool
Checks if the value of the field is MCK_DIV_32
sourcepub fn is_mck_div_64(&self) -> bool
pub fn is_mck_div_64(&self) -> bool
Checks if the value of the field is MCK_DIV_64
sourcepub fn is_mck_div_128(&self) -> bool
pub fn is_mck_div_128(&self) -> bool
Checks if the value of the field is MCK_DIV_128
sourcepub fn is_mck_div_256(&self) -> bool
pub fn is_mck_div_256(&self) -> bool
Checks if the value of the field is MCK_DIV_256
sourcepub fn is_mck_div_512(&self) -> bool
pub fn is_mck_div_512(&self) -> bool
Checks if the value of the field is MCK_DIV_512
sourcepub fn is_mck_div_1024(&self) -> bool
pub fn is_mck_div_1024(&self) -> bool
Checks if the value of the field is MCK_DIV_1024
Methods from Deref<Target = FieldReader<u8, CPRE_A>>
sourcepub fn bit_is_clear(&self) -> bool
pub fn bit_is_clear(&self) -> bool
Returns true
if the bit is clear (0).
sourcepub fn bit_is_set(&self) -> bool
pub fn bit_is_set(&self) -> bool
Returns true
if the bit is set (1).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for CPRE_R
impl Send for CPRE_R
impl Sync for CPRE_R
impl Unpin for CPRE_R
impl UnwindSafe for CPRE_R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more