#[repr(C)]pub struct MCC134DeviceInfo {
pub NUM_AI_CHANNELS: u8,
pub AI_MIN_CODE: i32,
pub AI_MAX_CODE: i32,
pub AI_MIN_VOLTAGE: f64,
pub AI_MAX_VOLTAGE: f64,
pub AI_MIN_RANGE: f64,
pub AI_MAX_RANGE: f64,
}Expand description
MCC 134 constant device information.
Fields§
§NUM_AI_CHANNELS: u8The number of analog input channels (4.)
AI_MIN_CODE: i32The minimum ADC code (-8,388,608.)
AI_MAX_CODE: i32The maximum ADC code (8,388,607.)
AI_MIN_VOLTAGE: f64The input voltage corresponding to the minimum code (-0.078125V.)
AI_MAX_VOLTAGE: f64The input voltage corresponding to the maximum code (+0.078125V - 1 LSB.)
AI_MIN_RANGE: f64The minimum voltage of the input range (-0.078125V.)
AI_MAX_RANGE: f64The maximum voltage of the input range (0.078125V.)
Trait Implementations§
Source§impl Clone for MCC134DeviceInfo
impl Clone for MCC134DeviceInfo
Source§fn clone(&self) -> MCC134DeviceInfo
fn clone(&self) -> MCC134DeviceInfo
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 MCC134DeviceInfo
impl Debug for MCC134DeviceInfo
impl Copy for MCC134DeviceInfo
Auto Trait Implementations§
impl Freeze for MCC134DeviceInfo
impl RefUnwindSafe for MCC134DeviceInfo
impl Send for MCC134DeviceInfo
impl Sync for MCC134DeviceInfo
impl Unpin for MCC134DeviceInfo
impl UnwindSafe for MCC134DeviceInfo
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