Enum stm32f429i_disc::tim2::cr1::CKDR
pub enum CKDR {
NOTDIVIDED,
DIVIDEDBY2,
DIVIDEDBY4,
_Reserved(u8),
}
Expand description
Possible values of the field CKD
Variants
NOTDIVIDED
CK_INT not divided
DIVIDEDBY2
CK_INT divided by 2
DIVIDEDBY4
CK_INT divided by 4
_Reserved(u8)
Reserved
Implementations
impl CKDR
impl CKDR
pub fn is_not_divided(&self) -> bool
pub fn is_not_divided(&self) -> bool
Checks if the value of the field is NOTDIVIDED
pub fn is_divided_by2(&self) -> bool
pub fn is_divided_by2(&self) -> bool
Checks if the value of the field is DIVIDEDBY2
pub fn is_divided_by4(&self) -> bool
pub fn is_divided_by4(&self) -> bool
Checks if the value of the field is DIVIDEDBY4
Trait Implementations
impl Copy for CKDR
impl StructuralPartialEq for CKDR
Auto Trait Implementations
impl RefUnwindSafe for CKDR
impl Send for CKDR
impl Sync for CKDR
impl Unpin for CKDR
impl UnwindSafe for CKDR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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