Enum ChannelName
pub enum ChannelName {
Adc0,
Adc1,
Adc2,
Cbc,
}Expand description
Available ADC channels on the AG35.
Variants§
Adc0
The mpp4_vadc channel.
Adc1
The mpp6_vadc channel.
Adc2
The pa_therm1 channel.
Cbc
The battery voltage channel (vbat_sns).
Trait Implementations§
§impl Clone for ChannelName
impl Clone for ChannelName
§fn clone(&self) -> ChannelName
fn clone(&self) -> ChannelName
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ChannelName
§impl Debug for ChannelName
impl Debug for ChannelName
impl Eq for ChannelName
§impl PartialEq for ChannelName
impl PartialEq for ChannelName
impl StructuralPartialEq for ChannelName
Auto Trait Implementations§
impl Freeze for ChannelName
impl RefUnwindSafe for ChannelName
impl Send for ChannelName
impl Sync for ChannelName
impl Unpin for ChannelName
impl UnsafeUnpin for ChannelName
impl UnwindSafe for ChannelName
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