rp2040_pac/xip_ssi/
rxflr.rs

1#[doc = "Register `RXFLR` reader"]
2pub type R = crate::R<RXFLR_SPEC>;
3#[doc = "Field `RXTFL` reader - Receive FIFO level"]
4pub type RXTFL_R = crate::FieldReader;
5impl R {
6    #[doc = "Bits 0:7 - Receive FIFO level"]
7    #[inline(always)]
8    pub fn rxtfl(&self) -> RXTFL_R {
9        RXTFL_R::new((self.bits & 0xff) as u8)
10    }
11}
12#[doc = "RX FIFO level  
13
14You can [`read`](crate::generic::Reg::read) this register and get [`rxflr::R`](R).  See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
15pub struct RXFLR_SPEC;
16impl crate::RegisterSpec for RXFLR_SPEC {
17    type Ux = u32;
18}
19#[doc = "`read()` method returns [`rxflr::R`](R) reader structure"]
20impl crate::Readable for RXFLR_SPEC {}
21#[doc = "`reset()` method sets RXFLR to value 0"]
22impl crate::Resettable for RXFLR_SPEC {
23    const RESET_VALUE: u32 = 0;
24}