pub struct AdcChannel { /* private fields */ }
Expand description
Representation of an ADC channel on the SAM4L.
Implementations§
Source§impl AdcChannel
Initialization of an ADC channel.
impl AdcChannel
Initialization of an ADC channel.
Sourcepub const fn new(channel: Channel) -> AdcChannel
pub const fn new(channel: Channel) -> AdcChannel
Create a new ADC channel.
channel
: Channel enum representing the channel number and whether it is internal
Trait Implementations§
Source§impl PartialEq for AdcChannel
impl PartialEq for AdcChannel
impl StructuralPartialEq for AdcChannel
Auto Trait Implementations§
impl Freeze for AdcChannel
impl RefUnwindSafe for AdcChannel
impl Send for AdcChannel
impl Sync for AdcChannel
impl Unpin for AdcChannel
impl UnwindSafe for AdcChannel
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