Enum stm32_metapac::adc::vals::Res
#[repr(u8)]pub enum Res {
BITS12 = 0,
BITS10 = 1,
BITS8 = 2,
BITS6 = 3,
}
Variants§
BITS12 = 0
12-bit (14 ADCCLK cycles)
BITS10 = 1
10-bit (13 ADCCLK cycles)
BITS8 = 2
8-bit (11 ADCCLK cycles)
BITS6 = 3
6-bit (9 ADCCLK cycles)
Implementations§
Trait Implementations§
§impl Ord for Res
impl Ord for Res
§impl PartialOrd for Res
impl PartialOrd for Res
impl Copy for Res
impl Eq for Res
impl StructuralPartialEq for Res
Auto Trait Implementations§
impl Freeze for Res
impl RefUnwindSafe for Res
impl Send for Res
impl Sync for Res
impl Unpin for Res
impl UnwindSafe for Res
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
)