pub struct AD7193Config {
pub spi: SPIConfig,
pub sample_time: Duration,
}
Fields§
§spi: SPIConfig
§sample_time: Duration
Implementations§
Source§impl AD7193Config
impl AD7193Config
pub fn hw() -> AD7193Config
pub fn sw() -> AD7193Config
Trait Implementations§
Source§impl Clone for AD7193Config
impl Clone for AD7193Config
Source§fn clone(&self) -> AD7193Config
fn clone(&self) -> AD7193Config
Returns a copy 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 moreimpl Copy for AD7193Config
Auto Trait Implementations§
impl Freeze for AD7193Config
impl RefUnwindSafe for AD7193Config
impl Send for AD7193Config
impl Sync for AD7193Config
impl Unpin for AD7193Config
impl UnwindSafe for AD7193Config
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