Enum stm32_metapac::rcc::vals::Prediv1
#[repr(u8)]pub enum Prediv1 {
Show 16 variants
DIV1 = 0,
DIV2 = 1,
DIV3 = 2,
DIV4 = 3,
DIV5 = 4,
DIV6 = 5,
DIV7 = 6,
DIV8 = 7,
DIV9 = 8,
DIV10 = 9,
DIV11 = 10,
DIV12 = 11,
DIV13 = 12,
DIV14 = 13,
DIV15 = 14,
DIV16 = 15,
}
Variants§
DIV1 = 0
PREDIV input clock not divided
DIV2 = 1
PREDIV input clock divided by 2
DIV3 = 2
PREDIV input clock divided by 3
DIV4 = 3
PREDIV input clock divided by 4
DIV5 = 4
PREDIV input clock divided by 5
DIV6 = 5
PREDIV input clock divided by 6
DIV7 = 6
PREDIV input clock divided by 7
DIV8 = 7
PREDIV input clock divided by 8
DIV9 = 8
PREDIV input clock divided by 9
DIV10 = 9
PREDIV input clock divided by 10
DIV11 = 10
PREDIV input clock divided by 11
DIV12 = 11
PREDIV input clock divided by 12
DIV13 = 12
PREDIV input clock divided by 13
DIV14 = 13
PREDIV input clock divided by 14
DIV15 = 14
PREDIV input clock divided by 15
DIV16 = 15
PREDIV input clock divided by 16
Implementations§
Trait Implementations§
§impl Ord for Prediv1
impl Ord for Prediv1
§impl PartialOrd for Prediv1
impl PartialOrd for Prediv1
impl Copy for Prediv1
impl Eq for Prediv1
impl StructuralPartialEq for Prediv1
Auto Trait Implementations§
impl Freeze for Prediv1
impl RefUnwindSafe for Prediv1
impl Send for Prediv1
impl Sync for Prediv1
impl Unpin for Prediv1
impl UnwindSafe for Prediv1
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
)