pub enum PECERR_A {
Match,
NoMatch,
}
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. Please refer to Section25.3: I2C implementation.
Value on reset: 0
Variants
Match
0: Received PEC does match with PEC register
NoMatch
1: Received PEC does not match with PEC register
Trait Implementations
impl Copy for PECERR_A
impl StructuralPartialEq for PECERR_A
Auto Trait Implementations
impl RefUnwindSafe for PECERR_A
impl Send for PECERR_A
impl Sync for PECERR_A
impl Unpin for PECERR_A
impl UnwindSafe for PECERR_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more