Enum stm32_metapac::adc::vals::Res
#[repr(u8)]pub enum Res {
SIXTEENBIT = 0,
FOURTEENBIT = 1,
TWELVEBIT = 2,
TENBIT = 3,
_RESERVED_4 = 4,
FOURTEENBITV = 5,
TWELVEBITV = 6,
EIGHTBIT = 7,
}
Variants§
SIXTEENBIT = 0
16-bit resolution
FOURTEENBIT = 1
14-bit resolution in legacy mode (not optimized power consumption)
TWELVEBIT = 2
12-bit resolution in legacy mode (not optimized power consumption)
TENBIT = 3
10-bit resolution
_RESERVED_4 = 4
FOURTEENBITV = 5
14-bit resolution
TWELVEBITV = 6
12-bit resolution
EIGHTBIT = 7
8-bit resolution
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
)