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 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88
#[doc = "Reader of register STATUSD"] pub type R = crate::R<u32, super::STATUSD>; #[doc = "Reader of field `SERCOM4_`"] pub type SERCOM4__R = crate::R<bool, bool>; #[doc = "Reader of field `SERCOM5_`"] pub type SERCOM5__R = crate::R<bool, bool>; #[doc = "Reader of field `SERCOM6_`"] pub type SERCOM6__R = crate::R<bool, bool>; #[doc = "Reader of field `SERCOM7_`"] pub type SERCOM7__R = crate::R<bool, bool>; #[doc = "Reader of field `TCC4_`"] pub type TCC4__R = crate::R<bool, bool>; #[doc = "Reader of field `TC6_`"] pub type TC6__R = crate::R<bool, bool>; #[doc = "Reader of field `TC7_`"] pub type TC7__R = crate::R<bool, bool>; #[doc = "Reader of field `ADC0_`"] pub type ADC0__R = crate::R<bool, bool>; #[doc = "Reader of field `ADC1_`"] pub type ADC1__R = crate::R<bool, bool>; #[doc = "Reader of field `DAC_`"] pub type DAC__R = crate::R<bool, bool>; #[doc = "Reader of field `I2S_`"] pub type I2S__R = crate::R<bool, bool>; #[doc = "Reader of field `PCC_`"] pub type PCC__R = crate::R<bool, bool>; impl R { #[doc = "Bit 0 - SERCOM4 APB Protect Enable"] #[inline(always)] pub fn sercom4_(&self) -> SERCOM4__R { SERCOM4__R::new((self.bits & 0x01) != 0) } #[doc = "Bit 1 - SERCOM5 APB Protect Enable"] #[inline(always)] pub fn sercom5_(&self) -> SERCOM5__R { SERCOM5__R::new(((self.bits >> 1) & 0x01) != 0) } #[doc = "Bit 2 - SERCOM6 APB Protect Enable"] #[inline(always)] pub fn sercom6_(&self) -> SERCOM6__R { SERCOM6__R::new(((self.bits >> 2) & 0x01) != 0) } #[doc = "Bit 3 - SERCOM7 APB Protect Enable"] #[inline(always)] pub fn sercom7_(&self) -> SERCOM7__R { SERCOM7__R::new(((self.bits >> 3) & 0x01) != 0) } #[doc = "Bit 4 - TCC4 APB Protect Enable"] #[inline(always)] pub fn tcc4_(&self) -> TCC4__R { TCC4__R::new(((self.bits >> 4) & 0x01) != 0) } #[doc = "Bit 5 - TC6 APB Protect Enable"] #[inline(always)] pub fn tc6_(&self) -> TC6__R { TC6__R::new(((self.bits >> 5) & 0x01) != 0) } #[doc = "Bit 6 - TC7 APB Protect Enable"] #[inline(always)] pub fn tc7_(&self) -> TC7__R { TC7__R::new(((self.bits >> 6) & 0x01) != 0) } #[doc = "Bit 7 - ADC0 APB Protect Enable"] #[inline(always)] pub fn adc0_(&self) -> ADC0__R { ADC0__R::new(((self.bits >> 7) & 0x01) != 0) } #[doc = "Bit 8 - ADC1 APB Protect Enable"] #[inline(always)] pub fn adc1_(&self) -> ADC1__R { ADC1__R::new(((self.bits >> 8) & 0x01) != 0) } #[doc = "Bit 9 - DAC APB Protect Enable"] #[inline(always)] pub fn dac_(&self) -> DAC__R { DAC__R::new(((self.bits >> 9) & 0x01) != 0) } #[doc = "Bit 10 - I2S APB Protect Enable"] #[inline(always)] pub fn i2s_(&self) -> I2S__R { I2S__R::new(((self.bits >> 10) & 0x01) != 0) } #[doc = "Bit 11 - PCC APB Protect Enable"] #[inline(always)] pub fn pcc_(&self) -> PCC__R { PCC__R::new(((self.bits >> 11) & 0x01) != 0) } }