[−][src]Enum alt_stm32f30x_hal::device::rcc::cfgr2::PREDIVR
Possible values of the field PREDIV
Variants
DIV1
PREDIV input clock not divided
DIV2
PREDIV input clock divided by 2
DIV3
PREDIV input clock divided by 3
DIV4
PREDIV input clock divided by 4
DIV5
PREDIV input clock divided by 5
DIV6
PREDIV input clock divided by 6
DIV7
PREDIV input clock divided by 7
DIV8
PREDIV input clock divided by 8
DIV9
PREDIV input clock divided by 9
DIV10
PREDIV input clock divided by 10
DIV11
PREDIV input clock divided by 11
DIV12
PREDIV input clock divided by 12
DIV13
PREDIV input clock divided by 13
DIV14
PREDIV input clock divided by 14
DIV15
PREDIV input clock divided by 15
DIV16
PREDIV input clock divided by 16
Methods
impl PREDIVR
[src]
pub fn bits(&self) -> u8
[src]
Value of the field as raw bits
pub fn is_div1(&self) -> bool
[src]
Checks if the value of the field is DIV1
pub fn is_div2(&self) -> bool
[src]
Checks if the value of the field is DIV2
pub fn is_div3(&self) -> bool
[src]
Checks if the value of the field is DIV3
pub fn is_div4(&self) -> bool
[src]
Checks if the value of the field is DIV4
pub fn is_div5(&self) -> bool
[src]
Checks if the value of the field is DIV5
pub fn is_div6(&self) -> bool
[src]
Checks if the value of the field is DIV6
pub fn is_div7(&self) -> bool
[src]
Checks if the value of the field is DIV7
pub fn is_div8(&self) -> bool
[src]
Checks if the value of the field is DIV8
pub fn is_div9(&self) -> bool
[src]
Checks if the value of the field is DIV9
pub fn is_div10(&self) -> bool
[src]
Checks if the value of the field is DIV10
pub fn is_div11(&self) -> bool
[src]
Checks if the value of the field is DIV11
pub fn is_div12(&self) -> bool
[src]
Checks if the value of the field is DIV12
pub fn is_div13(&self) -> bool
[src]
Checks if the value of the field is DIV13
pub fn is_div14(&self) -> bool
[src]
Checks if the value of the field is DIV14
pub fn is_div15(&self) -> bool
[src]
Checks if the value of the field is DIV15
pub fn is_div16(&self) -> bool
[src]
Checks if the value of the field is DIV16
Trait Implementations
impl PartialEq<PREDIVR> for PREDIVR
[src]
fn eq(&self, other: &PREDIVR) -> bool
[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.
impl Debug for PREDIVR
[src]
impl Copy for PREDIVR
[src]
impl Clone for PREDIVR
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> 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<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> 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<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> 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<T> for T
type Output = T
Should always be Self