#[repr(u8)]pub enum FifoJoin {
Duplex = 0,
RxOnly = 1,
TxOnly = 2,
RxAsStatus = 3,
RxAsControl = 4,
PioScratch = 5,
}Expand description
FIFO config.
Variants§
Duplex = 0
Both TX and RX fifo is enabled
RxOnly = 1
Rx fifo twice as deep. TX fifo disabled
TxOnly = 2
Tx fifo twice as deep. RX fifo disabled
RxAsStatus = 3
Enable random writes (FJOIN_RX_PUT) from the state machine (through ISR),
and random reads from the system (using StateMachine::get_rxf_entry).
RxAsControl = 4
Enable random reads (FJOIN_RX_GET) from the state machine (through OSR),
and random writes from the system (using StateMachine::set_rxf_entry).
PioScratch = 5
FJOIN_RX_PUT | FJOIN_RX_GET: RX can be used as a scratch register, not accessible from the CPU
Trait Implementations§
impl Copy for FifoJoin
impl Eq for FifoJoin
impl StructuralPartialEq for FifoJoin
Auto Trait Implementations§
impl Freeze for FifoJoin
impl RefUnwindSafe for FifoJoin
impl Send for FifoJoin
impl Sync for FifoJoin
impl Unpin for FifoJoin
impl UnsafeUnpin for FifoJoin
impl UnwindSafe for FifoJoin
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