Enum stm32_metapac::adccommon::vals::Adcpre
#[repr(u8)]pub enum Adcpre {
DIV2 = 0,
DIV4 = 1,
DIV6 = 2,
DIV8 = 3,
}
Variants§
DIV2 = 0
PCLK2 divided by 2
DIV4 = 1
PCLK2 divided by 4
DIV6 = 2
PCLK2 divided by 6
DIV8 = 3
PCLK2 divided by 8
Implementations§
Trait Implementations§
§impl Ord for Adcpre
impl Ord for Adcpre
§impl PartialOrd for Adcpre
impl PartialOrd for Adcpre
impl Copy for Adcpre
impl Eq for Adcpre
impl StructuralPartialEq for Adcpre
Auto Trait Implementations§
impl Freeze for Adcpre
impl RefUnwindSafe for Adcpre
impl Send for Adcpre
impl Sync for Adcpre
impl Unpin for Adcpre
impl UnwindSafe for Adcpre
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
)