Enum stm32_metapac::rcc::vals::Hpre
#[repr(u8)]pub enum Hpre {
DIV1 = 0,
_RESERVED_1 = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
DIV2 = 4,
DIV4 = 5,
DIV8 = 6,
DIV16 = 7,
}
Variants§
DIV1 = 0
DCLK not divided
_RESERVED_1 = 1
_RESERVED_2 = 2
_RESERVED_3 = 3
DIV2 = 4
hclk = SYSCLK divided by 2
DIV4 = 5
hclk = SYSCLK divided by 4
DIV8 = 6
hclk = SYSCLK divided by 8
DIV16 = 7
hclk = SYSCLK divided by 16
Implementations§
Trait Implementations§
§impl Ord for Hpre
impl Ord for Hpre
§impl PartialOrd for Hpre
impl PartialOrd for Hpre
impl Copy for Hpre
impl Eq for Hpre
impl StructuralPartialEq for Hpre
Auto Trait Implementations§
impl Freeze for Hpre
impl RefUnwindSafe for Hpre
impl Send for Hpre
impl Sync for Hpre
impl Unpin for Hpre
impl UnwindSafe for Hpre
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)