pub enum HPRER {
NOTDIVIDED,
DIV_2,
DIV_4,
DIV_8,
DIV_16,
DIV_64,
DIV_128,
DIV_256,
DIV_512,
_Reserved(u8),
}
Expand description
Possible values of the field HPRE
Variants
NOTDIVIDED
SYSCLK not divided
DIV_2
SYSCLK divided by 2
DIV_4
SYSCLK divided by 4
DIV_8
SYSCLK divided by 8
DIV_16
SYSCLK divided by 16
DIV_64
SYSCLK divided by 64
DIV_128
SYSCLK divided by 128
DIV_256
SYSCLK divided by 256
DIV_512
SYSCLK divided by 512
_Reserved(u8)
Reserved
Implementations
sourceimpl HPRER
impl HPRER
sourcepub fn is_not_divided(&self) -> bool
pub fn is_not_divided(&self) -> bool
Checks if the value of the field is NOTDIVIDED
sourcepub fn is_div_128(&self) -> bool
pub fn is_div_128(&self) -> bool
Checks if the value of the field is DIV_128
sourcepub fn is_div_256(&self) -> bool
pub fn is_div_256(&self) -> bool
Checks if the value of the field is DIV_256
sourcepub fn is_div_512(&self) -> bool
pub fn is_div_512(&self) -> bool
Checks if the value of the field is DIV_512
Trait Implementations
impl Copy for HPRER
impl StructuralPartialEq for HPRER
Auto Trait Implementations
impl RefUnwindSafe for HPRER
impl Send for HPRER
impl Sync for HPRER
impl Unpin for HPRER
impl UnwindSafe for HPRER
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