pub enum PECERR {
Match = 0,
NoMatch = 1,
}Expand description
PEC Error in reception This flag is set by hardware when the received PEC does not match with the PEC register content. A NACK is automatically sent after the wrong PEC reception. It is cleared by software by setting the PECCF bit. Note: This bit is cleared by hardware when PE=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§
Match = 0
0: Received PEC does match with PEC register
NoMatch = 1
1: Received PEC does not match with PEC register
Trait Implementations§
impl Copy for PECERR
impl Eq for PECERR
impl StructuralPartialEq for PECERR
Auto Trait Implementations§
impl Freeze for PECERR
impl RefUnwindSafe for PECERR
impl Send for PECERR
impl Sync for PECERR
impl Unpin for PECERR
impl UnwindSafe for PECERR
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