Enum xmc4300::ecat0_sm0::sm_control::Dir
source · #[repr(u8)]pub enum Dir {
Value1 = 0,
Value2 = 1,
}
Expand description
Direction
Value on reset: 0
Variants§
Value1 = 0
0: Read: ECAT read access, PDI write access
Value2 = 1
1: Write: ECAT write access, PDI read access
Trait Implementations§
impl Copy for Dir
impl Eq for Dir
impl StructuralPartialEq for Dir
Auto Trait Implementations§
impl RefUnwindSafe for Dir
impl Send for Dir
impl Sync for Dir
impl Unpin for Dir
impl UnwindSafe for Dir
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