Enum stm32_hal2::adc::Prescaler
source · #[repr(u8)]pub enum Prescaler {
D1 = 0,
D2 = 1,
D4 = 2,
D6 = 3,
D8 = 4,
D10 = 5,
D12 = 6,
D16 = 7,
D32 = 8,
D64 = 9,
D128 = 10,
D256 = 11,
}
Expand description
Sets ADC clock prescaler; ADCx_CCR register, PRESC field.
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Prescaler
impl Send for Prescaler
impl Sync for Prescaler
impl Unpin for Prescaler
impl UnwindSafe for Prescaler
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