atsamd51p20a/pac/
statusc.rs1#[doc = "Reader of register STATUSC"]
2pub type R = crate::R<u32, super::STATUSC>;
3#[doc = "Reader of field `TCC2_`"]
4pub type TCC2__R = crate::R<bool, bool>;
5#[doc = "Reader of field `TCC3_`"]
6pub type TCC3__R = crate::R<bool, bool>;
7#[doc = "Reader of field `TC4_`"]
8pub type TC4__R = crate::R<bool, bool>;
9#[doc = "Reader of field `TC5_`"]
10pub type TC5__R = crate::R<bool, bool>;
11#[doc = "Reader of field `PDEC_`"]
12pub type PDEC__R = crate::R<bool, bool>;
13#[doc = "Reader of field `AC_`"]
14pub type AC__R = crate::R<bool, bool>;
15#[doc = "Reader of field `AES_`"]
16pub type AES__R = crate::R<bool, bool>;
17#[doc = "Reader of field `TRNG_`"]
18pub type TRNG__R = crate::R<bool, bool>;
19#[doc = "Reader of field `ICM_`"]
20pub type ICM__R = crate::R<bool, bool>;
21#[doc = "Reader of field `PUKCC_`"]
22pub type PUKCC__R = crate::R<bool, bool>;
23#[doc = "Reader of field `QSPI_`"]
24pub type QSPI__R = crate::R<bool, bool>;
25#[doc = "Reader of field `CCL_`"]
26pub type CCL__R = crate::R<bool, bool>;
27impl R {
28 #[doc = "Bit 3 - TCC2 APB Protect Enable"]
29 #[inline(always)]
30 pub fn tcc2_(&self) -> TCC2__R {
31 TCC2__R::new(((self.bits >> 3) & 0x01) != 0)
32 }
33 #[doc = "Bit 4 - TCC3 APB Protect Enable"]
34 #[inline(always)]
35 pub fn tcc3_(&self) -> TCC3__R {
36 TCC3__R::new(((self.bits >> 4) & 0x01) != 0)
37 }
38 #[doc = "Bit 5 - TC4 APB Protect Enable"]
39 #[inline(always)]
40 pub fn tc4_(&self) -> TC4__R {
41 TC4__R::new(((self.bits >> 5) & 0x01) != 0)
42 }
43 #[doc = "Bit 6 - TC5 APB Protect Enable"]
44 #[inline(always)]
45 pub fn tc5_(&self) -> TC5__R {
46 TC5__R::new(((self.bits >> 6) & 0x01) != 0)
47 }
48 #[doc = "Bit 7 - PDEC APB Protect Enable"]
49 #[inline(always)]
50 pub fn pdec_(&self) -> PDEC__R {
51 PDEC__R::new(((self.bits >> 7) & 0x01) != 0)
52 }
53 #[doc = "Bit 8 - AC APB Protect Enable"]
54 #[inline(always)]
55 pub fn ac_(&self) -> AC__R {
56 AC__R::new(((self.bits >> 8) & 0x01) != 0)
57 }
58 #[doc = "Bit 9 - AES APB Protect Enable"]
59 #[inline(always)]
60 pub fn aes_(&self) -> AES__R {
61 AES__R::new(((self.bits >> 9) & 0x01) != 0)
62 }
63 #[doc = "Bit 10 - TRNG APB Protect Enable"]
64 #[inline(always)]
65 pub fn trng_(&self) -> TRNG__R {
66 TRNG__R::new(((self.bits >> 10) & 0x01) != 0)
67 }
68 #[doc = "Bit 11 - ICM APB Protect Enable"]
69 #[inline(always)]
70 pub fn icm_(&self) -> ICM__R {
71 ICM__R::new(((self.bits >> 11) & 0x01) != 0)
72 }
73 #[doc = "Bit 12 - PUKCC APB Protect Enable"]
74 #[inline(always)]
75 pub fn pukcc_(&self) -> PUKCC__R {
76 PUKCC__R::new(((self.bits >> 12) & 0x01) != 0)
77 }
78 #[doc = "Bit 13 - QSPI APB Protect Enable"]
79 #[inline(always)]
80 pub fn qspi_(&self) -> QSPI__R {
81 QSPI__R::new(((self.bits >> 13) & 0x01) != 0)
82 }
83 #[doc = "Bit 14 - CCL APB Protect Enable"]
84 #[inline(always)]
85 pub fn ccl_(&self) -> CCL__R {
86 CCL__R::new(((self.bits >> 14) & 0x01) != 0)
87 }
88}