pub struct AdcSample {
pub data: u16,
pub channel: u8,
}Expand description
ADC conversion result.
Fields§
§data: u1614-bit conversion code.
channel: u8Channel that produced this sample (0-5).
Trait Implementations§
impl Copy for AdcSample
impl Eq for AdcSample
impl StructuralPartialEq for AdcSample
Auto Trait Implementations§
impl Freeze for AdcSample
impl RefUnwindSafe for AdcSample
impl Send for AdcSample
impl Sync for AdcSample
impl Unpin for AdcSample
impl UnsafeUnpin for AdcSample
impl UnwindSafe for AdcSample
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