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