pub struct SetupConfig {
pub pga_gain: PgaGain,
pub reference_source: ReferenceSource,
pub bipolar: bool,
pub burnout_current: BurnoutCurrent,
pub reference_buffers_enabled: bool,
pub input_buffers_enabled: bool,
}Expand description
Setup configuration structure
Fields§
§pga_gain: PgaGainProgrammable gain amplifier setting
reference_source: ReferenceSourceReference voltage source for this setup
bipolar: boolWhether to use bipolar (signed) or unipolar (unsigned) mode
burnout_current: BurnoutCurrentBurnout current source configuration for sensor diagnostics
reference_buffers_enabled: boolWhether reference voltage input buffers are enabled
input_buffers_enabled: boolWhether analog input buffers are enabled
Trait Implementations§
Source§impl Clone for SetupConfig
impl Clone for SetupConfig
Source§fn clone(&self) -> SetupConfig
fn clone(&self) -> SetupConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SetupConfig
impl Debug for SetupConfig
Source§impl Default for SetupConfig
impl Default for SetupConfig
impl Copy for SetupConfig
Auto Trait Implementations§
impl Freeze for SetupConfig
impl RefUnwindSafe for SetupConfig
impl Send for SetupConfig
impl Sync for SetupConfig
impl Unpin for SetupConfig
impl UnwindSafe for SetupConfig
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