#[repr(C)]pub struct PamojaAds1115Settings {
pub mux: u8,
pub pga: u8,
pub data_rate: u8,
}Expand description
How an ADS1115 driver converts: which input, at which range, how fast.
Fields§
§mux: u8The input multiplexer code, 0..=7: 0..=3 a differential pair, 4..=7 one input
against ground.
pga: u8The gain code, 0..=7, which sets the full-scale range.
data_rate: u8The data-rate code, 0..=7, from 8 to 860 samples per second.
Trait Implementations§
Source§impl Clone for PamojaAds1115Settings
impl Clone for PamojaAds1115Settings
Source§fn clone(&self) -> PamojaAds1115Settings
fn clone(&self) -> PamojaAds1115Settings
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 PamojaAds1115Settings
Source§impl Debug for PamojaAds1115Settings
impl Debug for PamojaAds1115Settings
impl Eq for PamojaAds1115Settings
Source§impl PartialEq for PamojaAds1115Settings
impl PartialEq for PamojaAds1115Settings
impl StructuralPartialEq for PamojaAds1115Settings
Auto Trait Implementations§
impl Freeze for PamojaAds1115Settings
impl RefUnwindSafe for PamojaAds1115Settings
impl Send for PamojaAds1115Settings
impl Sync for PamojaAds1115Settings
impl Unpin for PamojaAds1115Settings
impl UnsafeUnpin for PamojaAds1115Settings
impl UnwindSafe for PamojaAds1115Settings
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