Enum stm32_metapac::rcc::vals::Prediv
#[repr(u8)]pub enum Prediv {
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 Prediv
impl Ord for Prediv
§impl PartialOrd for Prediv
impl PartialOrd for Prediv
impl Copy for Prediv
impl Eq for Prediv
impl StructuralPartialEq for Prediv
Auto Trait Implementations§
impl Freeze for Prediv
impl RefUnwindSafe for Prediv
impl Send for Prediv
impl Sync for Prediv
impl Unpin for Prediv
impl UnwindSafe for Prediv
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
)