pub struct Config {
pub t_sb: Standby,
pub filter: Filter,
}Expand description
Configuration register, sets the rate, filter and interface options of the device. Note that writing to this register while device in normal mode may be ignored. Writes in sleep mode are not ignored.
spi3w_en is intentionally left out of this implementation.
Fields§
§t_sb: StandbyControls inactive duration in normal mode
filter: FilterControls the time constant of IIR filter
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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