1#[doc = "Register `IC_RXFLR` reader"]
2pub type R = crate::R<IC_RXFLR_SPEC>;
3#[doc = "Field `RXFLR` reader - Receive FIFO Level. Contains the number of valid data entries in the receive FIFO.
45 Reset value: 0x0"]
6pub type RXFLR_R = crate::FieldReader;
7impl R {
8#[doc = "Bits 0:4 - Receive FIFO Level. Contains the number of valid data entries in the receive FIFO.
910 Reset value: 0x0"]
11 #[inline(always)]
12pub fn rxflr(&self) -> RXFLR_R {
13 RXFLR_R::new((self.bits & 0x1f) as u8)
14 }
15}
16#[doc = "I2C Receive FIFO Level Register This register contains the number of valid data entries in the receive FIFO buffer. It is cleared whenever: - The I2C is disabled - Whenever there is a transmit abort caused by any of the events tracked in IC_TX_ABRT_SOURCE The register increments whenever data is placed into the receive FIFO and decrements when data is taken from the receive FIFO.
1718You can [`read`](crate::generic::Reg::read) this register and get [`ic_rxflr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct IC_RXFLR_SPEC;
20impl crate::RegisterSpec for IC_RXFLR_SPEC {
21type Ux = u32;
22}
23#[doc = "`read()` method returns [`ic_rxflr::R`](R) reader structure"]
24impl crate::Readable for IC_RXFLR_SPEC {}
25#[doc = "`reset()` method sets IC_RXFLR to value 0"]
26impl crate::Resettable for IC_RXFLR_SPEC {
27const RESET_VALUE: u32 = 0;
28}