#[repr(u8)]pub enum Inpsel {
ANALOG_INPUT_NO_PRESCALING = 0,
ANALOG_INPUT_TWO_THIRDS_PRESCALING = 1,
ANALOG_INPUT_ONE_THIRD_PRESCALING = 2,
_RESERVED_3 = 3,
_RESERVED_4 = 4,
SUPPLY_TWO_THIRDS_PRESCALING = 5,
SUPPLY_ONE_THIRD_PRESCALING = 6,
_RESERVED_7 = 7,
}
Variants§
ANALOG_INPUT_NO_PRESCALING = 0
Analog input specified by PSEL with no prescaling used as input for the conversion.
ANALOG_INPUT_TWO_THIRDS_PRESCALING = 1
Analog input specified by PSEL with 2/3 prescaling used as input for the conversion.
ANALOG_INPUT_ONE_THIRD_PRESCALING = 2
Analog input specified by PSEL with 1/3 prescaling used as input for the conversion.
_RESERVED_3 = 3
_RESERVED_4 = 4
SUPPLY_TWO_THIRDS_PRESCALING = 5
Supply voltage with 2/3 prescaling used as input for the conversion.
SUPPLY_ONE_THIRD_PRESCALING = 6
Supply voltage with 1/3 prescaling used as input for the conversion.
_RESERVED_7 = 7
Implementations§
Trait Implementations§
Source§impl Ord for Inpsel
impl Ord for Inpsel
Source§impl PartialOrd for Inpsel
impl PartialOrd for Inpsel
impl Copy for Inpsel
impl Eq for Inpsel
impl StructuralPartialEq for Inpsel
Auto Trait Implementations§
impl Freeze for Inpsel
impl RefUnwindSafe for Inpsel
impl Send for Inpsel
impl Sync for Inpsel
impl Unpin for Inpsel
impl UnwindSafe for Inpsel
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
)