#[repr(u8)]pub enum Smod {
Disable = 0,
Receive = 1,
Transmit = 2,
Matchstore = 4,
Matchcont = 5,
State = 6,
Logic = 7,
}Expand description
Shifter Mode
Value on reset: 0
Variants§
Disable = 0
0: Disable
Receive = 1
1: Receive mode; capture the current shifter content into SHIFTBUF on expiration of the timer
Transmit = 2
2: Transmit mode; load SHIFTBUF contents into the shifter on expiration of the timer
Matchstore = 4
4: Match Store mode; shifter data is compared to SHIFTBUF content on expiration of the timer
Matchcont = 5
5: Match Continuous mode; shifter data is continuously compared to SHIFTBUF contents
State = 6
6: State mode; SHIFTBUF contents store programmable state attributes
Logic = 7
7: Logic mode; SHIFTBUF contents implement programmable logic lookup table
Trait Implementations§
impl Copy for Smod
impl Eq for Smod
impl IsEnum 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 UnsafeUnpin 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