#[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)
}
}