#[doc = "Register `LOCKBIT_WORD1` reader"]
pub struct R(crate::R<LOCKBIT_WORD1_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<LOCKBIT_WORD1_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<LOCKBIT_WORD1_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<LOCKBIT_WORD1_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `LOCKBIT_WORD1` writer"]
pub struct W(crate::W<LOCKBIT_WORD1_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<LOCKBIT_WORD1_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::ops::DerefMut for W {
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
impl From<crate::W<LOCKBIT_WORD1_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<LOCKBIT_WORD1_SPEC>) -> Self {
W(writer)
}
}
#[doc = "Field `LOCK_REGION_32` reader - Lock Region 32"]
pub struct LOCK_REGION_32_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_32_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_32_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_32_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_32` writer - Lock Region 32"]
pub struct LOCK_REGION_32_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_32_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !0x01) | (value as u32 & 0x01);
self.w
}
}
#[doc = "Field `LOCK_REGION_33` reader - Lock Region 33"]
pub struct LOCK_REGION_33_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_33_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_33_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_33_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_33` writer - Lock Region 33"]
pub struct LOCK_REGION_33_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_33_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 1)) | ((value as u32 & 0x01) << 1);
self.w
}
}
#[doc = "Field `LOCK_REGION_34` reader - Lock Region 34"]
pub struct LOCK_REGION_34_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_34_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_34_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_34_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_34` writer - Lock Region 34"]
pub struct LOCK_REGION_34_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_34_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 2)) | ((value as u32 & 0x01) << 2);
self.w
}
}
#[doc = "Field `LOCK_REGION_35` reader - Lock Region 35"]
pub struct LOCK_REGION_35_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_35_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_35_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_35_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_35` writer - Lock Region 35"]
pub struct LOCK_REGION_35_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_35_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 3)) | ((value as u32 & 0x01) << 3);
self.w
}
}
#[doc = "Field `LOCK_REGION_36` reader - Lock Region 36"]
pub struct LOCK_REGION_36_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_36_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_36_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_36_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_36` writer - Lock Region 36"]
pub struct LOCK_REGION_36_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_36_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 4)) | ((value as u32 & 0x01) << 4);
self.w
}
}
#[doc = "Field `LOCK_REGION_37` reader - Lock Region 37"]
pub struct LOCK_REGION_37_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_37_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_37_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_37_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_37` writer - Lock Region 37"]
pub struct LOCK_REGION_37_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_37_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 5)) | ((value as u32 & 0x01) << 5);
self.w
}
}
#[doc = "Field `LOCK_REGION_38` reader - Lock Region 38"]
pub struct LOCK_REGION_38_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_38_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_38_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_38_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_38` writer - Lock Region 38"]
pub struct LOCK_REGION_38_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_38_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 6)) | ((value as u32 & 0x01) << 6);
self.w
}
}
#[doc = "Field `LOCK_REGION_39` reader - Lock Region 39"]
pub struct LOCK_REGION_39_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_39_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_39_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_39_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_39` writer - Lock Region 39"]
pub struct LOCK_REGION_39_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_39_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 7)) | ((value as u32 & 0x01) << 7);
self.w
}
}
#[doc = "Field `LOCK_REGION_40` reader - Lock Region 40"]
pub struct LOCK_REGION_40_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_40_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_40_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_40_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_40` writer - Lock Region 40"]
pub struct LOCK_REGION_40_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_40_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 8)) | ((value as u32 & 0x01) << 8);
self.w
}
}
#[doc = "Field `LOCK_REGION_41` reader - Lock Region 41"]
pub struct LOCK_REGION_41_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_41_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_41_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_41_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_41` writer - Lock Region 41"]
pub struct LOCK_REGION_41_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_41_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 9)) | ((value as u32 & 0x01) << 9);
self.w
}
}
#[doc = "Field `LOCK_REGION_42` reader - Lock Region 42"]
pub struct LOCK_REGION_42_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_42_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_42_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_42_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_42` writer - Lock Region 42"]
pub struct LOCK_REGION_42_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_42_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 10)) | ((value as u32 & 0x01) << 10);
self.w
}
}
#[doc = "Field `LOCK_REGION_43` reader - Lock Region 43"]
pub struct LOCK_REGION_43_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_43_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_43_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_43_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_43` writer - Lock Region 43"]
pub struct LOCK_REGION_43_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_43_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 11)) | ((value as u32 & 0x01) << 11);
self.w
}
}
#[doc = "Field `LOCK_REGION_44` reader - Lock Region 44"]
pub struct LOCK_REGION_44_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_44_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_44_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_44_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_44` writer - Lock Region 44"]
pub struct LOCK_REGION_44_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_44_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 12)) | ((value as u32 & 0x01) << 12);
self.w
}
}
#[doc = "Field `LOCK_REGION_45` reader - Lock Region 45"]
pub struct LOCK_REGION_45_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_45_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_45_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_45_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_45` writer - Lock Region 45"]
pub struct LOCK_REGION_45_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_45_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 13)) | ((value as u32 & 0x01) << 13);
self.w
}
}
#[doc = "Field `LOCK_REGION_46` reader - Lock Region 46"]
pub struct LOCK_REGION_46_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_46_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_46_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_46_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_46` writer - Lock Region 46"]
pub struct LOCK_REGION_46_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_46_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 14)) | ((value as u32 & 0x01) << 14);
self.w
}
}
#[doc = "Field `LOCK_REGION_47` reader - Lock Region 47"]
pub struct LOCK_REGION_47_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_47_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_47_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_47_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_47` writer - Lock Region 47"]
pub struct LOCK_REGION_47_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_47_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 15)) | ((value as u32 & 0x01) << 15);
self.w
}
}
#[doc = "Field `LOCK_REGION_48` reader - Lock Region 48"]
pub struct LOCK_REGION_48_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_48_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_48_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_48_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_48` writer - Lock Region 48"]
pub struct LOCK_REGION_48_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_48_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 16)) | ((value as u32 & 0x01) << 16);
self.w
}
}
#[doc = "Field `LOCK_REGION_49` reader - Lock Region 49"]
pub struct LOCK_REGION_49_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_49_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_49_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_49_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_49` writer - Lock Region 49"]
pub struct LOCK_REGION_49_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_49_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 17)) | ((value as u32 & 0x01) << 17);
self.w
}
}
#[doc = "Field `LOCK_REGION_50` reader - Lock Region 50"]
pub struct LOCK_REGION_50_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_50_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_50_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_50_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_50` writer - Lock Region 50"]
pub struct LOCK_REGION_50_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_50_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 18)) | ((value as u32 & 0x01) << 18);
self.w
}
}
#[doc = "Field `LOCK_REGION_51` reader - Lock Region 51"]
pub struct LOCK_REGION_51_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_51_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_51_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_51_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_51` writer - Lock Region 51"]
pub struct LOCK_REGION_51_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_51_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 19)) | ((value as u32 & 0x01) << 19);
self.w
}
}
#[doc = "Field `LOCK_REGION_52` reader - Lock Region 52"]
pub struct LOCK_REGION_52_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_52_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_52_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_52_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_52` writer - Lock Region 52"]
pub struct LOCK_REGION_52_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_52_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 20)) | ((value as u32 & 0x01) << 20);
self.w
}
}
#[doc = "Field `LOCK_REGION_53` reader - Lock Region 53"]
pub struct LOCK_REGION_53_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_53_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_53_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_53_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_53` writer - Lock Region 53"]
pub struct LOCK_REGION_53_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_53_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 21)) | ((value as u32 & 0x01) << 21);
self.w
}
}
#[doc = "Field `LOCK_REGION_54` reader - Lock Region 54"]
pub struct LOCK_REGION_54_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_54_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_54_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_54_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_54` writer - Lock Region 54"]
pub struct LOCK_REGION_54_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_54_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 22)) | ((value as u32 & 0x01) << 22);
self.w
}
}
#[doc = "Field `LOCK_REGION_55` reader - Lock Region 55"]
pub struct LOCK_REGION_55_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_55_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_55_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_55_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_55` writer - Lock Region 55"]
pub struct LOCK_REGION_55_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_55_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 23)) | ((value as u32 & 0x01) << 23);
self.w
}
}
#[doc = "Field `LOCK_REGION_56` reader - Lock Region 56"]
pub struct LOCK_REGION_56_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_56_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_56_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_56_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_56` writer - Lock Region 56"]
pub struct LOCK_REGION_56_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_56_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 24)) | ((value as u32 & 0x01) << 24);
self.w
}
}
#[doc = "Field `LOCK_REGION_57` reader - Lock Region 57"]
pub struct LOCK_REGION_57_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_57_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_57_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_57_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_57` writer - Lock Region 57"]
pub struct LOCK_REGION_57_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_57_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 25)) | ((value as u32 & 0x01) << 25);
self.w
}
}
#[doc = "Field `LOCK_REGION_58` reader - Lock Region 58"]
pub struct LOCK_REGION_58_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_58_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_58_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_58_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_58` writer - Lock Region 58"]
pub struct LOCK_REGION_58_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_58_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 26)) | ((value as u32 & 0x01) << 26);
self.w
}
}
#[doc = "Field `LOCK_REGION_59` reader - Lock Region 59"]
pub struct LOCK_REGION_59_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_59_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_59_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_59_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_59` writer - Lock Region 59"]
pub struct LOCK_REGION_59_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_59_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 27)) | ((value as u32 & 0x01) << 27);
self.w
}
}
#[doc = "Field `LOCK_REGION_60` reader - Lock Region 60"]
pub struct LOCK_REGION_60_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_60_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_60_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_60_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_60` writer - Lock Region 60"]
pub struct LOCK_REGION_60_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_60_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 28)) | ((value as u32 & 0x01) << 28);
self.w
}
}
#[doc = "Field `LOCK_REGION_61` reader - Lock Region 61"]
pub struct LOCK_REGION_61_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_61_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_61_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_61_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_61` writer - Lock Region 61"]
pub struct LOCK_REGION_61_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_61_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 29)) | ((value as u32 & 0x01) << 29);
self.w
}
}
#[doc = "Field `LOCK_REGION_62` reader - Lock Region 62"]
pub struct LOCK_REGION_62_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_62_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_62_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_62_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_62` writer - Lock Region 62"]
pub struct LOCK_REGION_62_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_62_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 30)) | ((value as u32 & 0x01) << 30);
self.w
}
}
#[doc = "Field `LOCK_REGION_63` reader - Lock Region 63"]
pub struct LOCK_REGION_63_R(crate::FieldReader<bool, bool>);
impl LOCK_REGION_63_R {
#[inline(always)]
pub(crate) fn new(bits: bool) -> Self {
LOCK_REGION_63_R(crate::FieldReader::new(bits))
}
}
impl core::ops::Deref for LOCK_REGION_63_R {
type Target = crate::FieldReader<bool, bool>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
#[doc = "Field `LOCK_REGION_63` writer - Lock Region 63"]
pub struct LOCK_REGION_63_W<'a> {
w: &'a mut W,
}
impl<'a> LOCK_REGION_63_W<'a> {
#[doc = r"Sets the field bit"]
#[inline(always)]
pub fn set_bit(self) -> &'a mut W {
self.bit(true)
}
#[doc = r"Clears the field bit"]
#[inline(always)]
pub fn clear_bit(self) -> &'a mut W {
self.bit(false)
}
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub fn bit(self, value: bool) -> &'a mut W {
self.w.bits = (self.w.bits & !(0x01 << 31)) | ((value as u32 & 0x01) << 31);
self.w
}
}
impl R {
#[doc = "Bit 0 - Lock Region 32"]
#[inline(always)]
pub fn lock_region_32(&self) -> LOCK_REGION_32_R {
LOCK_REGION_32_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - Lock Region 33"]
#[inline(always)]
pub fn lock_region_33(&self) -> LOCK_REGION_33_R {
LOCK_REGION_33_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - Lock Region 34"]
#[inline(always)]
pub fn lock_region_34(&self) -> LOCK_REGION_34_R {
LOCK_REGION_34_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 3 - Lock Region 35"]
#[inline(always)]
pub fn lock_region_35(&self) -> LOCK_REGION_35_R {
LOCK_REGION_35_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 4 - Lock Region 36"]
#[inline(always)]
pub fn lock_region_36(&self) -> LOCK_REGION_36_R {
LOCK_REGION_36_R::new(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 5 - Lock Region 37"]
#[inline(always)]
pub fn lock_region_37(&self) -> LOCK_REGION_37_R {
LOCK_REGION_37_R::new(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 6 - Lock Region 38"]
#[inline(always)]
pub fn lock_region_38(&self) -> LOCK_REGION_38_R {
LOCK_REGION_38_R::new(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 7 - Lock Region 39"]
#[inline(always)]
pub fn lock_region_39(&self) -> LOCK_REGION_39_R {
LOCK_REGION_39_R::new(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 8 - Lock Region 40"]
#[inline(always)]
pub fn lock_region_40(&self) -> LOCK_REGION_40_R {
LOCK_REGION_40_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 9 - Lock Region 41"]
#[inline(always)]
pub fn lock_region_41(&self) -> LOCK_REGION_41_R {
LOCK_REGION_41_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 10 - Lock Region 42"]
#[inline(always)]
pub fn lock_region_42(&self) -> LOCK_REGION_42_R {
LOCK_REGION_42_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 11 - Lock Region 43"]
#[inline(always)]
pub fn lock_region_43(&self) -> LOCK_REGION_43_R {
LOCK_REGION_43_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 12 - Lock Region 44"]
#[inline(always)]
pub fn lock_region_44(&self) -> LOCK_REGION_44_R {
LOCK_REGION_44_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 13 - Lock Region 45"]
#[inline(always)]
pub fn lock_region_45(&self) -> LOCK_REGION_45_R {
LOCK_REGION_45_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 14 - Lock Region 46"]
#[inline(always)]
pub fn lock_region_46(&self) -> LOCK_REGION_46_R {
LOCK_REGION_46_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 15 - Lock Region 47"]
#[inline(always)]
pub fn lock_region_47(&self) -> LOCK_REGION_47_R {
LOCK_REGION_47_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 16 - Lock Region 48"]
#[inline(always)]
pub fn lock_region_48(&self) -> LOCK_REGION_48_R {
LOCK_REGION_48_R::new(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 17 - Lock Region 49"]
#[inline(always)]
pub fn lock_region_49(&self) -> LOCK_REGION_49_R {
LOCK_REGION_49_R::new(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 18 - Lock Region 50"]
#[inline(always)]
pub fn lock_region_50(&self) -> LOCK_REGION_50_R {
LOCK_REGION_50_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 19 - Lock Region 51"]
#[inline(always)]
pub fn lock_region_51(&self) -> LOCK_REGION_51_R {
LOCK_REGION_51_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 20 - Lock Region 52"]
#[inline(always)]
pub fn lock_region_52(&self) -> LOCK_REGION_52_R {
LOCK_REGION_52_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 21 - Lock Region 53"]
#[inline(always)]
pub fn lock_region_53(&self) -> LOCK_REGION_53_R {
LOCK_REGION_53_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 22 - Lock Region 54"]
#[inline(always)]
pub fn lock_region_54(&self) -> LOCK_REGION_54_R {
LOCK_REGION_54_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 23 - Lock Region 55"]
#[inline(always)]
pub fn lock_region_55(&self) -> LOCK_REGION_55_R {
LOCK_REGION_55_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 24 - Lock Region 56"]
#[inline(always)]
pub fn lock_region_56(&self) -> LOCK_REGION_56_R {
LOCK_REGION_56_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 25 - Lock Region 57"]
#[inline(always)]
pub fn lock_region_57(&self) -> LOCK_REGION_57_R {
LOCK_REGION_57_R::new(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 26 - Lock Region 58"]
#[inline(always)]
pub fn lock_region_58(&self) -> LOCK_REGION_58_R {
LOCK_REGION_58_R::new(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 27 - Lock Region 59"]
#[inline(always)]
pub fn lock_region_59(&self) -> LOCK_REGION_59_R {
LOCK_REGION_59_R::new(((self.bits >> 27) & 0x01) != 0)
}
#[doc = "Bit 28 - Lock Region 60"]
#[inline(always)]
pub fn lock_region_60(&self) -> LOCK_REGION_60_R {
LOCK_REGION_60_R::new(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 29 - Lock Region 61"]
#[inline(always)]
pub fn lock_region_61(&self) -> LOCK_REGION_61_R {
LOCK_REGION_61_R::new(((self.bits >> 29) & 0x01) != 0)
}
#[doc = "Bit 30 - Lock Region 62"]
#[inline(always)]
pub fn lock_region_62(&self) -> LOCK_REGION_62_R {
LOCK_REGION_62_R::new(((self.bits >> 30) & 0x01) != 0)
}
#[doc = "Bit 31 - Lock Region 63"]
#[inline(always)]
pub fn lock_region_63(&self) -> LOCK_REGION_63_R {
LOCK_REGION_63_R::new(((self.bits >> 31) & 0x01) != 0)
}
}
impl W {
#[doc = "Bit 0 - Lock Region 32"]
#[inline(always)]
pub fn lock_region_32(&mut self) -> LOCK_REGION_32_W {
LOCK_REGION_32_W { w: self }
}
#[doc = "Bit 1 - Lock Region 33"]
#[inline(always)]
pub fn lock_region_33(&mut self) -> LOCK_REGION_33_W {
LOCK_REGION_33_W { w: self }
}
#[doc = "Bit 2 - Lock Region 34"]
#[inline(always)]
pub fn lock_region_34(&mut self) -> LOCK_REGION_34_W {
LOCK_REGION_34_W { w: self }
}
#[doc = "Bit 3 - Lock Region 35"]
#[inline(always)]
pub fn lock_region_35(&mut self) -> LOCK_REGION_35_W {
LOCK_REGION_35_W { w: self }
}
#[doc = "Bit 4 - Lock Region 36"]
#[inline(always)]
pub fn lock_region_36(&mut self) -> LOCK_REGION_36_W {
LOCK_REGION_36_W { w: self }
}
#[doc = "Bit 5 - Lock Region 37"]
#[inline(always)]
pub fn lock_region_37(&mut self) -> LOCK_REGION_37_W {
LOCK_REGION_37_W { w: self }
}
#[doc = "Bit 6 - Lock Region 38"]
#[inline(always)]
pub fn lock_region_38(&mut self) -> LOCK_REGION_38_W {
LOCK_REGION_38_W { w: self }
}
#[doc = "Bit 7 - Lock Region 39"]
#[inline(always)]
pub fn lock_region_39(&mut self) -> LOCK_REGION_39_W {
LOCK_REGION_39_W { w: self }
}
#[doc = "Bit 8 - Lock Region 40"]
#[inline(always)]
pub fn lock_region_40(&mut self) -> LOCK_REGION_40_W {
LOCK_REGION_40_W { w: self }
}
#[doc = "Bit 9 - Lock Region 41"]
#[inline(always)]
pub fn lock_region_41(&mut self) -> LOCK_REGION_41_W {
LOCK_REGION_41_W { w: self }
}
#[doc = "Bit 10 - Lock Region 42"]
#[inline(always)]
pub fn lock_region_42(&mut self) -> LOCK_REGION_42_W {
LOCK_REGION_42_W { w: self }
}
#[doc = "Bit 11 - Lock Region 43"]
#[inline(always)]
pub fn lock_region_43(&mut self) -> LOCK_REGION_43_W {
LOCK_REGION_43_W { w: self }
}
#[doc = "Bit 12 - Lock Region 44"]
#[inline(always)]
pub fn lock_region_44(&mut self) -> LOCK_REGION_44_W {
LOCK_REGION_44_W { w: self }
}
#[doc = "Bit 13 - Lock Region 45"]
#[inline(always)]
pub fn lock_region_45(&mut self) -> LOCK_REGION_45_W {
LOCK_REGION_45_W { w: self }
}
#[doc = "Bit 14 - Lock Region 46"]
#[inline(always)]
pub fn lock_region_46(&mut self) -> LOCK_REGION_46_W {
LOCK_REGION_46_W { w: self }
}
#[doc = "Bit 15 - Lock Region 47"]
#[inline(always)]
pub fn lock_region_47(&mut self) -> LOCK_REGION_47_W {
LOCK_REGION_47_W { w: self }
}
#[doc = "Bit 16 - Lock Region 48"]
#[inline(always)]
pub fn lock_region_48(&mut self) -> LOCK_REGION_48_W {
LOCK_REGION_48_W { w: self }
}
#[doc = "Bit 17 - Lock Region 49"]
#[inline(always)]
pub fn lock_region_49(&mut self) -> LOCK_REGION_49_W {
LOCK_REGION_49_W { w: self }
}
#[doc = "Bit 18 - Lock Region 50"]
#[inline(always)]
pub fn lock_region_50(&mut self) -> LOCK_REGION_50_W {
LOCK_REGION_50_W { w: self }
}
#[doc = "Bit 19 - Lock Region 51"]
#[inline(always)]
pub fn lock_region_51(&mut self) -> LOCK_REGION_51_W {
LOCK_REGION_51_W { w: self }
}
#[doc = "Bit 20 - Lock Region 52"]
#[inline(always)]
pub fn lock_region_52(&mut self) -> LOCK_REGION_52_W {
LOCK_REGION_52_W { w: self }
}
#[doc = "Bit 21 - Lock Region 53"]
#[inline(always)]
pub fn lock_region_53(&mut self) -> LOCK_REGION_53_W {
LOCK_REGION_53_W { w: self }
}
#[doc = "Bit 22 - Lock Region 54"]
#[inline(always)]
pub fn lock_region_54(&mut self) -> LOCK_REGION_54_W {
LOCK_REGION_54_W { w: self }
}
#[doc = "Bit 23 - Lock Region 55"]
#[inline(always)]
pub fn lock_region_55(&mut self) -> LOCK_REGION_55_W {
LOCK_REGION_55_W { w: self }
}
#[doc = "Bit 24 - Lock Region 56"]
#[inline(always)]
pub fn lock_region_56(&mut self) -> LOCK_REGION_56_W {
LOCK_REGION_56_W { w: self }
}
#[doc = "Bit 25 - Lock Region 57"]
#[inline(always)]
pub fn lock_region_57(&mut self) -> LOCK_REGION_57_W {
LOCK_REGION_57_W { w: self }
}
#[doc = "Bit 26 - Lock Region 58"]
#[inline(always)]
pub fn lock_region_58(&mut self) -> LOCK_REGION_58_W {
LOCK_REGION_58_W { w: self }
}
#[doc = "Bit 27 - Lock Region 59"]
#[inline(always)]
pub fn lock_region_59(&mut self) -> LOCK_REGION_59_W {
LOCK_REGION_59_W { w: self }
}
#[doc = "Bit 28 - Lock Region 60"]
#[inline(always)]
pub fn lock_region_60(&mut self) -> LOCK_REGION_60_W {
LOCK_REGION_60_W { w: self }
}
#[doc = "Bit 29 - Lock Region 61"]
#[inline(always)]
pub fn lock_region_61(&mut self) -> LOCK_REGION_61_W {
LOCK_REGION_61_W { w: self }
}
#[doc = "Bit 30 - Lock Region 62"]
#[inline(always)]
pub fn lock_region_62(&mut self) -> LOCK_REGION_62_W {
LOCK_REGION_62_W { w: self }
}
#[doc = "Bit 31 - Lock Region 63"]
#[inline(always)]
pub fn lock_region_63(&mut self) -> LOCK_REGION_63_W {
LOCK_REGION_63_W { w: self }
}
#[doc = "Writes raw bits to the register."]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.0.bits(bits);
self
}
}
#[doc = "Lock Bits Word 1\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [lockbit_word1](index.html) module"]
pub struct LOCKBIT_WORD1_SPEC;
impl crate::RegisterSpec for LOCKBIT_WORD1_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [lockbit_word1::R](R) reader structure"]
impl crate::Readable for LOCKBIT_WORD1_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [lockbit_word1::W](W) writer structure"]
impl crate::Writable for LOCKBIT_WORD1_SPEC {
type Writer = W;
}
#[doc = "`reset()` method sets LOCKBIT_WORD1 to value 0"]
impl crate::Resettable for LOCKBIT_WORD1_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}