1#[doc = "Reader of register SR"]
2pub type R = crate::R<u32, super::SR>;
3#[doc = "Reader of field `ADDRERRF`"]
4pub type ADDRERRF_R = crate::R<bool, bool>;
5#[doc = "Reader of field `RAMERRF`"]
6pub type RAMERRF_R = crate::R<bool, bool>;
7#[doc = "Reader of field `PROCENDF`"]
8pub type PROCENDF_R = crate::R<bool, bool>;
9#[doc = "Reader of field `BUSY`"]
10pub type BUSY_R = crate::R<bool, bool>;
11impl R {
12 #[doc = "Bit 20 - Address error flag"]
13 #[inline(always)]
14 pub fn addrerrf(&self) -> ADDRERRF_R {
15 ADDRERRF_R::new(((self.bits >> 20) & 0x01) != 0)
16 }
17 #[doc = "Bit 19 - RAM error flag"]
18 #[inline(always)]
19 pub fn ramerrf(&self) -> RAMERRF_R {
20 RAMERRF_R::new(((self.bits >> 19) & 0x01) != 0)
21 }
22 #[doc = "Bit 17 - PKA End of Operation flag"]
23 #[inline(always)]
24 pub fn procendf(&self) -> PROCENDF_R {
25 PROCENDF_R::new(((self.bits >> 17) & 0x01) != 0)
26 }
27 #[doc = "Bit 16 - PKA Operation in progress"]
28 #[inline(always)]
29 pub fn busy(&self) -> BUSY_R {
30 BUSY_R::new(((self.bits >> 16) & 0x01) != 0)
31 }
32}