pub struct W(_);
Expand description
Register FIFO_CONF
writer
Implementations§
§impl W
impl W
pub fn rxfifo_full_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 0>
pub fn rxfifo_full_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 0>
Bits 0:4
pub fn txfifo_empty_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 5>
pub fn txfifo_empty_thrhd(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 5, 5>
Bits 5:9 - Config txfifo empty threhd value when using apb fifo access
pub fn nonfifo_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 10>
pub fn nonfifo_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 10>
Bit 10 - Set this bit to enble apb nonfifo access.
pub fn fifo_addr_cfg_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 11>
pub fn fifo_addr_cfg_en(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 11>
Bit 11 - When this bit is set to 1 then the byte after address represent the offset address of I2C Slave’s ram.
pub fn rx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 12>
pub fn rx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 12>
Bit 12 - Set this bit to reset rx fifo when using apb fifo access.
pub fn tx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 13>
pub fn tx_fifo_rst(
&mut self
) -> BitWriterRaw<'_, u32, FIFO_CONF_SPEC, bool, BitM, 13>
Bit 13 - Set this bit to reset tx fifo when using apb fifo access.
pub fn nonfifo_rx_thres(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 6, 14>
pub fn nonfifo_rx_thres(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 6, 14>
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.
pub fn nonfifo_tx_thres(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 6, 20>
pub fn nonfifo_tx_thres(
&mut self
) -> FieldWriterRaw<'_, u32, FIFO_CONF_SPEC, u8, u8, Unsafe, 6, 20>
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.
Methods from Deref<Target = W<FIFO_CONF_SPEC>>§
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>
Writes raw bits to the register.
Safety
Read datasheet or reference manual to find what values are allowed to pass.