1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#[doc = "Register `PIF_ACCESS_MONITOR_2` reader"]
pub struct R(crate::R<PIF_ACCESS_MONITOR_2_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<PIF_ACCESS_MONITOR_2_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<PIF_ACCESS_MONITOR_2_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<PIF_ACCESS_MONITOR_2_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Field `PIF_ACCESS_MONITOR_NONWORD_VIOLATE_INTR` reader - Need add description"]
pub type PIF_ACCESS_MONITOR_NONWORD_VIOLATE_INTR_R = crate::BitReader<bool>;
#[doc = "Field `PIF_ACCESS_MONITOR_NONWORD_VIOLATE_STATUS_HSIZE` reader - Need add description"]
pub type PIF_ACCESS_MONITOR_NONWORD_VIOLATE_STATUS_HSIZE_R = crate::FieldReader<u8, u8>;
impl R {
    #[doc = "Bit 0 - Need add description"]
    #[inline(always)]
    pub fn pif_access_monitor_nonword_violate_intr(
        &self,
    ) -> PIF_ACCESS_MONITOR_NONWORD_VIOLATE_INTR_R {
        PIF_ACCESS_MONITOR_NONWORD_VIOLATE_INTR_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bits 1:2 - Need add description"]
    #[inline(always)]
    pub fn pif_access_monitor_nonword_violate_status_hsize(
        &self,
    ) -> PIF_ACCESS_MONITOR_NONWORD_VIOLATE_STATUS_HSIZE_R {
        PIF_ACCESS_MONITOR_NONWORD_VIOLATE_STATUS_HSIZE_R::new(((self.bits >> 1) & 3) as u8)
    }
}
#[doc = "register description\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [pif_access_monitor_2](index.html) module"]
pub struct PIF_ACCESS_MONITOR_2_SPEC;
impl crate::RegisterSpec for PIF_ACCESS_MONITOR_2_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [pif_access_monitor_2::R](R) reader structure"]
impl crate::Readable for PIF_ACCESS_MONITOR_2_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets PIF_ACCESS_MONITOR_2 to value 0"]
impl crate::Resettable for PIF_ACCESS_MONITOR_2_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}