pub enum PECBYTER {
NoPec = 0,
Pec = 1,
}Expand description
Packet error checking byte This bit is set by software, and cleared by hardware when the PEC is transferred, or when a STOP condition or an Address matched is received, also when PE=0. Note: Writing ‘0’ to this bit has no effect. This bit has no effect when RELOAD is set. This bit has no effect is slave mode when SBC=0. If the SMBus feature is not supported, this bit is reserved and forced by hardware to ‘0’. Refer to .
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for PECBYTER
impl Eq for PECBYTER
impl StructuralPartialEq for PECBYTER
Auto Trait Implementations§
impl Freeze for PECBYTER
impl RefUnwindSafe for PECBYTER
impl Send for PECBYTER
impl Sync for PECBYTER
impl Unpin for PECBYTER
impl UnwindSafe for PECBYTER
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