Enum stm32f103xx::rcc::cfgr::PPRE2R [−][src]
pub enum PPRE2R {
NODIV,
DIV2,
DIV4,
DIV8,
DIV16,
_Reserved(u8),
}Possible values of the field PPRE2
Variants
NODIVHCLK not divided
DIV2HCLK divided by 2
DIV4HCLK divided by 4
DIV8HCLK divided by 8
DIV16HCLK divided by 16
_Reserved(u8)Reserved
Methods
impl PPRE2R[src]
impl PPRE2Rpub fn bits(&self) -> u8[src]
pub fn bits(&self) -> u8Value of the field as raw bits
pub fn is_no_div(&self) -> bool[src]
pub fn is_no_div(&self) -> boolChecks if the value of the field is NODIV
pub fn is_div2(&self) -> bool[src]
pub fn is_div2(&self) -> boolChecks if the value of the field is DIV2
pub fn is_div4(&self) -> bool[src]
pub fn is_div4(&self) -> boolChecks if the value of the field is DIV4
pub fn is_div8(&self) -> bool[src]
pub fn is_div8(&self) -> boolChecks if the value of the field is DIV8
pub fn is_div16(&self) -> bool[src]
pub fn is_div16(&self) -> boolChecks if the value of the field is DIV16
Trait Implementations
impl Clone for PPRE2R[src]
impl Clone for PPRE2Rfn clone(&self) -> PPRE2R[src]
fn clone(&self) -> PPRE2RReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Copy for PPRE2R[src]
impl Copy for PPRE2Rimpl Debug for PPRE2R[src]
impl Debug for PPRE2Rfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for PPRE2R[src]
impl PartialEq for PPRE2R