pub struct R(_);
Expand description
Register FIFO_CONF
reader
Implementations§
§impl R
impl R
pub fn rxfifo_full_thrhd(&self) -> FieldReaderRaw<u8, u8>
pub fn rxfifo_full_thrhd(&self) -> FieldReaderRaw<u8, u8>
Bits 0:4
pub fn txfifo_empty_thrhd(&self) -> FieldReaderRaw<u8, u8>
pub fn txfifo_empty_thrhd(&self) -> FieldReaderRaw<u8, u8>
Bits 5:9 - Config txfifo empty threhd value when using apb fifo access
pub fn nonfifo_en(&self) -> BitReaderRaw<bool>
pub fn nonfifo_en(&self) -> BitReaderRaw<bool>
Bit 10 - Set this bit to enble apb nonfifo access.
pub fn fifo_addr_cfg_en(&self) -> BitReaderRaw<bool>
pub fn fifo_addr_cfg_en(&self) -> BitReaderRaw<bool>
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(&self) -> BitReaderRaw<bool>
pub fn rx_fifo_rst(&self) -> BitReaderRaw<bool>
Bit 12 - Set this bit to reset rx fifo when using apb fifo access.
pub fn tx_fifo_rst(&self) -> BitReaderRaw<bool>
pub fn tx_fifo_rst(&self) -> BitReaderRaw<bool>
Bit 13 - Set this bit to reset tx fifo when using apb fifo access.
pub fn nonfifo_rx_thres(&self) -> FieldReaderRaw<u8, u8>
pub fn nonfifo_rx_thres(&self) -> FieldReaderRaw<u8, u8>
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(&self) -> FieldReaderRaw<u8, u8>
pub fn nonfifo_tx_thres(&self) -> FieldReaderRaw<u8, u8>
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 = R<FIFO_CONF_SPEC>>§
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
pub fn bits(&self) -> <REG as RegisterSpec>::Ux
Reads raw bits from register.