1#[doc = "Register `IC_CLR_TX_ABRT` reader"]
2pub type R = crate::R<IC_CLR_TX_ABRT_SPEC>;
3#[doc = "Field `CLR_TX_ABRT` reader - Read this register to clear the TX_ABRT interrupt (bit 6) of the IC_RAW_INTR_STAT register, and the IC_TX_ABRT_SOURCE register. This also releases the TX FIFO from the flushed/reset state, allowing more writes to the TX FIFO. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE.
45 Reset value: 0x0"]
6pub type CLR_TX_ABRT_R = crate::BitReader;
7impl R {
8#[doc = "Bit 0 - Read this register to clear the TX_ABRT interrupt (bit 6) of the IC_RAW_INTR_STAT register, and the IC_TX_ABRT_SOURCE register. This also releases the TX FIFO from the flushed/reset state, allowing more writes to the TX FIFO. Refer to Bit 9 of the IC_TX_ABRT_SOURCE register for an exception to clearing IC_TX_ABRT_SOURCE.
910 Reset value: 0x0"]
11 #[inline(always)]
12pub fn clr_tx_abrt(&self) -> CLR_TX_ABRT_R {
13 CLR_TX_ABRT_R::new((self.bits & 1) != 0)
14 }
15}
16#[doc = "Clear TX_ABRT Interrupt Register
1718You can [`read`](crate::generic::Reg::read) this register and get [`ic_clr_tx_abrt::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct IC_CLR_TX_ABRT_SPEC;
20impl crate::RegisterSpec for IC_CLR_TX_ABRT_SPEC {
21type Ux = u32;
22}
23#[doc = "`read()` method returns [`ic_clr_tx_abrt::R`](R) reader structure"]
24impl crate::Readable for IC_CLR_TX_ABRT_SPEC {}
25#[doc = "`reset()` method sets IC_CLR_TX_ABRT to value 0"]
26impl crate::Resettable for IC_CLR_TX_ABRT_SPEC {
27const RESET_VALUE: u32 = 0;
28}