#[doc = r" Value read from the register"]
pub struct R {
bits: u32,
}
impl super::CCFG_PROT_63_32 {
#[doc = r" Reads the contents of the register"]
#[inline]
pub fn read(&self) -> R {
R { bits: self.register.get() }
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_63R {
bits: bool,
}
impl WRT_PROT_SEC_63R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_62R {
bits: bool,
}
impl WRT_PROT_SEC_62R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_61R {
bits: bool,
}
impl WRT_PROT_SEC_61R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_60R {
bits: bool,
}
impl WRT_PROT_SEC_60R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_59R {
bits: bool,
}
impl WRT_PROT_SEC_59R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_58R {
bits: bool,
}
impl WRT_PROT_SEC_58R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_57R {
bits: bool,
}
impl WRT_PROT_SEC_57R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_56R {
bits: bool,
}
impl WRT_PROT_SEC_56R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_55R {
bits: bool,
}
impl WRT_PROT_SEC_55R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_54R {
bits: bool,
}
impl WRT_PROT_SEC_54R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_53R {
bits: bool,
}
impl WRT_PROT_SEC_53R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_52R {
bits: bool,
}
impl WRT_PROT_SEC_52R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_51R {
bits: bool,
}
impl WRT_PROT_SEC_51R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_50R {
bits: bool,
}
impl WRT_PROT_SEC_50R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_49R {
bits: bool,
}
impl WRT_PROT_SEC_49R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_48R {
bits: bool,
}
impl WRT_PROT_SEC_48R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_47R {
bits: bool,
}
impl WRT_PROT_SEC_47R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_46R {
bits: bool,
}
impl WRT_PROT_SEC_46R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_45R {
bits: bool,
}
impl WRT_PROT_SEC_45R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_44R {
bits: bool,
}
impl WRT_PROT_SEC_44R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_43R {
bits: bool,
}
impl WRT_PROT_SEC_43R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_42R {
bits: bool,
}
impl WRT_PROT_SEC_42R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_41R {
bits: bool,
}
impl WRT_PROT_SEC_41R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_40R {
bits: bool,
}
impl WRT_PROT_SEC_40R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_39R {
bits: bool,
}
impl WRT_PROT_SEC_39R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_38R {
bits: bool,
}
impl WRT_PROT_SEC_38R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_37R {
bits: bool,
}
impl WRT_PROT_SEC_37R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_36R {
bits: bool,
}
impl WRT_PROT_SEC_36R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_35R {
bits: bool,
}
impl WRT_PROT_SEC_35R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_34R {
bits: bool,
}
impl WRT_PROT_SEC_34R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_33R {
bits: bool,
}
impl WRT_PROT_SEC_33R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
#[doc = r" Value of the field"]
pub struct WRT_PROT_SEC_32R {
bits: bool,
}
impl WRT_PROT_SEC_32R {
#[doc = r" Value of the field as raw bits"]
#[inline]
pub fn bit(&self) -> bool {
self.bits
}
#[doc = r" Returns `true` if the bit is clear (0)"]
#[inline]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r" Returns `true` if the bit is set (1)"]
#[inline]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
}
impl R {
#[doc = r" Value of the register as raw bits"]
#[inline]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bit 31 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_63(&self) -> WRT_PROT_SEC_63R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 31;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_63R { bits }
}
#[doc = "Bit 30 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_62(&self) -> WRT_PROT_SEC_62R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 30;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_62R { bits }
}
#[doc = "Bit 29 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_61(&self) -> WRT_PROT_SEC_61R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 29;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_61R { bits }
}
#[doc = "Bit 28 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_60(&self) -> WRT_PROT_SEC_60R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 28;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_60R { bits }
}
#[doc = "Bit 27 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_59(&self) -> WRT_PROT_SEC_59R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 27;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_59R { bits }
}
#[doc = "Bit 26 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_58(&self) -> WRT_PROT_SEC_58R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 26;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_58R { bits }
}
#[doc = "Bit 25 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_57(&self) -> WRT_PROT_SEC_57R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 25;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_57R { bits }
}
#[doc = "Bit 24 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_56(&self) -> WRT_PROT_SEC_56R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 24;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_56R { bits }
}
#[doc = "Bit 23 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_55(&self) -> WRT_PROT_SEC_55R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 23;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_55R { bits }
}
#[doc = "Bit 22 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_54(&self) -> WRT_PROT_SEC_54R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 22;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_54R { bits }
}
#[doc = "Bit 21 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_53(&self) -> WRT_PROT_SEC_53R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 21;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_53R { bits }
}
#[doc = "Bit 20 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_52(&self) -> WRT_PROT_SEC_52R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 20;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_52R { bits }
}
#[doc = "Bit 19 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_51(&self) -> WRT_PROT_SEC_51R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 19;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_51R { bits }
}
#[doc = "Bit 18 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_50(&self) -> WRT_PROT_SEC_50R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 18;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_50R { bits }
}
#[doc = "Bit 17 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_49(&self) -> WRT_PROT_SEC_49R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 17;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_49R { bits }
}
#[doc = "Bit 16 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_48(&self) -> WRT_PROT_SEC_48R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 16;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_48R { bits }
}
#[doc = "Bit 15 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_47(&self) -> WRT_PROT_SEC_47R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 15;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_47R { bits }
}
#[doc = "Bit 14 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_46(&self) -> WRT_PROT_SEC_46R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 14;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_46R { bits }
}
#[doc = "Bit 13 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_45(&self) -> WRT_PROT_SEC_45R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 13;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_45R { bits }
}
#[doc = "Bit 12 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_44(&self) -> WRT_PROT_SEC_44R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 12;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_44R { bits }
}
#[doc = "Bit 11 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_43(&self) -> WRT_PROT_SEC_43R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 11;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_43R { bits }
}
#[doc = "Bit 10 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_42(&self) -> WRT_PROT_SEC_42R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 10;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_42R { bits }
}
#[doc = "Bit 9 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_41(&self) -> WRT_PROT_SEC_41R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 9;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_41R { bits }
}
#[doc = "Bit 8 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_40(&self) -> WRT_PROT_SEC_40R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 8;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_40R { bits }
}
#[doc = "Bit 7 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_39(&self) -> WRT_PROT_SEC_39R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 7;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_39R { bits }
}
#[doc = "Bit 6 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_38(&self) -> WRT_PROT_SEC_38R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 6;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_38R { bits }
}
#[doc = "Bit 5 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_37(&self) -> WRT_PROT_SEC_37R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 5;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_37R { bits }
}
#[doc = "Bit 4 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_36(&self) -> WRT_PROT_SEC_36R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 4;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_36R { bits }
}
#[doc = "Bit 3 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_35(&self) -> WRT_PROT_SEC_35R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 3;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_35R { bits }
}
#[doc = "Bit 2 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_34(&self) -> WRT_PROT_SEC_34R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 2;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_34R { bits }
}
#[doc = "Bit 1 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_33(&self) -> WRT_PROT_SEC_33R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 1;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_33R { bits }
}
#[doc = "Bit 0 - 0: Sector protected"]
#[inline]
pub fn wrt_prot_sec_32(&self) -> WRT_PROT_SEC_32R {
let bits = {
const MASK: bool = true;
const OFFSET: u8 = 0;
((self.bits >> OFFSET) & MASK as u32) != 0
};
WRT_PROT_SEC_32R { bits }
}
}