rp2040_pac/xip_ssi/
rxoicr.rs
1#[doc = "Register `RXOICR` reader"]
2pub type R = crate::R<RXOICR_SPEC>;
3#[doc = "Field `RXOICR` reader - Clear-on-read receive FIFO overflow interrupt"]
4pub type RXOICR_R = crate::BitReader;
5impl R {
6 #[doc = "Bit 0 - Clear-on-read receive FIFO overflow interrupt"]
7 #[inline(always)]
8 pub fn rxoicr(&self) -> RXOICR_R {
9 RXOICR_R::new((self.bits & 1) != 0)
10 }
11}
12#[doc = "RX FIFO overflow interrupt clear
13
14You can [`read`](crate::generic::Reg::read) this register and get [`rxoicr::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
15pub struct RXOICR_SPEC;
16impl crate::RegisterSpec for RXOICR_SPEC {
17 type Ux = u32;
18}
19#[doc = "`read()` method returns [`rxoicr::R`](R) reader structure"]
20impl crate::Readable for RXOICR_SPEC {}
21#[doc = "`reset()` method sets RXOICR to value 0"]
22impl crate::Resettable for RXOICR_SPEC {
23 const RESET_VALUE: u32 = 0;
24}