pub struct SitfConfig {
pub mode: Sitfmod,
pub clock_source: Scksrc,
pub threshold: u8,
}Expand description
Serial interface (SITF) configuration.
Fields§
§mode: SitfmodSerial interface mode.
clock_source: ScksrcSerial clock source.
threshold: u8Manchester/SPI threshold (must be >= 4 in SPI mode).
Trait Implementations§
Source§impl Clone for SitfConfig
impl Clone for SitfConfig
Source§fn clone(&self) -> SitfConfig
fn clone(&self) -> SitfConfig
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 SitfConfig
impl Debug for SitfConfig
Source§impl Default for SitfConfig
impl Default for SitfConfig
Source§impl Format for SitfConfig
impl Format for SitfConfig
impl Copy for SitfConfig
Auto Trait Implementations§
impl Freeze for SitfConfig
impl RefUnwindSafe for SitfConfig
impl Send for SitfConfig
impl Sync for SitfConfig
impl Unpin for SitfConfig
impl UnwindSafe for SitfConfig
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