#[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::ADC4R {
#[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 AD2TERSTR {
bits: bool,
}
impl AD2TERSTR {
#[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 _AD2TERSTW<'a> {
w: &'a mut W,
}
impl<'a> _AD2TERSTW<'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 AD2TEC4R {
bits: bool,
}
impl AD2TEC4R {
#[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 _AD2TEC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TEC4W<'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 AD2TEC3R {
bits: bool,
}
impl AD2TEC3R {
#[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 _AD2TEC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TEC3W<'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 AD2TEC2R {
bits: bool,
}
impl AD2TEC2R {
#[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 _AD2TEC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TEC2W<'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 AD2TDRSTR {
bits: bool,
}
impl AD2TDRSTR {
#[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 _AD2TDRSTW<'a> {
w: &'a mut W,
}
impl<'a> _AD2TDRSTW<'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 AD2TDPERR {
bits: bool,
}
impl AD2TDPERR {
#[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 _AD2TDPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD2TDPERW<'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 AD2TDC4R {
bits: bool,
}
impl AD2TDC4R {
#[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 _AD2TDC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TDC4W<'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 AD2TDC3R {
bits: bool,
}
impl AD2TDC3R {
#[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 _AD2TDC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TDC3W<'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 AD2TDC2R {
bits: bool,
}
impl AD2TDC2R {
#[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 _AD2TDC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TDC2W<'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 AD2TCRSTR {
bits: bool,
}
impl AD2TCRSTR {
#[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 _AD2TCRSTW<'a> {
w: &'a mut W,
}
impl<'a> _AD2TCRSTW<'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 AD2TCPERR {
bits: bool,
}
impl AD2TCPERR {
#[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 _AD2TCPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD2TCPERW<'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 AD2TCC4R {
bits: bool,
}
impl AD2TCC4R {
#[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 _AD2TCC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TCC4W<'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 AD2TCC3R {
bits: bool,
}
impl AD2TCC3R {
#[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 _AD2TCC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TCC3W<'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 AD2TCC2R {
bits: bool,
}
impl AD2TCC2R {
#[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 _AD2TCC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TCC2W<'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 AD2TBPERR {
bits: bool,
}
impl AD2TBPERR {
#[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 _AD2TBPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD2TBPERW<'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 AD2TBC4R {
bits: bool,
}
impl AD2TBC4R {
#[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 _AD2TBC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TBC4W<'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 AD2TBC3R {
bits: bool,
}
impl AD2TBC3R {
#[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 _AD2TBC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TBC3W<'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 AD2TBC2R {
bits: bool,
}
impl AD2TBC2R {
#[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 _AD2TBC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TBC2W<'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 AD2TAPERR {
bits: bool,
}
impl AD2TAPERR {
#[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 _AD2TAPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD2TAPERW<'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 AD2TAC4R {
bits: bool,
}
impl AD2TAC4R {
#[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 _AD2TAC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TAC4W<'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 AD2TAC3R {
bits: bool,
}
impl AD2TAC3R {
#[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 _AD2TAC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TAC3W<'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 AD2TAC2R {
bits: bool,
}
impl AD2TAC2R {
#[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 _AD2TAC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD2TAC2W<'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 AD2EEV10R {
bits: bool,
}
impl AD2EEV10R {
#[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 _AD2EEV10W<'a> {
w: &'a mut W,
}
impl<'a> _AD2EEV10W<'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 AD2EEV9R {
bits: bool,
}
impl AD2EEV9R {
#[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 _AD2EEV9W<'a> {
w: &'a mut W,
}
impl<'a> _AD2EEV9W<'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 AD2EEV8R {
bits: bool,
}
impl AD2EEV8R {
#[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 _AD2EEV8W<'a> {
w: &'a mut W,
}
impl<'a> _AD2EEV8W<'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 AD2EEV7R {
bits: bool,
}
impl AD2EEV7R {
#[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 _AD2EEV7W<'a> {
w: &'a mut W,
}
impl<'a> _AD2EEV7W<'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 AD2EEV6R {
bits: bool,
}
impl AD2EEV6R {
#[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 _AD2EEV6W<'a> {
w: &'a mut W,
}
impl<'a> _AD2EEV6W<'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 AD2MPERR {
bits: bool,
}
impl AD2MPERR {
#[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 _AD2MPERW<'a> {
w: &'a mut W,
}
impl<'a> _AD2MPERW<'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 AD2MC4R {
bits: bool,
}
impl AD2MC4R {
#[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 _AD2MC4W<'a> {
w: &'a mut W,
}
impl<'a> _AD2MC4W<'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 AD2MC3R {
bits: bool,
}
impl AD2MC3R {
#[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 _AD2MC3W<'a> {
w: &'a mut W,
}
impl<'a> _AD2MC3W<'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 AD2MC2R {
bits: bool,
}
impl AD2MC2R {
#[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 _AD2MC2W<'a> {
w: &'a mut W,
}
impl<'a> _AD2MC2W<'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 AD2MC1R {
bits: bool,
}
impl AD2MC1R {
#[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 _AD2MC1W<'a> {
w: &'a mut W,
}
impl<'a> _AD2MC1W<'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 - AD2TERST"]
#[inline(always)]
pub fn ad2terst(&self) -> AD2TERSTR {
let bits = ((self.bits >> 31) & 0x01) != 0;
AD2TERSTR { bits }
}
#[doc = "Bit 30 - AD2TEC4"]
#[inline(always)]
pub fn ad2tec4(&self) -> AD2TEC4R {
let bits = ((self.bits >> 30) & 0x01) != 0;
AD2TEC4R { bits }
}
#[doc = "Bit 29 - AD2TEC3"]
#[inline(always)]
pub fn ad2tec3(&self) -> AD2TEC3R {
let bits = ((self.bits >> 29) & 0x01) != 0;
AD2TEC3R { bits }
}
#[doc = "Bit 28 - AD2TEC2"]
#[inline(always)]
pub fn ad2tec2(&self) -> AD2TEC2R {
let bits = ((self.bits >> 28) & 0x01) != 0;
AD2TEC2R { bits }
}
#[doc = "Bit 27 - AD2TDRST"]
#[inline(always)]
pub fn ad2tdrst(&self) -> AD2TDRSTR {
let bits = ((self.bits >> 27) & 0x01) != 0;
AD2TDRSTR { bits }
}
#[doc = "Bit 26 - AD2TDPER"]
#[inline(always)]
pub fn ad2tdper(&self) -> AD2TDPERR {
let bits = ((self.bits >> 26) & 0x01) != 0;
AD2TDPERR { bits }
}
#[doc = "Bit 25 - AD2TDC4"]
#[inline(always)]
pub fn ad2tdc4(&self) -> AD2TDC4R {
let bits = ((self.bits >> 25) & 0x01) != 0;
AD2TDC4R { bits }
}
#[doc = "Bit 24 - AD2TDC3"]
#[inline(always)]
pub fn ad2tdc3(&self) -> AD2TDC3R {
let bits = ((self.bits >> 24) & 0x01) != 0;
AD2TDC3R { bits }
}
#[doc = "Bit 23 - AD2TDC2"]
#[inline(always)]
pub fn ad2tdc2(&self) -> AD2TDC2R {
let bits = ((self.bits >> 23) & 0x01) != 0;
AD2TDC2R { bits }
}
#[doc = "Bit 22 - AD2TCRST"]
#[inline(always)]
pub fn ad2tcrst(&self) -> AD2TCRSTR {
let bits = ((self.bits >> 22) & 0x01) != 0;
AD2TCRSTR { bits }
}
#[doc = "Bit 21 - AD2TCPER"]
#[inline(always)]
pub fn ad2tcper(&self) -> AD2TCPERR {
let bits = ((self.bits >> 21) & 0x01) != 0;
AD2TCPERR { bits }
}
#[doc = "Bit 20 - AD2TCC4"]
#[inline(always)]
pub fn ad2tcc4(&self) -> AD2TCC4R {
let bits = ((self.bits >> 20) & 0x01) != 0;
AD2TCC4R { bits }
}
#[doc = "Bit 19 - AD2TCC3"]
#[inline(always)]
pub fn ad2tcc3(&self) -> AD2TCC3R {
let bits = ((self.bits >> 19) & 0x01) != 0;
AD2TCC3R { bits }
}
#[doc = "Bit 18 - AD2TCC2"]
#[inline(always)]
pub fn ad2tcc2(&self) -> AD2TCC2R {
let bits = ((self.bits >> 18) & 0x01) != 0;
AD2TCC2R { bits }
}
#[doc = "Bit 17 - AD2TBPER"]
#[inline(always)]
pub fn ad2tbper(&self) -> AD2TBPERR {
let bits = ((self.bits >> 17) & 0x01) != 0;
AD2TBPERR { bits }
}
#[doc = "Bit 16 - AD2TBC4"]
#[inline(always)]
pub fn ad2tbc4(&self) -> AD2TBC4R {
let bits = ((self.bits >> 16) & 0x01) != 0;
AD2TBC4R { bits }
}
#[doc = "Bit 15 - AD2TBC3"]
#[inline(always)]
pub fn ad2tbc3(&self) -> AD2TBC3R {
let bits = ((self.bits >> 15) & 0x01) != 0;
AD2TBC3R { bits }
}
#[doc = "Bit 14 - AD2TBC2"]
#[inline(always)]
pub fn ad2tbc2(&self) -> AD2TBC2R {
let bits = ((self.bits >> 14) & 0x01) != 0;
AD2TBC2R { bits }
}
#[doc = "Bit 13 - AD2TAPER"]
#[inline(always)]
pub fn ad2taper(&self) -> AD2TAPERR {
let bits = ((self.bits >> 13) & 0x01) != 0;
AD2TAPERR { bits }
}
#[doc = "Bit 12 - AD2TAC4"]
#[inline(always)]
pub fn ad2tac4(&self) -> AD2TAC4R {
let bits = ((self.bits >> 12) & 0x01) != 0;
AD2TAC4R { bits }
}
#[doc = "Bit 11 - AD2TAC3"]
#[inline(always)]
pub fn ad2tac3(&self) -> AD2TAC3R {
let bits = ((self.bits >> 11) & 0x01) != 0;
AD2TAC3R { bits }
}
#[doc = "Bit 10 - AD2TAC2"]
#[inline(always)]
pub fn ad2tac2(&self) -> AD2TAC2R {
let bits = ((self.bits >> 10) & 0x01) != 0;
AD2TAC2R { bits }
}
#[doc = "Bit 9 - AD2EEV10"]
#[inline(always)]
pub fn ad2eev10(&self) -> AD2EEV10R {
let bits = ((self.bits >> 9) & 0x01) != 0;
AD2EEV10R { bits }
}
#[doc = "Bit 8 - AD2EEV9"]
#[inline(always)]
pub fn ad2eev9(&self) -> AD2EEV9R {
let bits = ((self.bits >> 8) & 0x01) != 0;
AD2EEV9R { bits }
}
#[doc = "Bit 7 - AD2EEV8"]
#[inline(always)]
pub fn ad2eev8(&self) -> AD2EEV8R {
let bits = ((self.bits >> 7) & 0x01) != 0;
AD2EEV8R { bits }
}
#[doc = "Bit 6 - AD2EEV7"]
#[inline(always)]
pub fn ad2eev7(&self) -> AD2EEV7R {
let bits = ((self.bits >> 6) & 0x01) != 0;
AD2EEV7R { bits }
}
#[doc = "Bit 5 - AD2EEV6"]
#[inline(always)]
pub fn ad2eev6(&self) -> AD2EEV6R {
let bits = ((self.bits >> 5) & 0x01) != 0;
AD2EEV6R { bits }
}
#[doc = "Bit 4 - AD2MPER"]
#[inline(always)]
pub fn ad2mper(&self) -> AD2MPERR {
let bits = ((self.bits >> 4) & 0x01) != 0;
AD2MPERR { bits }
}
#[doc = "Bit 3 - AD2MC4"]
#[inline(always)]
pub fn ad2mc4(&self) -> AD2MC4R {
let bits = ((self.bits >> 3) & 0x01) != 0;
AD2MC4R { bits }
}
#[doc = "Bit 2 - AD2MC3"]
#[inline(always)]
pub fn ad2mc3(&self) -> AD2MC3R {
let bits = ((self.bits >> 2) & 0x01) != 0;
AD2MC3R { bits }
}
#[doc = "Bit 1 - AD2MC2"]
#[inline(always)]
pub fn ad2mc2(&self) -> AD2MC2R {
let bits = ((self.bits >> 1) & 0x01) != 0;
AD2MC2R { bits }
}
#[doc = "Bit 0 - AD2MC1"]
#[inline(always)]
pub fn ad2mc1(&self) -> AD2MC1R {
let bits = ((self.bits >> 0) & 0x01) != 0;
AD2MC1R { 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 - AD2TERST"]
#[inline(always)]
pub fn ad2terst(&mut self) -> _AD2TERSTW {
_AD2TERSTW { w: self }
}
#[doc = "Bit 30 - AD2TEC4"]
#[inline(always)]
pub fn ad2tec4(&mut self) -> _AD2TEC4W {
_AD2TEC4W { w: self }
}
#[doc = "Bit 29 - AD2TEC3"]
#[inline(always)]
pub fn ad2tec3(&mut self) -> _AD2TEC3W {
_AD2TEC3W { w: self }
}
#[doc = "Bit 28 - AD2TEC2"]
#[inline(always)]
pub fn ad2tec2(&mut self) -> _AD2TEC2W {
_AD2TEC2W { w: self }
}
#[doc = "Bit 27 - AD2TDRST"]
#[inline(always)]
pub fn ad2tdrst(&mut self) -> _AD2TDRSTW {
_AD2TDRSTW { w: self }
}
#[doc = "Bit 26 - AD2TDPER"]
#[inline(always)]
pub fn ad2tdper(&mut self) -> _AD2TDPERW {
_AD2TDPERW { w: self }
}
#[doc = "Bit 25 - AD2TDC4"]
#[inline(always)]
pub fn ad2tdc4(&mut self) -> _AD2TDC4W {
_AD2TDC4W { w: self }
}
#[doc = "Bit 24 - AD2TDC3"]
#[inline(always)]
pub fn ad2tdc3(&mut self) -> _AD2TDC3W {
_AD2TDC3W { w: self }
}
#[doc = "Bit 23 - AD2TDC2"]
#[inline(always)]
pub fn ad2tdc2(&mut self) -> _AD2TDC2W {
_AD2TDC2W { w: self }
}
#[doc = "Bit 22 - AD2TCRST"]
#[inline(always)]
pub fn ad2tcrst(&mut self) -> _AD2TCRSTW {
_AD2TCRSTW { w: self }
}
#[doc = "Bit 21 - AD2TCPER"]
#[inline(always)]
pub fn ad2tcper(&mut self) -> _AD2TCPERW {
_AD2TCPERW { w: self }
}
#[doc = "Bit 20 - AD2TCC4"]
#[inline(always)]
pub fn ad2tcc4(&mut self) -> _AD2TCC4W {
_AD2TCC4W { w: self }
}
#[doc = "Bit 19 - AD2TCC3"]
#[inline(always)]
pub fn ad2tcc3(&mut self) -> _AD2TCC3W {
_AD2TCC3W { w: self }
}
#[doc = "Bit 18 - AD2TCC2"]
#[inline(always)]
pub fn ad2tcc2(&mut self) -> _AD2TCC2W {
_AD2TCC2W { w: self }
}
#[doc = "Bit 17 - AD2TBPER"]
#[inline(always)]
pub fn ad2tbper(&mut self) -> _AD2TBPERW {
_AD2TBPERW { w: self }
}
#[doc = "Bit 16 - AD2TBC4"]
#[inline(always)]
pub fn ad2tbc4(&mut self) -> _AD2TBC4W {
_AD2TBC4W { w: self }
}
#[doc = "Bit 15 - AD2TBC3"]
#[inline(always)]
pub fn ad2tbc3(&mut self) -> _AD2TBC3W {
_AD2TBC3W { w: self }
}
#[doc = "Bit 14 - AD2TBC2"]
#[inline(always)]
pub fn ad2tbc2(&mut self) -> _AD2TBC2W {
_AD2TBC2W { w: self }
}
#[doc = "Bit 13 - AD2TAPER"]
#[inline(always)]
pub fn ad2taper(&mut self) -> _AD2TAPERW {
_AD2TAPERW { w: self }
}
#[doc = "Bit 12 - AD2TAC4"]
#[inline(always)]
pub fn ad2tac4(&mut self) -> _AD2TAC4W {
_AD2TAC4W { w: self }
}
#[doc = "Bit 11 - AD2TAC3"]
#[inline(always)]
pub fn ad2tac3(&mut self) -> _AD2TAC3W {
_AD2TAC3W { w: self }
}
#[doc = "Bit 10 - AD2TAC2"]
#[inline(always)]
pub fn ad2tac2(&mut self) -> _AD2TAC2W {
_AD2TAC2W { w: self }
}
#[doc = "Bit 9 - AD2EEV10"]
#[inline(always)]
pub fn ad2eev10(&mut self) -> _AD2EEV10W {
_AD2EEV10W { w: self }
}
#[doc = "Bit 8 - AD2EEV9"]
#[inline(always)]
pub fn ad2eev9(&mut self) -> _AD2EEV9W {
_AD2EEV9W { w: self }
}
#[doc = "Bit 7 - AD2EEV8"]
#[inline(always)]
pub fn ad2eev8(&mut self) -> _AD2EEV8W {
_AD2EEV8W { w: self }
}
#[doc = "Bit 6 - AD2EEV7"]
#[inline(always)]
pub fn ad2eev7(&mut self) -> _AD2EEV7W {
_AD2EEV7W { w: self }
}
#[doc = "Bit 5 - AD2EEV6"]
#[inline(always)]
pub fn ad2eev6(&mut self) -> _AD2EEV6W {
_AD2EEV6W { w: self }
}
#[doc = "Bit 4 - AD2MPER"]
#[inline(always)]
pub fn ad2mper(&mut self) -> _AD2MPERW {
_AD2MPERW { w: self }
}
#[doc = "Bit 3 - AD2MC4"]
#[inline(always)]
pub fn ad2mc4(&mut self) -> _AD2MC4W {
_AD2MC4W { w: self }
}
#[doc = "Bit 2 - AD2MC3"]
#[inline(always)]
pub fn ad2mc3(&mut self) -> _AD2MC3W {
_AD2MC3W { w: self }
}
#[doc = "Bit 1 - AD2MC2"]
#[inline(always)]
pub fn ad2mc2(&mut self) -> _AD2MC2W {
_AD2MC2W { w: self }
}
#[doc = "Bit 0 - AD2MC1"]
#[inline(always)]
pub fn ad2mc1(&mut self) -> _AD2MC1W {
_AD2MC1W { w: self }
}
}