pub enum PECBYTE_A {
NoPec,
Pec,
}
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. Please refer to Section25.3: I2C implementation.
Value on reset: 0
Variants
NoPec
0: No PEC transfer
Pec
1: PEC transmission/reception is requested
Trait Implementations
impl Copy for PECBYTE_A
impl StructuralPartialEq for PECBYTE_A
Auto Trait Implementations
impl RefUnwindSafe for PECBYTE_A
impl Send for PECBYTE_A
impl Sync for PECBYTE_A
impl Unpin for PECBYTE_A
impl UnwindSafe for PECBYTE_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