Enum rp2040_pac::i2c0::ic_enable::TX_CMD_BLOCK_A
source · pub enum TX_CMD_BLOCK_A {
NOT_BLOCKED = 0,
BLOCKED = 1,
}
Expand description
In Master mode: - 1’b1: Blocks the transmission of data on I2C bus even if Tx FIFO has data to transmit. - 1’b0: The transmission of data starts on I2C bus automatically, as soon as the first data is available in the Tx FIFO. Note: To block the execution of Master commands, set the TX_CMD_BLOCK bit only when Tx FIFO is empty (IC_STATUS[2]==1) and Master is in Idle state (IC_STATUS[5] == 0). Any further commands put in the Tx FIFO are not executed until TX_CMD_BLOCK bit is unset. Reset value: IC_TX_CMD_BLOCK_DEFAULT
Value on reset: 0
Variants§
Trait Implementations§
source§impl Clone for TX_CMD_BLOCK_A
impl Clone for TX_CMD_BLOCK_A
source§fn clone(&self) -> TX_CMD_BLOCK_A
fn clone(&self) -> TX_CMD_BLOCK_A
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for TX_CMD_BLOCK_A
impl Debug for TX_CMD_BLOCK_A
source§impl From<TX_CMD_BLOCK_A> for bool
impl From<TX_CMD_BLOCK_A> for bool
source§fn from(variant: TX_CMD_BLOCK_A) -> Self
fn from(variant: TX_CMD_BLOCK_A) -> Self
Converts to this type from the input type.
source§impl PartialEq for TX_CMD_BLOCK_A
impl PartialEq for TX_CMD_BLOCK_A
impl Copy for TX_CMD_BLOCK_A
impl Eq for TX_CMD_BLOCK_A
impl StructuralPartialEq for TX_CMD_BLOCK_A
Auto Trait Implementations§
impl Freeze for TX_CMD_BLOCK_A
impl RefUnwindSafe for TX_CMD_BLOCK_A
impl Send for TX_CMD_BLOCK_A
impl Sync for TX_CMD_BLOCK_A
impl Unpin for TX_CMD_BLOCK_A
impl UnwindSafe for TX_CMD_BLOCK_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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)