#[repr(u8)]pub enum Smod {
DISABLE = 0,
RECEIVE = 1,
TRANSMIT = 2,
_RESERVED_3 = 3,
MATCHSTORE = 4,
MATCHCONT = 5,
STATE = 6,
LOGIC = 7,
}Variants§
DISABLE = 0
Disable.
RECEIVE = 1
Receive mode; capture the current shifter content into SHIFTBUF on expiration of the timer.
TRANSMIT = 2
Transmit mode; load SHIFTBUF contents into the shifter on expiration of the timer.
_RESERVED_3 = 3
MATCHSTORE = 4
Match Store mode; shifter data is compared to SHIFTBUF content on expiration of the timer.
MATCHCONT = 5
Match Continuous mode; shifter data is continuously compared to SHIFTBUF contents.
STATE = 6
State mode; SHIFTBUF contents store programmable state attributes.
LOGIC = 7
Logic mode; SHIFTBUF contents implement programmable logic lookup table.
Implementations§
Trait Implementations§
Source§impl Ord for Smod
impl Ord for Smod
Source§impl PartialOrd for Smod
impl PartialOrd for Smod
impl Copy for Smod
impl Eq for Smod
impl StructuralPartialEq for Smod
Auto Trait Implementations§
impl Freeze for Smod
impl RefUnwindSafe for Smod
impl Send for Smod
impl Sync for Smod
impl Unpin for Smod
impl UnwindSafe for Smod
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