#[repr(u8)]pub enum Enable {
DISABLED = 0,
ENABLED = 1,
_RESERVED_2 = 2,
_RESERVED_3 = 3,
}
Variants§
DISABLED = 0
ADC is disabled.
ENABLED = 1
ADC is enabled. If an analog input pin is selected as source of the conversion, the selected pin is configured as an analog input.
_RESERVED_2 = 2
_RESERVED_3 = 3
Implementations§
Trait Implementations§
Source§impl Ord for Enable
impl Ord for Enable
Source§impl PartialOrd for Enable
impl PartialOrd for Enable
impl Copy for Enable
impl Eq for Enable
impl StructuralPartialEq for Enable
Auto Trait Implementations§
impl Freeze for Enable
impl RefUnwindSafe for Enable
impl Send for Enable
impl Sync for Enable
impl Unpin for Enable
impl UnwindSafe for Enable
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
)