#[doc = "Reader of register MPCBB1_VCTR12"]
pub type R = crate::R<u32, super::MPCBB1_VCTR12>;
#[doc = "Writer for register MPCBB1_VCTR12"]
pub type W = crate::W<u32, super::MPCBB1_VCTR12>;
#[doc = "Register MPCBB1_VCTR12 `reset()`'s with value 0xffff_ffff"]
impl crate::ResetValue for super::MPCBB1_VCTR12 {
type Type = u32;
#[inline(always)]
fn reset_value() -> Self::Type {
0xffff_ffff
}
}
#[doc = "Reader of field `B384`"]
pub type B384_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B384`"]
pub struct B384_W<'a> {
w: &'a mut W,
}
impl<'a> B384_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 `B385`"]
pub type B385_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B385`"]
pub struct B385_W<'a> {
w: &'a mut W,
}
impl<'a> B385_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 `B386`"]
pub type B386_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B386`"]
pub struct B386_W<'a> {
w: &'a mut W,
}
impl<'a> B386_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 `B387`"]
pub type B387_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B387`"]
pub struct B387_W<'a> {
w: &'a mut W,
}
impl<'a> B387_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 `B388`"]
pub type B388_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B388`"]
pub struct B388_W<'a> {
w: &'a mut W,
}
impl<'a> B388_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 `B389`"]
pub type B389_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B389`"]
pub struct B389_W<'a> {
w: &'a mut W,
}
impl<'a> B389_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 `B390`"]
pub type B390_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B390`"]
pub struct B390_W<'a> {
w: &'a mut W,
}
impl<'a> B390_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 `B391`"]
pub type B391_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B391`"]
pub struct B391_W<'a> {
w: &'a mut W,
}
impl<'a> B391_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 `B392`"]
pub type B392_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B392`"]
pub struct B392_W<'a> {
w: &'a mut W,
}
impl<'a> B392_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 `B393`"]
pub type B393_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B393`"]
pub struct B393_W<'a> {
w: &'a mut W,
}
impl<'a> B393_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 `B394`"]
pub type B394_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B394`"]
pub struct B394_W<'a> {
w: &'a mut W,
}
impl<'a> B394_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 `B395`"]
pub type B395_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B395`"]
pub struct B395_W<'a> {
w: &'a mut W,
}
impl<'a> B395_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 `B396`"]
pub type B396_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B396`"]
pub struct B396_W<'a> {
w: &'a mut W,
}
impl<'a> B396_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 `B397`"]
pub type B397_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B397`"]
pub struct B397_W<'a> {
w: &'a mut W,
}
impl<'a> B397_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 `B398`"]
pub type B398_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B398`"]
pub struct B398_W<'a> {
w: &'a mut W,
}
impl<'a> B398_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 `B399`"]
pub type B399_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B399`"]
pub struct B399_W<'a> {
w: &'a mut W,
}
impl<'a> B399_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 `B400`"]
pub type B400_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B400`"]
pub struct B400_W<'a> {
w: &'a mut W,
}
impl<'a> B400_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 `B401`"]
pub type B401_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B401`"]
pub struct B401_W<'a> {
w: &'a mut W,
}
impl<'a> B401_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 `B402`"]
pub type B402_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B402`"]
pub struct B402_W<'a> {
w: &'a mut W,
}
impl<'a> B402_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 `B403`"]
pub type B403_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B403`"]
pub struct B403_W<'a> {
w: &'a mut W,
}
impl<'a> B403_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 `B404`"]
pub type B404_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B404`"]
pub struct B404_W<'a> {
w: &'a mut W,
}
impl<'a> B404_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 `B405`"]
pub type B405_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B405`"]
pub struct B405_W<'a> {
w: &'a mut W,
}
impl<'a> B405_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 `B406`"]
pub type B406_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B406`"]
pub struct B406_W<'a> {
w: &'a mut W,
}
impl<'a> B406_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 `B407`"]
pub type B407_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B407`"]
pub struct B407_W<'a> {
w: &'a mut W,
}
impl<'a> B407_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 `B408`"]
pub type B408_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B408`"]
pub struct B408_W<'a> {
w: &'a mut W,
}
impl<'a> B408_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 `B409`"]
pub type B409_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B409`"]
pub struct B409_W<'a> {
w: &'a mut W,
}
impl<'a> B409_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 `B410`"]
pub type B410_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B410`"]
pub struct B410_W<'a> {
w: &'a mut W,
}
impl<'a> B410_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 `B411`"]
pub type B411_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B411`"]
pub struct B411_W<'a> {
w: &'a mut W,
}
impl<'a> B411_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 `B412`"]
pub type B412_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B412`"]
pub struct B412_W<'a> {
w: &'a mut W,
}
impl<'a> B412_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 `B413`"]
pub type B413_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B413`"]
pub struct B413_W<'a> {
w: &'a mut W,
}
impl<'a> B413_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 `B414`"]
pub type B414_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B414`"]
pub struct B414_W<'a> {
w: &'a mut W,
}
impl<'a> B414_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 `B415`"]
pub type B415_R = crate::R<bool, bool>;
#[doc = "Write proxy for field `B415`"]
pub struct B415_W<'a> {
w: &'a mut W,
}
impl<'a> B415_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 - B384"]
#[inline(always)]
pub fn b384(&self) -> B384_R {
B384_R::new((self.bits & 0x01) != 0)
}
#[doc = "Bit 1 - B385"]
#[inline(always)]
pub fn b385(&self) -> B385_R {
B385_R::new(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - B386"]
#[inline(always)]
pub fn b386(&self) -> B386_R {
B386_R::new(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 3 - B387"]
#[inline(always)]
pub fn b387(&self) -> B387_R {
B387_R::new(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 4 - B388"]
#[inline(always)]
pub fn b388(&self) -> B388_R {
B388_R::new(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 5 - B389"]
#[inline(always)]
pub fn b389(&self) -> B389_R {
B389_R::new(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 6 - B390"]
#[inline(always)]
pub fn b390(&self) -> B390_R {
B390_R::new(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 7 - B391"]
#[inline(always)]
pub fn b391(&self) -> B391_R {
B391_R::new(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 8 - B392"]
#[inline(always)]
pub fn b392(&self) -> B392_R {
B392_R::new(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 9 - B393"]
#[inline(always)]
pub fn b393(&self) -> B393_R {
B393_R::new(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 10 - B394"]
#[inline(always)]
pub fn b394(&self) -> B394_R {
B394_R::new(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 11 - B395"]
#[inline(always)]
pub fn b395(&self) -> B395_R {
B395_R::new(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 12 - B396"]
#[inline(always)]
pub fn b396(&self) -> B396_R {
B396_R::new(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 13 - B397"]
#[inline(always)]
pub fn b397(&self) -> B397_R {
B397_R::new(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 14 - B398"]
#[inline(always)]
pub fn b398(&self) -> B398_R {
B398_R::new(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 15 - B399"]
#[inline(always)]
pub fn b399(&self) -> B399_R {
B399_R::new(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 16 - B400"]
#[inline(always)]
pub fn b400(&self) -> B400_R {
B400_R::new(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 17 - B401"]
#[inline(always)]
pub fn b401(&self) -> B401_R {
B401_R::new(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 18 - B402"]
#[inline(always)]
pub fn b402(&self) -> B402_R {
B402_R::new(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 19 - B403"]
#[inline(always)]
pub fn b403(&self) -> B403_R {
B403_R::new(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 20 - B404"]
#[inline(always)]
pub fn b404(&self) -> B404_R {
B404_R::new(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 21 - B405"]
#[inline(always)]
pub fn b405(&self) -> B405_R {
B405_R::new(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 22 - B406"]
#[inline(always)]
pub fn b406(&self) -> B406_R {
B406_R::new(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 23 - B407"]
#[inline(always)]
pub fn b407(&self) -> B407_R {
B407_R::new(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 24 - B408"]
#[inline(always)]
pub fn b408(&self) -> B408_R {
B408_R::new(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 25 - B409"]
#[inline(always)]
pub fn b409(&self) -> B409_R {
B409_R::new(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 26 - B410"]
#[inline(always)]
pub fn b410(&self) -> B410_R {
B410_R::new(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 27 - B411"]
#[inline(always)]
pub fn b411(&self) -> B411_R {
B411_R::new(((self.bits >> 27) & 0x01) != 0)
}
#[doc = "Bit 28 - B412"]
#[inline(always)]
pub fn b412(&self) -> B412_R {
B412_R::new(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 29 - B413"]
#[inline(always)]
pub fn b413(&self) -> B413_R {
B413_R::new(((self.bits >> 29) & 0x01) != 0)
}
#[doc = "Bit 30 - B414"]
#[inline(always)]
pub fn b414(&self) -> B414_R {
B414_R::new(((self.bits >> 30) & 0x01) != 0)
}
#[doc = "Bit 31 - B415"]
#[inline(always)]
pub fn b415(&self) -> B415_R {
B415_R::new(((self.bits >> 31) & 0x01) != 0)
}
}
impl W {
#[doc = "Bit 0 - B384"]
#[inline(always)]
pub fn b384(&mut self) -> B384_W {
B384_W { w: self }
}
#[doc = "Bit 1 - B385"]
#[inline(always)]
pub fn b385(&mut self) -> B385_W {
B385_W { w: self }
}
#[doc = "Bit 2 - B386"]
#[inline(always)]
pub fn b386(&mut self) -> B386_W {
B386_W { w: self }
}
#[doc = "Bit 3 - B387"]
#[inline(always)]
pub fn b387(&mut self) -> B387_W {
B387_W { w: self }
}
#[doc = "Bit 4 - B388"]
#[inline(always)]
pub fn b388(&mut self) -> B388_W {
B388_W { w: self }
}
#[doc = "Bit 5 - B389"]
#[inline(always)]
pub fn b389(&mut self) -> B389_W {
B389_W { w: self }
}
#[doc = "Bit 6 - B390"]
#[inline(always)]
pub fn b390(&mut self) -> B390_W {
B390_W { w: self }
}
#[doc = "Bit 7 - B391"]
#[inline(always)]
pub fn b391(&mut self) -> B391_W {
B391_W { w: self }
}
#[doc = "Bit 8 - B392"]
#[inline(always)]
pub fn b392(&mut self) -> B392_W {
B392_W { w: self }
}
#[doc = "Bit 9 - B393"]
#[inline(always)]
pub fn b393(&mut self) -> B393_W {
B393_W { w: self }
}
#[doc = "Bit 10 - B394"]
#[inline(always)]
pub fn b394(&mut self) -> B394_W {
B394_W { w: self }
}
#[doc = "Bit 11 - B395"]
#[inline(always)]
pub fn b395(&mut self) -> B395_W {
B395_W { w: self }
}
#[doc = "Bit 12 - B396"]
#[inline(always)]
pub fn b396(&mut self) -> B396_W {
B396_W { w: self }
}
#[doc = "Bit 13 - B397"]
#[inline(always)]
pub fn b397(&mut self) -> B397_W {
B397_W { w: self }
}
#[doc = "Bit 14 - B398"]
#[inline(always)]
pub fn b398(&mut self) -> B398_W {
B398_W { w: self }
}
#[doc = "Bit 15 - B399"]
#[inline(always)]
pub fn b399(&mut self) -> B399_W {
B399_W { w: self }
}
#[doc = "Bit 16 - B400"]
#[inline(always)]
pub fn b400(&mut self) -> B400_W {
B400_W { w: self }
}
#[doc = "Bit 17 - B401"]
#[inline(always)]
pub fn b401(&mut self) -> B401_W {
B401_W { w: self }
}
#[doc = "Bit 18 - B402"]
#[inline(always)]
pub fn b402(&mut self) -> B402_W {
B402_W { w: self }
}
#[doc = "Bit 19 - B403"]
#[inline(always)]
pub fn b403(&mut self) -> B403_W {
B403_W { w: self }
}
#[doc = "Bit 20 - B404"]
#[inline(always)]
pub fn b404(&mut self) -> B404_W {
B404_W { w: self }
}
#[doc = "Bit 21 - B405"]
#[inline(always)]
pub fn b405(&mut self) -> B405_W {
B405_W { w: self }
}
#[doc = "Bit 22 - B406"]
#[inline(always)]
pub fn b406(&mut self) -> B406_W {
B406_W { w: self }
}
#[doc = "Bit 23 - B407"]
#[inline(always)]
pub fn b407(&mut self) -> B407_W {
B407_W { w: self }
}
#[doc = "Bit 24 - B408"]
#[inline(always)]
pub fn b408(&mut self) -> B408_W {
B408_W { w: self }
}
#[doc = "Bit 25 - B409"]
#[inline(always)]
pub fn b409(&mut self) -> B409_W {
B409_W { w: self }
}
#[doc = "Bit 26 - B410"]
#[inline(always)]
pub fn b410(&mut self) -> B410_W {
B410_W { w: self }
}
#[doc = "Bit 27 - B411"]
#[inline(always)]
pub fn b411(&mut self) -> B411_W {
B411_W { w: self }
}
#[doc = "Bit 28 - B412"]
#[inline(always)]
pub fn b412(&mut self) -> B412_W {
B412_W { w: self }
}
#[doc = "Bit 29 - B413"]
#[inline(always)]
pub fn b413(&mut self) -> B413_W {
B413_W { w: self }
}
#[doc = "Bit 30 - B414"]
#[inline(always)]
pub fn b414(&mut self) -> B414_W {
B414_W { w: self }
}
#[doc = "Bit 31 - B415"]
#[inline(always)]
pub fn b415(&mut self) -> B415_W {
B415_W { w: self }
}
}