#[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::ADC3R {
#[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 = r"Value of the field"]
pub struct AD1TEPERR {
bits: bool,
}
impl AD1TEPERR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TEPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD1TEPERW<'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 &= !(0x01 << 31);
self.w.bits |= ((value as u32) & 0x01) << 31;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TEC4R {
bits: bool,
}
impl AD1TEC4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TEC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TEC4W<'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 &= !(0x01 << 30);
self.w.bits |= ((value as u32) & 0x01) << 30;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TEC3R {
bits: bool,
}
impl AD1TEC3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TEC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TEC3W<'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 &= !(0x01 << 29);
self.w.bits |= ((value as u32) & 0x01) << 29;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TEC2R {
bits: bool,
}
impl AD1TEC2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TEC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TEC2W<'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 &= !(0x01 << 28);
self.w.bits |= ((value as u32) & 0x01) << 28;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TDPERR {
bits: bool,
}
impl AD1TDPERR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TDPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD1TDPERW<'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 &= !(0x01 << 27);
self.w.bits |= ((value as u32) & 0x01) << 27;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TDC4R {
bits: bool,
}
impl AD1TDC4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TDC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TDC4W<'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 &= !(0x01 << 26);
self.w.bits |= ((value as u32) & 0x01) << 26;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TDC3R {
bits: bool,
}
impl AD1TDC3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TDC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TDC3W<'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 &= !(0x01 << 25);
self.w.bits |= ((value as u32) & 0x01) << 25;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TDC2R {
bits: bool,
}
impl AD1TDC2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TDC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TDC2W<'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 &= !(0x01 << 24);
self.w.bits |= ((value as u32) & 0x01) << 24;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TCPERR {
bits: bool,
}
impl AD1TCPERR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TCPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD1TCPERW<'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 &= !(0x01 << 23);
self.w.bits |= ((value as u32) & 0x01) << 23;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TCC4R {
bits: bool,
}
impl AD1TCC4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TCC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TCC4W<'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 &= !(0x01 << 22);
self.w.bits |= ((value as u32) & 0x01) << 22;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TCC3R {
bits: bool,
}
impl AD1TCC3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TCC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TCC3W<'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 &= !(0x01 << 21);
self.w.bits |= ((value as u32) & 0x01) << 21;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TCC2R {
bits: bool,
}
impl AD1TCC2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TCC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TCC2W<'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 &= !(0x01 << 20);
self.w.bits |= ((value as u32) & 0x01) << 20;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TBRSTR {
bits: bool,
}
impl AD1TBRSTR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TBRSTW<'a> {
w: &'a mut W,
}
impl<'a> _AD1TBRSTW<'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 &= !(0x01 << 19);
self.w.bits |= ((value as u32) & 0x01) << 19;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TBPERR {
bits: bool,
}
impl AD1TBPERR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TBPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD1TBPERW<'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 &= !(0x01 << 18);
self.w.bits |= ((value as u32) & 0x01) << 18;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TBC4R {
bits: bool,
}
impl AD1TBC4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TBC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TBC4W<'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 &= !(0x01 << 17);
self.w.bits |= ((value as u32) & 0x01) << 17;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TBC3R {
bits: bool,
}
impl AD1TBC3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TBC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TBC3W<'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 &= !(0x01 << 16);
self.w.bits |= ((value as u32) & 0x01) << 16;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TBC2R {
bits: bool,
}
impl AD1TBC2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TBC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TBC2W<'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 &= !(0x01 << 15);
self.w.bits |= ((value as u32) & 0x01) << 15;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TARSTR {
bits: bool,
}
impl AD1TARSTR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TARSTW<'a> {
w: &'a mut W,
}
impl<'a> _AD1TARSTW<'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 &= !(0x01 << 14);
self.w.bits |= ((value as u32) & 0x01) << 14;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TAPERR {
bits: bool,
}
impl AD1TAPERR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TAPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD1TAPERW<'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 &= !(0x01 << 13);
self.w.bits |= ((value as u32) & 0x01) << 13;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TAC4R {
bits: bool,
}
impl AD1TAC4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TAC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TAC4W<'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 &= !(0x01 << 12);
self.w.bits |= ((value as u32) & 0x01) << 12;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TAC3R {
bits: bool,
}
impl AD1TAC3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TAC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TAC3W<'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 &= !(0x01 << 11);
self.w.bits |= ((value as u32) & 0x01) << 11;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1TAC2R {
bits: bool,
}
impl AD1TAC2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1TAC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD1TAC2W<'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 &= !(0x01 << 10);
self.w.bits |= ((value as u32) & 0x01) << 10;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1EEV5R {
bits: bool,
}
impl AD1EEV5R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1EEV5W<'a> {
w: &'a mut W,
}
impl<'a> _AD1EEV5W<'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 &= !(0x01 << 9);
self.w.bits |= ((value as u32) & 0x01) << 9;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1EEV4R {
bits: bool,
}
impl AD1EEV4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1EEV4W<'a> {
w: &'a mut W,
}
impl<'a> _AD1EEV4W<'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 &= !(0x01 << 8);
self.w.bits |= ((value as u32) & 0x01) << 8;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1EEV3R {
bits: bool,
}
impl AD1EEV3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1EEV3W<'a> {
w: &'a mut W,
}
impl<'a> _AD1EEV3W<'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 &= !(0x01 << 7);
self.w.bits |= ((value as u32) & 0x01) << 7;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1EEV2R {
bits: bool,
}
impl AD1EEV2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1EEV2W<'a> {
w: &'a mut W,
}
impl<'a> _AD1EEV2W<'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 &= !(0x01 << 6);
self.w.bits |= ((value as u32) & 0x01) << 6;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1EEV1R {
bits: bool,
}
impl AD1EEV1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1EEV1W<'a> {
w: &'a mut W,
}
impl<'a> _AD1EEV1W<'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 &= !(0x01 << 5);
self.w.bits |= ((value as u32) & 0x01) << 5;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1MPERR {
bits: bool,
}
impl AD1MPERR {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1MPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD1MPERW<'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 &= !(0x01 << 4);
self.w.bits |= ((value as u32) & 0x01) << 4;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1MC4R {
bits: bool,
}
impl AD1MC4R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1MC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD1MC4W<'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 &= !(0x01 << 3);
self.w.bits |= ((value as u32) & 0x01) << 3;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1MC3R {
bits: bool,
}
impl AD1MC3R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1MC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD1MC3W<'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 &= !(0x01 << 2);
self.w.bits |= ((value as u32) & 0x01) << 2;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1MC2R {
bits: bool,
}
impl AD1MC2R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1MC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD1MC2W<'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 &= !(0x01 << 1);
self.w.bits |= ((value as u32) & 0x01) << 1;
self.w
}
}
#[doc = r"Value of the field"]
pub struct AD1MC1R {
bits: bool,
}
impl AD1MC1R {
#[doc = r"Value of the field as raw bits"]
#[inline(always)]
pub fn bit(&self) -> bool {
self.bits
}
#[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"Proxy"]
pub struct _AD1MC1W<'a> {
w: &'a mut W,
}
impl<'a> _AD1MC1W<'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 &= !(0x01 << 0);
self.w.bits |= ((value as u32) & 0x01) << 0;
self.w
}
}
impl R {
#[doc = r"Value of the register as raw bits"]
#[inline(always)]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bit 31 - AD1TEPER"]
#[inline(always)]
pub fn ad1teper(&self) -> AD1TEPERR {
let bits = ((self.bits >> 31) & 0x01) != 0;
AD1TEPERR { bits }
}
#[doc = "Bit 30 - AD1TEC4"]
#[inline(always)]
pub fn ad1tec4(&self) -> AD1TEC4R {
let bits = ((self.bits >> 30) & 0x01) != 0;
AD1TEC4R { bits }
}
#[doc = "Bit 29 - AD1TEC3"]
#[inline(always)]
pub fn ad1tec3(&self) -> AD1TEC3R {
let bits = ((self.bits >> 29) & 0x01) != 0;
AD1TEC3R { bits }
}
#[doc = "Bit 28 - AD1TEC2"]
#[inline(always)]
pub fn ad1tec2(&self) -> AD1TEC2R {
let bits = ((self.bits >> 28) & 0x01) != 0;
AD1TEC2R { bits }
}
#[doc = "Bit 27 - AD1TDPER"]
#[inline(always)]
pub fn ad1tdper(&self) -> AD1TDPERR {
let bits = ((self.bits >> 27) & 0x01) != 0;
AD1TDPERR { bits }
}
#[doc = "Bit 26 - AD1TDC4"]
#[inline(always)]
pub fn ad1tdc4(&self) -> AD1TDC4R {
let bits = ((self.bits >> 26) & 0x01) != 0;
AD1TDC4R { bits }
}
#[doc = "Bit 25 - AD1TDC3"]
#[inline(always)]
pub fn ad1tdc3(&self) -> AD1TDC3R {
let bits = ((self.bits >> 25) & 0x01) != 0;
AD1TDC3R { bits }
}
#[doc = "Bit 24 - AD1TDC2"]
#[inline(always)]
pub fn ad1tdc2(&self) -> AD1TDC2R {
let bits = ((self.bits >> 24) & 0x01) != 0;
AD1TDC2R { bits }
}
#[doc = "Bit 23 - AD1TCPER"]
#[inline(always)]
pub fn ad1tcper(&self) -> AD1TCPERR {
let bits = ((self.bits >> 23) & 0x01) != 0;
AD1TCPERR { bits }
}
#[doc = "Bit 22 - AD1TCC4"]
#[inline(always)]
pub fn ad1tcc4(&self) -> AD1TCC4R {
let bits = ((self.bits >> 22) & 0x01) != 0;
AD1TCC4R { bits }
}
#[doc = "Bit 21 - AD1TCC3"]
#[inline(always)]
pub fn ad1tcc3(&self) -> AD1TCC3R {
let bits = ((self.bits >> 21) & 0x01) != 0;
AD1TCC3R { bits }
}
#[doc = "Bit 20 - AD1TCC2"]
#[inline(always)]
pub fn ad1tcc2(&self) -> AD1TCC2R {
let bits = ((self.bits >> 20) & 0x01) != 0;
AD1TCC2R { bits }
}
#[doc = "Bit 19 - AD1TBRST"]
#[inline(always)]
pub fn ad1tbrst(&self) -> AD1TBRSTR {
let bits = ((self.bits >> 19) & 0x01) != 0;
AD1TBRSTR { bits }
}
#[doc = "Bit 18 - AD1TBPER"]
#[inline(always)]
pub fn ad1tbper(&self) -> AD1TBPERR {
let bits = ((self.bits >> 18) & 0x01) != 0;
AD1TBPERR { bits }
}
#[doc = "Bit 17 - AD1TBC4"]
#[inline(always)]
pub fn ad1tbc4(&self) -> AD1TBC4R {
let bits = ((self.bits >> 17) & 0x01) != 0;
AD1TBC4R { bits }
}
#[doc = "Bit 16 - AD1TBC3"]
#[inline(always)]
pub fn ad1tbc3(&self) -> AD1TBC3R {
let bits = ((self.bits >> 16) & 0x01) != 0;
AD1TBC3R { bits }
}
#[doc = "Bit 15 - AD1TBC2"]
#[inline(always)]
pub fn ad1tbc2(&self) -> AD1TBC2R {
let bits = ((self.bits >> 15) & 0x01) != 0;
AD1TBC2R { bits }
}
#[doc = "Bit 14 - AD1TARST"]
#[inline(always)]
pub fn ad1tarst(&self) -> AD1TARSTR {
let bits = ((self.bits >> 14) & 0x01) != 0;
AD1TARSTR { bits }
}
#[doc = "Bit 13 - AD1TAPER"]
#[inline(always)]
pub fn ad1taper(&self) -> AD1TAPERR {
let bits = ((self.bits >> 13) & 0x01) != 0;
AD1TAPERR { bits }
}
#[doc = "Bit 12 - AD1TAC4"]
#[inline(always)]
pub fn ad1tac4(&self) -> AD1TAC4R {
let bits = ((self.bits >> 12) & 0x01) != 0;
AD1TAC4R { bits }
}
#[doc = "Bit 11 - AD1TAC3"]
#[inline(always)]
pub fn ad1tac3(&self) -> AD1TAC3R {
let bits = ((self.bits >> 11) & 0x01) != 0;
AD1TAC3R { bits }
}
#[doc = "Bit 10 - AD1TAC2"]
#[inline(always)]
pub fn ad1tac2(&self) -> AD1TAC2R {
let bits = ((self.bits >> 10) & 0x01) != 0;
AD1TAC2R { bits }
}
#[doc = "Bit 9 - AD1EEV5"]
#[inline(always)]
pub fn ad1eev5(&self) -> AD1EEV5R {
let bits = ((self.bits >> 9) & 0x01) != 0;
AD1EEV5R { bits }
}
#[doc = "Bit 8 - AD1EEV4"]
#[inline(always)]
pub fn ad1eev4(&self) -> AD1EEV4R {
let bits = ((self.bits >> 8) & 0x01) != 0;
AD1EEV4R { bits }
}
#[doc = "Bit 7 - AD1EEV3"]
#[inline(always)]
pub fn ad1eev3(&self) -> AD1EEV3R {
let bits = ((self.bits >> 7) & 0x01) != 0;
AD1EEV3R { bits }
}
#[doc = "Bit 6 - AD1EEV2"]
#[inline(always)]
pub fn ad1eev2(&self) -> AD1EEV2R {
let bits = ((self.bits >> 6) & 0x01) != 0;
AD1EEV2R { bits }
}
#[doc = "Bit 5 - AD1EEV1"]
#[inline(always)]
pub fn ad1eev1(&self) -> AD1EEV1R {
let bits = ((self.bits >> 5) & 0x01) != 0;
AD1EEV1R { bits }
}
#[doc = "Bit 4 - AD1MPER"]
#[inline(always)]
pub fn ad1mper(&self) -> AD1MPERR {
let bits = ((self.bits >> 4) & 0x01) != 0;
AD1MPERR { bits }
}
#[doc = "Bit 3 - AD1MC4"]
#[inline(always)]
pub fn ad1mc4(&self) -> AD1MC4R {
let bits = ((self.bits >> 3) & 0x01) != 0;
AD1MC4R { bits }
}
#[doc = "Bit 2 - AD1MC3"]
#[inline(always)]
pub fn ad1mc3(&self) -> AD1MC3R {
let bits = ((self.bits >> 2) & 0x01) != 0;
AD1MC3R { bits }
}
#[doc = "Bit 1 - AD1MC2"]
#[inline(always)]
pub fn ad1mc2(&self) -> AD1MC2R {
let bits = ((self.bits >> 1) & 0x01) != 0;
AD1MC2R { bits }
}
#[doc = "Bit 0 - AD1MC1"]
#[inline(always)]
pub fn ad1mc1(&self) -> AD1MC1R {
let bits = ((self.bits >> 0) & 0x01) != 0;
AD1MC1R { bits }
}
}
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 31 - AD1TEPER"]
#[inline(always)]
pub fn ad1teper(&mut self) -> _AD1TEPERW {
_AD1TEPERW { w: self }
}
#[doc = "Bit 30 - AD1TEC4"]
#[inline(always)]
pub fn ad1tec4(&mut self) -> _AD1TEC4W {
_AD1TEC4W { w: self }
}
#[doc = "Bit 29 - AD1TEC3"]
#[inline(always)]
pub fn ad1tec3(&mut self) -> _AD1TEC3W {
_AD1TEC3W { w: self }
}
#[doc = "Bit 28 - AD1TEC2"]
#[inline(always)]
pub fn ad1tec2(&mut self) -> _AD1TEC2W {
_AD1TEC2W { w: self }
}
#[doc = "Bit 27 - AD1TDPER"]
#[inline(always)]
pub fn ad1tdper(&mut self) -> _AD1TDPERW {
_AD1TDPERW { w: self }
}
#[doc = "Bit 26 - AD1TDC4"]
#[inline(always)]
pub fn ad1tdc4(&mut self) -> _AD1TDC4W {
_AD1TDC4W { w: self }
}
#[doc = "Bit 25 - AD1TDC3"]
#[inline(always)]
pub fn ad1tdc3(&mut self) -> _AD1TDC3W {
_AD1TDC3W { w: self }
}
#[doc = "Bit 24 - AD1TDC2"]
#[inline(always)]
pub fn ad1tdc2(&mut self) -> _AD1TDC2W {
_AD1TDC2W { w: self }
}
#[doc = "Bit 23 - AD1TCPER"]
#[inline(always)]
pub fn ad1tcper(&mut self) -> _AD1TCPERW {
_AD1TCPERW { w: self }
}
#[doc = "Bit 22 - AD1TCC4"]
#[inline(always)]
pub fn ad1tcc4(&mut self) -> _AD1TCC4W {
_AD1TCC4W { w: self }
}
#[doc = "Bit 21 - AD1TCC3"]
#[inline(always)]
pub fn ad1tcc3(&mut self) -> _AD1TCC3W {
_AD1TCC3W { w: self }
}
#[doc = "Bit 20 - AD1TCC2"]
#[inline(always)]
pub fn ad1tcc2(&mut self) -> _AD1TCC2W {
_AD1TCC2W { w: self }
}
#[doc = "Bit 19 - AD1TBRST"]
#[inline(always)]
pub fn ad1tbrst(&mut self) -> _AD1TBRSTW {
_AD1TBRSTW { w: self }
}
#[doc = "Bit 18 - AD1TBPER"]
#[inline(always)]
pub fn ad1tbper(&mut self) -> _AD1TBPERW {
_AD1TBPERW { w: self }
}
#[doc = "Bit 17 - AD1TBC4"]
#[inline(always)]
pub fn ad1tbc4(&mut self) -> _AD1TBC4W {
_AD1TBC4W { w: self }
}
#[doc = "Bit 16 - AD1TBC3"]
#[inline(always)]
pub fn ad1tbc3(&mut self) -> _AD1TBC3W {
_AD1TBC3W { w: self }
}
#[doc = "Bit 15 - AD1TBC2"]
#[inline(always)]
pub fn ad1tbc2(&mut self) -> _AD1TBC2W {
_AD1TBC2W { w: self }
}
#[doc = "Bit 14 - AD1TARST"]
#[inline(always)]
pub fn ad1tarst(&mut self) -> _AD1TARSTW {
_AD1TARSTW { w: self }
}
#[doc = "Bit 13 - AD1TAPER"]
#[inline(always)]
pub fn ad1taper(&mut self) -> _AD1TAPERW {
_AD1TAPERW { w: self }
}
#[doc = "Bit 12 - AD1TAC4"]
#[inline(always)]
pub fn ad1tac4(&mut self) -> _AD1TAC4W {
_AD1TAC4W { w: self }
}
#[doc = "Bit 11 - AD1TAC3"]
#[inline(always)]
pub fn ad1tac3(&mut self) -> _AD1TAC3W {
_AD1TAC3W { w: self }
}
#[doc = "Bit 10 - AD1TAC2"]
#[inline(always)]
pub fn ad1tac2(&mut self) -> _AD1TAC2W {
_AD1TAC2W { w: self }
}
#[doc = "Bit 9 - AD1EEV5"]
#[inline(always)]
pub fn ad1eev5(&mut self) -> _AD1EEV5W {
_AD1EEV5W { w: self }
}
#[doc = "Bit 8 - AD1EEV4"]
#[inline(always)]
pub fn ad1eev4(&mut self) -> _AD1EEV4W {
_AD1EEV4W { w: self }
}
#[doc = "Bit 7 - AD1EEV3"]
#[inline(always)]
pub fn ad1eev3(&mut self) -> _AD1EEV3W {
_AD1EEV3W { w: self }
}
#[doc = "Bit 6 - AD1EEV2"]
#[inline(always)]
pub fn ad1eev2(&mut self) -> _AD1EEV2W {
_AD1EEV2W { w: self }
}
#[doc = "Bit 5 - AD1EEV1"]
#[inline(always)]
pub fn ad1eev1(&mut self) -> _AD1EEV1W {
_AD1EEV1W { w: self }
}
#[doc = "Bit 4 - AD1MPER"]
#[inline(always)]
pub fn ad1mper(&mut self) -> _AD1MPERW {
_AD1MPERW { w: self }
}
#[doc = "Bit 3 - AD1MC4"]
#[inline(always)]
pub fn ad1mc4(&mut self) -> _AD1MC4W {
_AD1MC4W { w: self }
}
#[doc = "Bit 2 - AD1MC3"]
#[inline(always)]
pub fn ad1mc3(&mut self) -> _AD1MC3W {
_AD1MC3W { w: self }
}
#[doc = "Bit 1 - AD1MC2"]
#[inline(always)]
pub fn ad1mc2(&mut self) -> _AD1MC2W {
_AD1MC2W { w: self }
}
#[doc = "Bit 0 - AD1MC1"]
#[inline(always)]
pub fn ad1mc1(&mut self) -> _AD1MC1W {
_AD1MC1W { w: self }
}
}