[−]Enum nucleo_f401re::stm32::rcc::cfgr::MCO2PRER
Possible values of the field MCO2PRE
Variants
DIV1
No division
DIV2
Division by 2
DIV3
Division by 3
DIV4
Division by 4
DIV5
Division by 5
_Reserved(u8)
Reserved
Methods
impl MCO2PRER
pub fn bits(&self) -> u8
Value of the field as raw bits
pub fn is_div1(&self) -> bool
Checks if the value of the field is DIV1
pub fn is_div2(&self) -> bool
Checks if the value of the field is DIV2
pub fn is_div3(&self) -> bool
Checks if the value of the field is DIV3
pub fn is_div4(&self) -> bool
Checks if the value of the field is DIV4
pub fn is_div5(&self) -> bool
Checks if the value of the field is DIV5
Trait Implementations
impl PartialEq<MCO2PRER> for MCO2PRER
impl Debug for MCO2PRER
impl Copy for MCO2PRER
impl Clone for MCO2PRER
fn clone(&self) -> MCO2PRER
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same for T
type Output = T
Should always be Self