#[doc = r"Value read from the register"]
pub struct R {
bits: u32,
}
#[doc = r"Value to write to the register"]
pub struct W {
bits: u32,
}
impl super::EMR {
#[doc = r"Modifies the contents of the register"]
#[inline(always)]
pub fn modify<F>(&self, f: F)
where
for<'w> F: FnOnce(&R, &'w mut W) -> &'w mut W,
{
let bits = self.register.get();
self.register.set(f(&R { bits }, &mut W { bits }).bits);
}
#[doc = r"Reads the contents of the register"]
#[inline(always)]
pub fn read(&self) -> R {
R {
bits: self.register.get(),
}
}
#[doc = r"Writes to the register"]
#[inline(always)]
pub fn write<F>(&self, f: F)
where
F: FnOnce(&mut W) -> &mut W,
{
self.register.set(
f(&mut W {
bits: Self::reset_value(),
})
.bits,
);
}
#[doc = r"Reset value of the register"]
#[inline(always)]
pub const fn reset_value() -> u32 {
0
}
#[doc = r"Writes the reset value to the register"]
#[inline(always)]
pub fn reset(&self) {
self.register.set(Self::reset_value())
}
}
#[doc = "Possible values of the field `EM0`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum EM0R {
#[doc = "Interrupt request line is masked"]
MASKED,
#[doc = "Interrupt request line is unmasked"]
UNMASKED,
}
impl EM0R {
#[doc = r"Returns `true` if the bit is clear (0)"]
#[inline(always)]
pub fn bit_is_clear(&self) -> bool {
!self.bit()
}
#[doc = r"Returns `true` if the bit is set (1)"]
#[inline(always)]
pub fn bit_is_set(&self) -> bool {
self.bit()
}
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
match *self {
EM0R::MASKED => false,
EM0R::UNMASKED => true,
}
}
#[allow(missing_docs)]
#[doc(hidden)]
#[inline(always)]
pub fn _from(value: bool) -> EM0R {
match value {
false => EM0R::MASKED,
true => EM0R::UNMASKED,
}
}
#[doc = "Checks if the value of the field is `MASKED`"]
#[inline(always)]
pub fn is_masked(&self) -> bool {
*self == EM0R::MASKED
}
#[doc = "Checks if the value of the field is `UNMASKED`"]
#[inline(always)]
pub fn is_unmasked(&self) -> bool {
*self == EM0R::UNMASKED
}
}
#[doc = "Values that can be written to the field `EM0`"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum EM0W {
#[doc = "Interrupt request line is masked"]
MASKED,
#[doc = "Interrupt request line is unmasked"]
UNMASKED,
}
impl EM0W {
#[allow(missing_docs)]
#[doc(hidden)]
#[inline(always)]
pub fn _bits(&self) -> bool {
match *self {
EM0W::MASKED => false,
EM0W::UNMASKED => true,
}
}
}
#[doc = r"Proxy"]
pub struct _EM0W<'a> {
w: &'a mut W,
}
impl<'a> _EM0W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM0W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 0);
self.w.bits |= ((value as u32) & 0x01) << 0;
self.w
}
}
#[doc = "Possible values of the field `EM1`"]
pub type EM1R = EM0R;
#[doc = "Values that can be written to the field `EM1`"]
pub type EM1W = EM0W;
#[doc = r"Proxy"]
pub struct _EM1W<'a> {
w: &'a mut W,
}
impl<'a> _EM1W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM1W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 1);
self.w.bits |= ((value as u32) & 0x01) << 1;
self.w
}
}
#[doc = "Possible values of the field `EM2`"]
pub type EM2R = EM0R;
#[doc = "Values that can be written to the field `EM2`"]
pub type EM2W = EM0W;
#[doc = r"Proxy"]
pub struct _EM2W<'a> {
w: &'a mut W,
}
impl<'a> _EM2W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM2W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 2);
self.w.bits |= ((value as u32) & 0x01) << 2;
self.w
}
}
#[doc = "Possible values of the field `EM3`"]
pub type EM3R = EM0R;
#[doc = "Values that can be written to the field `EM3`"]
pub type EM3W = EM0W;
#[doc = r"Proxy"]
pub struct _EM3W<'a> {
w: &'a mut W,
}
impl<'a> _EM3W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM3W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 3);
self.w.bits |= ((value as u32) & 0x01) << 3;
self.w
}
}
#[doc = "Possible values of the field `EM4`"]
pub type EM4R = EM0R;
#[doc = "Values that can be written to the field `EM4`"]
pub type EM4W = EM0W;
#[doc = r"Proxy"]
pub struct _EM4W<'a> {
w: &'a mut W,
}
impl<'a> _EM4W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM4W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 4);
self.w.bits |= ((value as u32) & 0x01) << 4;
self.w
}
}
#[doc = "Possible values of the field `EM5`"]
pub type EM5R = EM0R;
#[doc = "Values that can be written to the field `EM5`"]
pub type EM5W = EM0W;
#[doc = r"Proxy"]
pub struct _EM5W<'a> {
w: &'a mut W,
}
impl<'a> _EM5W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM5W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 5);
self.w.bits |= ((value as u32) & 0x01) << 5;
self.w
}
}
#[doc = "Possible values of the field `EM6`"]
pub type EM6R = EM0R;
#[doc = "Values that can be written to the field `EM6`"]
pub type EM6W = EM0W;
#[doc = r"Proxy"]
pub struct _EM6W<'a> {
w: &'a mut W,
}
impl<'a> _EM6W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM6W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 6);
self.w.bits |= ((value as u32) & 0x01) << 6;
self.w
}
}
#[doc = "Possible values of the field `EM7`"]
pub type EM7R = EM0R;
#[doc = "Values that can be written to the field `EM7`"]
pub type EM7W = EM0W;
#[doc = r"Proxy"]
pub struct _EM7W<'a> {
w: &'a mut W,
}
impl<'a> _EM7W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM7W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 7);
self.w.bits |= ((value as u32) & 0x01) << 7;
self.w
}
}
#[doc = "Possible values of the field `EM8`"]
pub type EM8R = EM0R;
#[doc = "Values that can be written to the field `EM8`"]
pub type EM8W = EM0W;
#[doc = r"Proxy"]
pub struct _EM8W<'a> {
w: &'a mut W,
}
impl<'a> _EM8W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM8W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 8);
self.w.bits |= ((value as u32) & 0x01) << 8;
self.w
}
}
#[doc = "Possible values of the field `EM9`"]
pub type EM9R = EM0R;
#[doc = "Values that can be written to the field `EM9`"]
pub type EM9W = EM0W;
#[doc = r"Proxy"]
pub struct _EM9W<'a> {
w: &'a mut W,
}
impl<'a> _EM9W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM9W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 9);
self.w.bits |= ((value as u32) & 0x01) << 9;
self.w
}
}
#[doc = "Possible values of the field `EM10`"]
pub type EM10R = EM0R;
#[doc = "Values that can be written to the field `EM10`"]
pub type EM10W = EM0W;
#[doc = r"Proxy"]
pub struct _EM10W<'a> {
w: &'a mut W,
}
impl<'a> _EM10W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM10W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 10);
self.w.bits |= ((value as u32) & 0x01) << 10;
self.w
}
}
#[doc = "Possible values of the field `EM11`"]
pub type EM11R = EM0R;
#[doc = "Values that can be written to the field `EM11`"]
pub type EM11W = EM0W;
#[doc = r"Proxy"]
pub struct _EM11W<'a> {
w: &'a mut W,
}
impl<'a> _EM11W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM11W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 11);
self.w.bits |= ((value as u32) & 0x01) << 11;
self.w
}
}
#[doc = "Possible values of the field `EM12`"]
pub type EM12R = EM0R;
#[doc = "Values that can be written to the field `EM12`"]
pub type EM12W = EM0W;
#[doc = r"Proxy"]
pub struct _EM12W<'a> {
w: &'a mut W,
}
impl<'a> _EM12W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM12W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 12);
self.w.bits |= ((value as u32) & 0x01) << 12;
self.w
}
}
#[doc = "Possible values of the field `EM13`"]
pub type EM13R = EM0R;
#[doc = "Values that can be written to the field `EM13`"]
pub type EM13W = EM0W;
#[doc = r"Proxy"]
pub struct _EM13W<'a> {
w: &'a mut W,
}
impl<'a> _EM13W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM13W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 13);
self.w.bits |= ((value as u32) & 0x01) << 13;
self.w
}
}
#[doc = "Possible values of the field `EM14`"]
pub type EM14R = EM0R;
#[doc = "Values that can be written to the field `EM14`"]
pub type EM14W = EM0W;
#[doc = r"Proxy"]
pub struct _EM14W<'a> {
w: &'a mut W,
}
impl<'a> _EM14W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM14W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 14);
self.w.bits |= ((value as u32) & 0x01) << 14;
self.w
}
}
#[doc = "Possible values of the field `EM15`"]
pub type EM15R = EM0R;
#[doc = "Values that can be written to the field `EM15`"]
pub type EM15W = EM0W;
#[doc = r"Proxy"]
pub struct _EM15W<'a> {
w: &'a mut W,
}
impl<'a> _EM15W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM15W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 15);
self.w.bits |= ((value as u32) & 0x01) << 15;
self.w
}
}
#[doc = "Possible values of the field `EM16`"]
pub type EM16R = EM0R;
#[doc = "Values that can be written to the field `EM16`"]
pub type EM16W = EM0W;
#[doc = r"Proxy"]
pub struct _EM16W<'a> {
w: &'a mut W,
}
impl<'a> _EM16W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM16W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 16);
self.w.bits |= ((value as u32) & 0x01) << 16;
self.w
}
}
#[doc = "Possible values of the field `EM17`"]
pub type EM17R = EM0R;
#[doc = "Values that can be written to the field `EM17`"]
pub type EM17W = EM0W;
#[doc = r"Proxy"]
pub struct _EM17W<'a> {
w: &'a mut W,
}
impl<'a> _EM17W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM17W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 17);
self.w.bits |= ((value as u32) & 0x01) << 17;
self.w
}
}
#[doc = "Possible values of the field `EM18`"]
pub type EM18R = EM0R;
#[doc = "Values that can be written to the field `EM18`"]
pub type EM18W = EM0W;
#[doc = r"Proxy"]
pub struct _EM18W<'a> {
w: &'a mut W,
}
impl<'a> _EM18W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM18W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 18);
self.w.bits |= ((value as u32) & 0x01) << 18;
self.w
}
}
#[doc = "Possible values of the field `EM19`"]
pub type EM19R = EM0R;
#[doc = "Values that can be written to the field `EM19`"]
pub type EM19W = EM0W;
#[doc = r"Proxy"]
pub struct _EM19W<'a> {
w: &'a mut W,
}
impl<'a> _EM19W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM19W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 19);
self.w.bits |= ((value as u32) & 0x01) << 19;
self.w
}
}
#[doc = "Possible values of the field `EM20`"]
pub type EM20R = EM0R;
#[doc = "Values that can be written to the field `EM20`"]
pub type EM20W = EM0W;
#[doc = r"Proxy"]
pub struct _EM20W<'a> {
w: &'a mut W,
}
impl<'a> _EM20W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM20W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 20);
self.w.bits |= ((value as u32) & 0x01) << 20;
self.w
}
}
#[doc = "Possible values of the field `EM21`"]
pub type EM21R = EM0R;
#[doc = "Values that can be written to the field `EM21`"]
pub type EM21W = EM0W;
#[doc = r"Proxy"]
pub struct _EM21W<'a> {
w: &'a mut W,
}
impl<'a> _EM21W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM21W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 21);
self.w.bits |= ((value as u32) & 0x01) << 21;
self.w
}
}
#[doc = "Possible values of the field `EM22`"]
pub type EM22R = EM0R;
#[doc = "Values that can be written to the field `EM22`"]
pub type EM22W = EM0W;
#[doc = r"Proxy"]
pub struct _EM22W<'a> {
w: &'a mut W,
}
impl<'a> _EM22W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM22W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 22);
self.w.bits |= ((value as u32) & 0x01) << 22;
self.w
}
}
#[doc = "Possible values of the field `EM23`"]
pub type EM23R = EM0R;
#[doc = "Values that can be written to the field `EM23`"]
pub type EM23W = EM0W;
#[doc = r"Proxy"]
pub struct _EM23W<'a> {
w: &'a mut W,
}
impl<'a> _EM23W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM23W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 23);
self.w.bits |= ((value as u32) & 0x01) << 23;
self.w
}
}
#[doc = "Possible values of the field `EM24`"]
pub type EM24R = EM0R;
#[doc = "Values that can be written to the field `EM24`"]
pub type EM24W = EM0W;
#[doc = r"Proxy"]
pub struct _EM24W<'a> {
w: &'a mut W,
}
impl<'a> _EM24W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM24W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 24);
self.w.bits |= ((value as u32) & 0x01) << 24;
self.w
}
}
#[doc = "Possible values of the field `EM25`"]
pub type EM25R = EM0R;
#[doc = "Values that can be written to the field `EM25`"]
pub type EM25W = EM0W;
#[doc = r"Proxy"]
pub struct _EM25W<'a> {
w: &'a mut W,
}
impl<'a> _EM25W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM25W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 25);
self.w.bits |= ((value as u32) & 0x01) << 25;
self.w
}
}
#[doc = "Possible values of the field `EM26`"]
pub type EM26R = EM0R;
#[doc = "Values that can be written to the field `EM26`"]
pub type EM26W = EM0W;
#[doc = r"Proxy"]
pub struct _EM26W<'a> {
w: &'a mut W,
}
impl<'a> _EM26W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM26W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 26);
self.w.bits |= ((value as u32) & 0x01) << 26;
self.w
}
}
#[doc = "Possible values of the field `EM28`"]
pub type EM28R = EM0R;
#[doc = "Values that can be written to the field `EM28`"]
pub type EM28W = EM0W;
#[doc = r"Proxy"]
pub struct _EM28W<'a> {
w: &'a mut W,
}
impl<'a> _EM28W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM28W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 28);
self.w.bits |= ((value as u32) & 0x01) << 28;
self.w
}
}
#[doc = "Possible values of the field `EM29`"]
pub type EM29R = EM0R;
#[doc = "Values that can be written to the field `EM29`"]
pub type EM29W = EM0W;
#[doc = r"Proxy"]
pub struct _EM29W<'a> {
w: &'a mut W,
}
impl<'a> _EM29W<'a> {
#[doc = r"Writes `variant` to the field"]
#[inline(always)]
pub fn variant(self, variant: EM29W) -> &'a mut W {
{
self.bit(variant._bits())
}
}
#[doc = "Interrupt request line is masked"]
#[inline(always)]
pub fn masked(self) -> &'a mut W {
self.variant(EM0W::MASKED)
}
#[doc = "Interrupt request line is unmasked"]
#[inline(always)]
pub fn unmasked(self) -> &'a mut W {
self.variant(EM0W::UNMASKED)
}
#[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 &= !(0x01 << 29);
self.w.bits |= ((value as u32) & 0x01) << 29;
self.w
}
}
impl R {
#[doc = r"Value of the register as raw bits"]
#[inline(always)]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bit 0 - Event Mask on line 0"]
#[inline(always)]
pub fn em0(&self) -> EM0R {
EM0R::_from(((self.bits >> 0) & 0x01) != 0)
}
#[doc = "Bit 1 - Event Mask on line 1"]
#[inline(always)]
pub fn em1(&self) -> EM1R {
EM1R::_from(((self.bits >> 1) & 0x01) != 0)
}
#[doc = "Bit 2 - Event Mask on line 2"]
#[inline(always)]
pub fn em2(&self) -> EM2R {
EM2R::_from(((self.bits >> 2) & 0x01) != 0)
}
#[doc = "Bit 3 - Event Mask on line 3"]
#[inline(always)]
pub fn em3(&self) -> EM3R {
EM3R::_from(((self.bits >> 3) & 0x01) != 0)
}
#[doc = "Bit 4 - Event Mask on line 4"]
#[inline(always)]
pub fn em4(&self) -> EM4R {
EM4R::_from(((self.bits >> 4) & 0x01) != 0)
}
#[doc = "Bit 5 - Event Mask on line 5"]
#[inline(always)]
pub fn em5(&self) -> EM5R {
EM5R::_from(((self.bits >> 5) & 0x01) != 0)
}
#[doc = "Bit 6 - Event Mask on line 6"]
#[inline(always)]
pub fn em6(&self) -> EM6R {
EM6R::_from(((self.bits >> 6) & 0x01) != 0)
}
#[doc = "Bit 7 - Event Mask on line 7"]
#[inline(always)]
pub fn em7(&self) -> EM7R {
EM7R::_from(((self.bits >> 7) & 0x01) != 0)
}
#[doc = "Bit 8 - Event Mask on line 8"]
#[inline(always)]
pub fn em8(&self) -> EM8R {
EM8R::_from(((self.bits >> 8) & 0x01) != 0)
}
#[doc = "Bit 9 - Event Mask on line 9"]
#[inline(always)]
pub fn em9(&self) -> EM9R {
EM9R::_from(((self.bits >> 9) & 0x01) != 0)
}
#[doc = "Bit 10 - Event Mask on line 10"]
#[inline(always)]
pub fn em10(&self) -> EM10R {
EM10R::_from(((self.bits >> 10) & 0x01) != 0)
}
#[doc = "Bit 11 - Event Mask on line 11"]
#[inline(always)]
pub fn em11(&self) -> EM11R {
EM11R::_from(((self.bits >> 11) & 0x01) != 0)
}
#[doc = "Bit 12 - Event Mask on line 12"]
#[inline(always)]
pub fn em12(&self) -> EM12R {
EM12R::_from(((self.bits >> 12) & 0x01) != 0)
}
#[doc = "Bit 13 - Event Mask on line 13"]
#[inline(always)]
pub fn em13(&self) -> EM13R {
EM13R::_from(((self.bits >> 13) & 0x01) != 0)
}
#[doc = "Bit 14 - Event Mask on line 14"]
#[inline(always)]
pub fn em14(&self) -> EM14R {
EM14R::_from(((self.bits >> 14) & 0x01) != 0)
}
#[doc = "Bit 15 - Event Mask on line 15"]
#[inline(always)]
pub fn em15(&self) -> EM15R {
EM15R::_from(((self.bits >> 15) & 0x01) != 0)
}
#[doc = "Bit 16 - Event Mask on line 16"]
#[inline(always)]
pub fn em16(&self) -> EM16R {
EM16R::_from(((self.bits >> 16) & 0x01) != 0)
}
#[doc = "Bit 17 - Event Mask on line 17"]
#[inline(always)]
pub fn em17(&self) -> EM17R {
EM17R::_from(((self.bits >> 17) & 0x01) != 0)
}
#[doc = "Bit 18 - Event Mask on line 18"]
#[inline(always)]
pub fn em18(&self) -> EM18R {
EM18R::_from(((self.bits >> 18) & 0x01) != 0)
}
#[doc = "Bit 19 - Event Mask on line 19"]
#[inline(always)]
pub fn em19(&self) -> EM19R {
EM19R::_from(((self.bits >> 19) & 0x01) != 0)
}
#[doc = "Bit 20 - Event Mask on line 20"]
#[inline(always)]
pub fn em20(&self) -> EM20R {
EM20R::_from(((self.bits >> 20) & 0x01) != 0)
}
#[doc = "Bit 21 - Event Mask on line 21"]
#[inline(always)]
pub fn em21(&self) -> EM21R {
EM21R::_from(((self.bits >> 21) & 0x01) != 0)
}
#[doc = "Bit 22 - Event Mask on line 22"]
#[inline(always)]
pub fn em22(&self) -> EM22R {
EM22R::_from(((self.bits >> 22) & 0x01) != 0)
}
#[doc = "Bit 23 - Event Mask on line 23"]
#[inline(always)]
pub fn em23(&self) -> EM23R {
EM23R::_from(((self.bits >> 23) & 0x01) != 0)
}
#[doc = "Bit 24 - Event Mask on line 24"]
#[inline(always)]
pub fn em24(&self) -> EM24R {
EM24R::_from(((self.bits >> 24) & 0x01) != 0)
}
#[doc = "Bit 25 - Event Mask on line 25"]
#[inline(always)]
pub fn em25(&self) -> EM25R {
EM25R::_from(((self.bits >> 25) & 0x01) != 0)
}
#[doc = "Bit 26 - Event Mask on line 26"]
#[inline(always)]
pub fn em26(&self) -> EM26R {
EM26R::_from(((self.bits >> 26) & 0x01) != 0)
}
#[doc = "Bit 28 - Event Mask on line 28"]
#[inline(always)]
pub fn em28(&self) -> EM28R {
EM28R::_from(((self.bits >> 28) & 0x01) != 0)
}
#[doc = "Bit 29 - Event Mask on line 29"]
#[inline(always)]
pub fn em29(&self) -> EM29R {
EM29R::_from(((self.bits >> 29) & 0x01) != 0)
}
}
impl W {
#[doc = r"Writes raw bits to the register"]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.bits = bits;
self
}
#[doc = "Bit 0 - Event Mask on line 0"]
#[inline(always)]
pub fn em0(&mut self) -> _EM0W {
_EM0W { w: self }
}
#[doc = "Bit 1 - Event Mask on line 1"]
#[inline(always)]
pub fn em1(&mut self) -> _EM1W {
_EM1W { w: self }
}
#[doc = "Bit 2 - Event Mask on line 2"]
#[inline(always)]
pub fn em2(&mut self) -> _EM2W {
_EM2W { w: self }
}
#[doc = "Bit 3 - Event Mask on line 3"]
#[inline(always)]
pub fn em3(&mut self) -> _EM3W {
_EM3W { w: self }
}
#[doc = "Bit 4 - Event Mask on line 4"]
#[inline(always)]
pub fn em4(&mut self) -> _EM4W {
_EM4W { w: self }
}
#[doc = "Bit 5 - Event Mask on line 5"]
#[inline(always)]
pub fn em5(&mut self) -> _EM5W {
_EM5W { w: self }
}
#[doc = "Bit 6 - Event Mask on line 6"]
#[inline(always)]
pub fn em6(&mut self) -> _EM6W {
_EM6W { w: self }
}
#[doc = "Bit 7 - Event Mask on line 7"]
#[inline(always)]
pub fn em7(&mut self) -> _EM7W {
_EM7W { w: self }
}
#[doc = "Bit 8 - Event Mask on line 8"]
#[inline(always)]
pub fn em8(&mut self) -> _EM8W {
_EM8W { w: self }
}
#[doc = "Bit 9 - Event Mask on line 9"]
#[inline(always)]
pub fn em9(&mut self) -> _EM9W {
_EM9W { w: self }
}
#[doc = "Bit 10 - Event Mask on line 10"]
#[inline(always)]
pub fn em10(&mut self) -> _EM10W {
_EM10W { w: self }
}
#[doc = "Bit 11 - Event Mask on line 11"]
#[inline(always)]
pub fn em11(&mut self) -> _EM11W {
_EM11W { w: self }
}
#[doc = "Bit 12 - Event Mask on line 12"]
#[inline(always)]
pub fn em12(&mut self) -> _EM12W {
_EM12W { w: self }
}
#[doc = "Bit 13 - Event Mask on line 13"]
#[inline(always)]
pub fn em13(&mut self) -> _EM13W {
_EM13W { w: self }
}
#[doc = "Bit 14 - Event Mask on line 14"]
#[inline(always)]
pub fn em14(&mut self) -> _EM14W {
_EM14W { w: self }
}
#[doc = "Bit 15 - Event Mask on line 15"]
#[inline(always)]
pub fn em15(&mut self) -> _EM15W {
_EM15W { w: self }
}
#[doc = "Bit 16 - Event Mask on line 16"]
#[inline(always)]
pub fn em16(&mut self) -> _EM16W {
_EM16W { w: self }
}
#[doc = "Bit 17 - Event Mask on line 17"]
#[inline(always)]
pub fn em17(&mut self) -> _EM17W {
_EM17W { w: self }
}
#[doc = "Bit 18 - Event Mask on line 18"]
#[inline(always)]
pub fn em18(&mut self) -> _EM18W {
_EM18W { w: self }
}
#[doc = "Bit 19 - Event Mask on line 19"]
#[inline(always)]
pub fn em19(&mut self) -> _EM19W {
_EM19W { w: self }
}
#[doc = "Bit 20 - Event Mask on line 20"]
#[inline(always)]
pub fn em20(&mut self) -> _EM20W {
_EM20W { w: self }
}
#[doc = "Bit 21 - Event Mask on line 21"]
#[inline(always)]
pub fn em21(&mut self) -> _EM21W {
_EM21W { w: self }
}
#[doc = "Bit 22 - Event Mask on line 22"]
#[inline(always)]
pub fn em22(&mut self) -> _EM22W {
_EM22W { w: self }
}
#[doc = "Bit 23 - Event Mask on line 23"]
#[inline(always)]
pub fn em23(&mut self) -> _EM23W {
_EM23W { w: self }
}
#[doc = "Bit 24 - Event Mask on line 24"]
#[inline(always)]
pub fn em24(&mut self) -> _EM24W {
_EM24W { w: self }
}
#[doc = "Bit 25 - Event Mask on line 25"]
#[inline(always)]
pub fn em25(&mut self) -> _EM25W {
_EM25W { w: self }
}
#[doc = "Bit 26 - Event Mask on line 26"]
#[inline(always)]
pub fn em26(&mut self) -> _EM26W {
_EM26W { w: self }
}
#[doc = "Bit 28 - Event Mask on line 28"]
#[inline(always)]
pub fn em28(&mut self) -> _EM28W {
_EM28W { w: self }
}
#[doc = "Bit 29 - Event Mask on line 29"]
#[inline(always)]
pub fn em29(&mut self) -> _EM29W {
_EM29W { w: self }
}
}