Enum stm32f7xx_hal::pac::adc_common::ccr::ADCPRE_A
source · #[repr(u8)]pub enum ADCPRE_A {
Div2 = 0,
Div4 = 1,
Div6 = 2,
Div8 = 3,
}
Expand description
ADC prescaler
Value on reset: 0
Variants§
Div2 = 0
0: PCLK2 divided by 2
Div4 = 1
1: PCLK2 divided by 4
Div6 = 2
2: PCLK2 divided by 6
Div8 = 3
3: PCLK2 divided by 8
Trait Implementations§
impl Copy for ADCPRE_A
impl StructuralPartialEq for ADCPRE_A
Auto Trait Implementations§
impl Freeze for ADCPRE_A
impl RefUnwindSafe for ADCPRE_A
impl Send for ADCPRE_A
impl Sync for ADCPRE_A
impl Unpin for ADCPRE_A
impl UnwindSafe for ADCPRE_A
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)