#[repr(u8)]pub enum Timecfg {
IF_SCL_LOW = 0,
IF_SCL_OR_SDA_LOW = 1,
}Variants§
IF_SCL_LOW = 0
MSR[PLTF] sets if SCL is low for longer than the configured timeout
IF_SCL_OR_SDA_LOW = 1
MSR[PLTF] sets if either SCL or SDA is low for longer than the configured timeout
Implementations§
Trait Implementations§
Source§impl Ord for Timecfg
impl Ord for Timecfg
Source§impl PartialOrd for Timecfg
impl PartialOrd for Timecfg
impl Copy for Timecfg
impl Eq for Timecfg
impl StructuralPartialEq for Timecfg
Auto Trait Implementations§
impl Freeze for Timecfg
impl RefUnwindSafe for Timecfg
impl Send for Timecfg
impl Sync for Timecfg
impl Unpin for Timecfg
impl UnwindSafe for Timecfg
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