Struct esp32_hal::pac::i2c0::fifo_conf::W

pub struct W(_);
Expand description

Register FIFO_CONF writer

Implementations§

Bits 0:4

Bits 5:9 - Config txfifo empty threhd value when using apb fifo access

Bit 10 - Set this bit to enble apb nonfifo access.

Bit 11 - When this bit is set to 1 then the byte after address represent the offset address of I2C Slave’s ram.

Bit 12 - Set this bit to reset rx fifo when using apb fifo access.

Bit 13 - Set this bit to reset tx fifo when using apb fifo access.

Bits 14:19 - when I2C receives more than nonfifo_rx_thres data it will produce rx_send_full_int_raw interrupt and update the current offset address of the receiving data.

Bits 20:25 - when I2C sends more than nonfifo_tx_thres data it will produce tx_send_empty_int_raw interrupt and update the current offset address of the sending data.

Writes raw bits to the register.

Methods from Deref<Target = W<FIFO_CONF_SPEC>>§

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

The resulting type after dereferencing.
Dereferences the value.
Mutably dereferences the value.
Converts to this type from the input type.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.