Enum stm32wlxx_hal::pac::i2c1::isr::DIR_A
pub enum DIR_A {
Write = 0,
Read = 1,
}
Available on crate feature
stm32wl5x_cm4
only.Expand description
Transfer direction (Slave mode)
Value on reset: 0
Variants§
Write = 0
0: Write transfer, slave enters receiver mode
Read = 1
1: Read transfer, slave enters transmitter mode
Trait Implementations§
impl Copy for DIR_A
impl StructuralPartialEq for DIR_A
Auto Trait Implementations§
impl RefUnwindSafe for DIR_A
impl Send for DIR_A
impl Sync for DIR_A
impl Unpin for DIR_A
impl UnwindSafe for DIR_A
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