#[doc = "Reader of register MPCBB2_LCKVTR1"]
pub type R = crate::R<u32, super::MPCBB2_LCKVTR1>;
#[doc = "Writer for register MPCBB2_LCKVTR1"]
pub type W = crate::W<u32, super::MPCBB2_LCKVTR1>;
#[doc = "Register MPCBB2_LCKVTR1 `reset()`'s with value 0"]
impl crate::ResetValue for super::MPCBB2_LCKVTR1 {
type Type = u32;
#[inline(always)]
fn reset_value() -> Self::Type {
0
}
}
#[doc = "Reader of field `LCKSB0`"]
pub type LCKSB0_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB0`"]
pub struct LCKSB0_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB0_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 = "Reader of field `LCKSB1`"]
pub type LCKSB1_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB1`"]
pub struct LCKSB1_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB1_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 = "Reader of field `LCKSB2`"]
pub type LCKSB2_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB2`"]
pub struct LCKSB2_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB2_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 = "Reader of field `LCKSB3`"]
pub type LCKSB3_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB3`"]
pub struct LCKSB3_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB3_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 = "Reader of field `LCKSB4`"]
pub type LCKSB4_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB4`"]
pub struct LCKSB4_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB4_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 = "Reader of field `LCKSB5`"]
pub type LCKSB5_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB5`"]
pub struct LCKSB5_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB5_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 = "Reader of field `LCKSB6`"]
pub type LCKSB6_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB6`"]
pub struct LCKSB6_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB6_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 = "Reader of field `LCKSB7`"]
pub type LCKSB7_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB7`"]
pub struct LCKSB7_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB7_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 = "Reader of field `LCKSB8`"]
pub type LCKSB8_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB8`"]
pub struct LCKSB8_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB8_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 = "Reader of field `LCKSB9`"]
pub type LCKSB9_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB9`"]
pub struct LCKSB9_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB9_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 = "Reader of field `LCKSB10`"]
pub type LCKSB10_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB10`"]
pub struct LCKSB10_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB10_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 = "Reader of field `LCKSB11`"]
pub type LCKSB11_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB11`"]
pub struct LCKSB11_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB11_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 = "Reader of field `LCKSB12`"]
pub type LCKSB12_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB12`"]
pub struct LCKSB12_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB12_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 = "Reader of field `LCKSB13`"]
pub type LCKSB13_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB13`"]
pub struct LCKSB13_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB13_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 = "Reader of field `LCKSB14`"]
pub type LCKSB14_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB14`"]
pub struct LCKSB14_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB14_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 = "Reader of field `LCKSB15`"]
pub type LCKSB15_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB15`"]
pub struct LCKSB15_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB15_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 = "Reader of field `LCKSB16`"]
pub type LCKSB16_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB16`"]
pub struct LCKSB16_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB16_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 = "Reader of field `LCKSB17`"]
pub type LCKSB17_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB17`"]
pub struct LCKSB17_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB17_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 = "Reader of field `LCKSB18`"]
pub type LCKSB18_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB18`"]
pub struct LCKSB18_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB18_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 = "Reader of field `LCKSB19`"]
pub type LCKSB19_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB19`"]
pub struct LCKSB19_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB19_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 = "Reader of field `LCKSB20`"]
pub type LCKSB20_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB20`"]
pub struct LCKSB20_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB20_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 = "Reader of field `LCKSB21`"]
pub type LCKSB21_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB21`"]
pub struct LCKSB21_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB21_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 = "Reader of field `LCKSB22`"]
pub type LCKSB22_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB22`"]
pub struct LCKSB22_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB22_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 = "Reader of field `LCKSB23`"]
pub type LCKSB23_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB23`"]
pub struct LCKSB23_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB23_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 = "Reader of field `LCKSB24`"]
pub type LCKSB24_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB24`"]
pub struct LCKSB24_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB24_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 = "Reader of field `LCKSB25`"]
pub type LCKSB25_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB25`"]
pub struct LCKSB25_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB25_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 = "Reader of field `LCKSB26`"]
pub type LCKSB26_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB26`"]
pub struct LCKSB26_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB26_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 = "Reader of field `LCKSB27`"]
pub type LCKSB27_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB27`"]
pub struct LCKSB27_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB27_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 = "Reader of field `LCKSB28`"]
pub type LCKSB28_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB28`"]
pub struct LCKSB28_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB28_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 = "Reader of field `LCKSB29`"]
pub type LCKSB29_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB29`"]
pub struct LCKSB29_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB29_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 = "Reader of field `LCKSB30`"]
pub type LCKSB30_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB30`"]
pub struct LCKSB30_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB30_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 = "Reader of field `LCKSB31`"]
pub type LCKSB31_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `LCKSB31`"]
pub struct LCKSB31_W<'a> {
w: &'a mut W,
}
impl<'a> LCKSB31_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 - LCKSB0"]
#[inline(always)]
pub fn lcksb0(&self) -> LCKSB0_R {
LCKSB0_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - LCKSB1"]
#[inline(always)]
pub fn lcksb1(&self) -> LCKSB1_R {
LCKSB1_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - LCKSB2"]
#[inline(always)]
pub fn lcksb2(&self) -> LCKSB2_R {
LCKSB2_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 3 - LCKSB3"]
#[inline(always)]
pub fn lcksb3(&self) -> LCKSB3_R {
LCKSB3_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 4 - LCKSB4"]
#[inline(always)]
pub fn lcksb4(&self) -> LCKSB4_R {
LCKSB4_R::new(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 5 - LCKSB5"]
#[inline(always)]
pub fn lcksb5(&self) -> LCKSB5_R {
LCKSB5_R::new(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 6 - LCKSB6"]
#[inline(always)]
pub fn lcksb6(&self) -> LCKSB6_R {
LCKSB6_R::new(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 7 - LCKSB7"]
#[inline(always)]
pub fn lcksb7(&self) -> LCKSB7_R {
LCKSB7_R::new(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 8 - LCKSB8"]
#[inline(always)]
pub fn lcksb8(&self) -> LCKSB8_R {
LCKSB8_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 9 - LCKSB9"]
#[inline(always)]
pub fn lcksb9(&self) -> LCKSB9_R {
LCKSB9_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 10 - LCKSB10"]
#[inline(always)]
pub fn lcksb10(&self) -> LCKSB10_R {
LCKSB10_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 11 - LCKSB11"]
#[inline(always)]
pub fn lcksb11(&self) -> LCKSB11_R {
LCKSB11_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 12 - LCKSB12"]
#[inline(always)]
pub fn lcksb12(&self) -> LCKSB12_R {
LCKSB12_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 13 - LCKSB13"]
#[inline(always)]
pub fn lcksb13(&self) -> LCKSB13_R {
LCKSB13_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 14 - LCKSB14"]
#[inline(always)]
pub fn lcksb14(&self) -> LCKSB14_R {
LCKSB14_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 15 - LCKSB15"]
#[inline(always)]
pub fn lcksb15(&self) -> LCKSB15_R {
LCKSB15_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 16 - LCKSB16"]
#[inline(always)]
pub fn lcksb16(&self) -> LCKSB16_R {
LCKSB16_R::new(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 17 - LCKSB17"]
#[inline(always)]
pub fn lcksb17(&self) -> LCKSB17_R {
LCKSB17_R::new(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 18 - LCKSB18"]
#[inline(always)]
pub fn lcksb18(&self) -> LCKSB18_R {
LCKSB18_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 19 - LCKSB19"]
#[inline(always)]
pub fn lcksb19(&self) -> LCKSB19_R {
LCKSB19_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 20 - LCKSB20"]
#[inline(always)]
pub fn lcksb20(&self) -> LCKSB20_R {
LCKSB20_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 21 - LCKSB21"]
#[inline(always)]
pub fn lcksb21(&self) -> LCKSB21_R {
LCKSB21_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 22 - LCKSB22"]
#[inline(always)]
pub fn lcksb22(&self) -> LCKSB22_R {
LCKSB22_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 23 - LCKSB23"]
#[inline(always)]
pub fn lcksb23(&self) -> LCKSB23_R {
LCKSB23_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 24 - LCKSB24"]
#[inline(always)]
pub fn lcksb24(&self) -> LCKSB24_R {
LCKSB24_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 25 - LCKSB25"]
#[inline(always)]
pub fn lcksb25(&self) -> LCKSB25_R {
LCKSB25_R::new(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 26 - LCKSB26"]
#[inline(always)]
pub fn lcksb26(&self) -> LCKSB26_R {
LCKSB26_R::new(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 27 - LCKSB27"]
#[inline(always)]
pub fn lcksb27(&self) -> LCKSB27_R {
LCKSB27_R::new(((self.bits >> 27) & 0x01) != 0)
}
#[doc = "Bit 28 - LCKSB28"]
#[inline(always)]
pub fn lcksb28(&self) -> LCKSB28_R {
LCKSB28_R::new(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 29 - LCKSB29"]
#[inline(always)]
pub fn lcksb29(&self) -> LCKSB29_R {
LCKSB29_R::new(((self.bits >> 29) & 0x01) != 0)
}
#[doc = "Bit 30 - LCKSB30"]
#[inline(always)]
pub fn lcksb30(&self) -> LCKSB30_R {
LCKSB30_R::new(((self.bits >> 30) & 0x01) != 0)
}
#[doc = "Bit 31 - LCKSB31"]
#[inline(always)]
pub fn lcksb31(&self) -> LCKSB31_R {
LCKSB31_R::new(((self.bits >> 31) & 0x01) != 0)
}
}
impl W {
#[doc = "Bit 0 - LCKSB0"]
#[inline(always)]
pub fn lcksb0(&mut self) -> LCKSB0_W {
LCKSB0_W { w: self }
}
#[doc = "Bit 1 - LCKSB1"]
#[inline(always)]
pub fn lcksb1(&mut self) -> LCKSB1_W {
LCKSB1_W { w: self }
}
#[doc = "Bit 2 - LCKSB2"]
#[inline(always)]
pub fn lcksb2(&mut self) -> LCKSB2_W {
LCKSB2_W { w: self }
}
#[doc = "Bit 3 - LCKSB3"]
#[inline(always)]
pub fn lcksb3(&mut self) -> LCKSB3_W {
LCKSB3_W { w: self }
}
#[doc = "Bit 4 - LCKSB4"]
#[inline(always)]
pub fn lcksb4(&mut self) -> LCKSB4_W {
LCKSB4_W { w: self }
}
#[doc = "Bit 5 - LCKSB5"]
#[inline(always)]
pub fn lcksb5(&mut self) -> LCKSB5_W {
LCKSB5_W { w: self }
}
#[doc = "Bit 6 - LCKSB6"]
#[inline(always)]
pub fn lcksb6(&mut self) -> LCKSB6_W {
LCKSB6_W { w: self }
}
#[doc = "Bit 7 - LCKSB7"]
#[inline(always)]
pub fn lcksb7(&mut self) -> LCKSB7_W {
LCKSB7_W { w: self }
}
#[doc = "Bit 8 - LCKSB8"]
#[inline(always)]
pub fn lcksb8(&mut self) -> LCKSB8_W {
LCKSB8_W { w: self }
}
#[doc = "Bit 9 - LCKSB9"]
#[inline(always)]
pub fn lcksb9(&mut self) -> LCKSB9_W {
LCKSB9_W { w: self }
}
#[doc = "Bit 10 - LCKSB10"]
#[inline(always)]
pub fn lcksb10(&mut self) -> LCKSB10_W {
LCKSB10_W { w: self }
}
#[doc = "Bit 11 - LCKSB11"]
#[inline(always)]
pub fn lcksb11(&mut self) -> LCKSB11_W {
LCKSB11_W { w: self }
}
#[doc = "Bit 12 - LCKSB12"]
#[inline(always)]
pub fn lcksb12(&mut self) -> LCKSB12_W {
LCKSB12_W { w: self }
}
#[doc = "Bit 13 - LCKSB13"]
#[inline(always)]
pub fn lcksb13(&mut self) -> LCKSB13_W {
LCKSB13_W { w: self }
}
#[doc = "Bit 14 - LCKSB14"]
#[inline(always)]
pub fn lcksb14(&mut self) -> LCKSB14_W {
LCKSB14_W { w: self }
}
#[doc = "Bit 15 - LCKSB15"]
#[inline(always)]
pub fn lcksb15(&mut self) -> LCKSB15_W {
LCKSB15_W { w: self }
}
#[doc = "Bit 16 - LCKSB16"]
#[inline(always)]
pub fn lcksb16(&mut self) -> LCKSB16_W {
LCKSB16_W { w: self }
}
#[doc = "Bit 17 - LCKSB17"]
#[inline(always)]
pub fn lcksb17(&mut self) -> LCKSB17_W {
LCKSB17_W { w: self }
}
#[doc = "Bit 18 - LCKSB18"]
#[inline(always)]
pub fn lcksb18(&mut self) -> LCKSB18_W {
LCKSB18_W { w: self }
}
#[doc = "Bit 19 - LCKSB19"]
#[inline(always)]
pub fn lcksb19(&mut self) -> LCKSB19_W {
LCKSB19_W { w: self }
}
#[doc = "Bit 20 - LCKSB20"]
#[inline(always)]
pub fn lcksb20(&mut self) -> LCKSB20_W {
LCKSB20_W { w: self }
}
#[doc = "Bit 21 - LCKSB21"]
#[inline(always)]
pub fn lcksb21(&mut self) -> LCKSB21_W {
LCKSB21_W { w: self }
}
#[doc = "Bit 22 - LCKSB22"]
#[inline(always)]
pub fn lcksb22(&mut self) -> LCKSB22_W {
LCKSB22_W { w: self }
}
#[doc = "Bit 23 - LCKSB23"]
#[inline(always)]
pub fn lcksb23(&mut self) -> LCKSB23_W {
LCKSB23_W { w: self }
}
#[doc = "Bit 24 - LCKSB24"]
#[inline(always)]
pub fn lcksb24(&mut self) -> LCKSB24_W {
LCKSB24_W { w: self }
}
#[doc = "Bit 25 - LCKSB25"]
#[inline(always)]
pub fn lcksb25(&mut self) -> LCKSB25_W {
LCKSB25_W { w: self }
}
#[doc = "Bit 26 - LCKSB26"]
#[inline(always)]
pub fn lcksb26(&mut self) -> LCKSB26_W {
LCKSB26_W { w: self }
}
#[doc = "Bit 27 - LCKSB27"]
#[inline(always)]
pub fn lcksb27(&mut self) -> LCKSB27_W {
LCKSB27_W { w: self }
}
#[doc = "Bit 28 - LCKSB28"]
#[inline(always)]
pub fn lcksb28(&mut self) -> LCKSB28_W {
LCKSB28_W { w: self }
}
#[doc = "Bit 29 - LCKSB29"]
#[inline(always)]
pub fn lcksb29(&mut self) -> LCKSB29_W {
LCKSB29_W { w: self }
}
#[doc = "Bit 30 - LCKSB30"]
#[inline(always)]
pub fn lcksb30(&mut self) -> LCKSB30_W {
LCKSB30_W { w: self }
}
#[doc = "Bit 31 - LCKSB31"]
#[inline(always)]
pub fn lcksb31(&mut self) -> LCKSB31_W {
LCKSB31_W { w: self }
}
}