efm32pg1b_pac/idac0/
if_.rs

1///Register `IF` reader
2pub type R = crate::R<IFrs>;
3///Field `APORTCONFLICT` reader - APORT Conflict Interrupt Flag
4pub type AportconflictR = crate::BitReader;
5impl R {
6    ///Bit 1 - APORT Conflict Interrupt Flag
7    #[inline(always)]
8    pub fn aportconflict(&self) -> AportconflictR {
9        AportconflictR::new(((self.bits >> 1) & 1) != 0)
10    }
11}
12impl core::fmt::Debug for R {
13    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
14        f.debug_struct("IF")
15            .field("aportconflict", &self.aportconflict())
16            .finish()
17    }
18}
19///Interrupt Flag Register
20///
21///You can [`read`](crate::Reg::read) this register and get [`if_::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api).
22pub struct IFrs;
23impl crate::RegisterSpec for IFrs {
24    type Ux = u32;
25}
26///`read()` method returns [`if_::R`](R) reader structure
27impl crate::Readable for IFrs {}
28///`reset()` method sets IF to value 0
29impl crate::Resettable for IFrs {
30    const RESET_VALUE: u32 = 0;
31}