#[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::RSTER {
#[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 TIMDCMP4R {
bits: bool,
}
impl TIMDCMP4R {
#[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 _TIMDCMP4W<'a> {
w: &'a mut W,
}
impl<'a> _TIMDCMP4W<'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 TIMDCMP2R {
bits: bool,
}
impl TIMDCMP2R {
#[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 _TIMDCMP2W<'a> {
w: &'a mut W,
}
impl<'a> _TIMDCMP2W<'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 TIMDCMP1R {
bits: bool,
}
impl TIMDCMP1R {
#[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 _TIMDCMP1W<'a> {
w: &'a mut W,
}
impl<'a> _TIMDCMP1W<'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 TIMCCMP4R {
bits: bool,
}
impl TIMCCMP4R {
#[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 _TIMCCMP4W<'a> {
w: &'a mut W,
}
impl<'a> _TIMCCMP4W<'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 TIMCCMP2R {
bits: bool,
}
impl TIMCCMP2R {
#[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 _TIMCCMP2W<'a> {
w: &'a mut W,
}
impl<'a> _TIMCCMP2W<'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 TIMCCMP1R {
bits: bool,
}
impl TIMCCMP1R {
#[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 _TIMCCMP1W<'a> {
w: &'a mut W,
}
impl<'a> _TIMCCMP1W<'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 TIMBCMP4R {
bits: bool,
}
impl TIMBCMP4R {
#[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 _TIMBCMP4W<'a> {
w: &'a mut W,
}
impl<'a> _TIMBCMP4W<'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 TIMBCMP2R {
bits: bool,
}
impl TIMBCMP2R {
#[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 _TIMBCMP2W<'a> {
w: &'a mut W,
}
impl<'a> _TIMBCMP2W<'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 TIMBCMP1R {
bits: bool,
}
impl TIMBCMP1R {
#[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 _TIMBCMP1W<'a> {
w: &'a mut W,
}
impl<'a> _TIMBCMP1W<'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 TIMACMP4R {
bits: bool,
}
impl TIMACMP4R {
#[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 _TIMACMP4W<'a> {
w: &'a mut W,
}
impl<'a> _TIMACMP4W<'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 TIMACMP2R {
bits: bool,
}
impl TIMACMP2R {
#[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 _TIMACMP2W<'a> {
w: &'a mut W,
}
impl<'a> _TIMACMP2W<'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 TIMACMP1R {
bits: bool,
}
impl TIMACMP1R {
#[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 _TIMACMP1W<'a> {
w: &'a mut W,
}
impl<'a> _TIMACMP1W<'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 EXTEVNT10R {
bits: bool,
}
impl EXTEVNT10R {
#[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 _EXTEVNT10W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT10W<'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 EXTEVNT9R {
bits: bool,
}
impl EXTEVNT9R {
#[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 _EXTEVNT9W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT9W<'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 EXTEVNT8R {
bits: bool,
}
impl EXTEVNT8R {
#[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 _EXTEVNT8W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT8W<'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 EXTEVNT7R {
bits: bool,
}
impl EXTEVNT7R {
#[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 _EXTEVNT7W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT7W<'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 EXTEVNT6R {
bits: bool,
}
impl EXTEVNT6R {
#[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 _EXTEVNT6W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT6W<'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 EXTEVNT5R {
bits: bool,
}
impl EXTEVNT5R {
#[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 _EXTEVNT5W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT5W<'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 EXTEVNT4R {
bits: bool,
}
impl EXTEVNT4R {
#[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 _EXTEVNT4W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT4W<'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 EXTEVNT3R {
bits: bool,
}
impl EXTEVNT3R {
#[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 _EXTEVNT3W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT3W<'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 EXTEVNT2R {
bits: bool,
}
impl EXTEVNT2R {
#[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 _EXTEVNT2W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT2W<'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 EXTEVNT1R {
bits: bool,
}
impl EXTEVNT1R {
#[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 _EXTEVNT1W<'a> {
w: &'a mut W,
}
impl<'a> _EXTEVNT1W<'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 MSTCMP4R {
bits: bool,
}
impl MSTCMP4R {
#[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 _MSTCMP4W<'a> {
w: &'a mut W,
}
impl<'a> _MSTCMP4W<'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 MSTCMP3R {
bits: bool,
}
impl MSTCMP3R {
#[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 _MSTCMP3W<'a> {
w: &'a mut W,
}
impl<'a> _MSTCMP3W<'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 MSTCMP2R {
bits: bool,
}
impl MSTCMP2R {
#[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 _MSTCMP2W<'a> {
w: &'a mut W,
}
impl<'a> _MSTCMP2W<'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 MSTCMP1R {
bits: bool,
}
impl MSTCMP1R {
#[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 _MSTCMP1W<'a> {
w: &'a mut W,
}
impl<'a> _MSTCMP1W<'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 MSTPERR {
bits: bool,
}
impl MSTPERR {
#[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 _MSTPERW<'a> {
w: &'a mut W,
}
impl<'a> _MSTPERW<'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 CMP4R {
bits: bool,
}
impl CMP4R {
#[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 _CMP4W<'a> {
w: &'a mut W,
}
impl<'a> _CMP4W<'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 CMP2R {
bits: bool,
}
impl CMP2R {
#[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 _CMP2W<'a> {
w: &'a mut W,
}
impl<'a> _CMP2W<'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 UPDTR {
bits: bool,
}
impl UPDTR {
#[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 _UPDTW<'a> {
w: &'a mut W,
}
impl<'a> _UPDTW<'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
}
}
impl R {
#[doc = r"Value of the register as raw bits"]
#[inline(always)]
pub fn bits(&self) -> u32 {
self.bits
}
#[doc = "Bit 30 - Timer D Compare 4"]
#[inline(always)]
pub fn timdcmp4(&self) -> TIMDCMP4R {
let bits = ((self.bits >> 30) & 0x01) != 0;
TIMDCMP4R { bits }
}
#[doc = "Bit 29 - Timer D Compare 2"]
#[inline(always)]
pub fn timdcmp2(&self) -> TIMDCMP2R {
let bits = ((self.bits >> 29) & 0x01) != 0;
TIMDCMP2R { bits }
}
#[doc = "Bit 28 - Timer D Compare 1"]
#[inline(always)]
pub fn timdcmp1(&self) -> TIMDCMP1R {
let bits = ((self.bits >> 28) & 0x01) != 0;
TIMDCMP1R { bits }
}
#[doc = "Bit 27 - Timer C Compare 4"]
#[inline(always)]
pub fn timccmp4(&self) -> TIMCCMP4R {
let bits = ((self.bits >> 27) & 0x01) != 0;
TIMCCMP4R { bits }
}
#[doc = "Bit 26 - Timer C Compare 2"]
#[inline(always)]
pub fn timccmp2(&self) -> TIMCCMP2R {
let bits = ((self.bits >> 26) & 0x01) != 0;
TIMCCMP2R { bits }
}
#[doc = "Bit 25 - Timer C Compare 1"]
#[inline(always)]
pub fn timccmp1(&self) -> TIMCCMP1R {
let bits = ((self.bits >> 25) & 0x01) != 0;
TIMCCMP1R { bits }
}
#[doc = "Bit 24 - Timer B Compare 4"]
#[inline(always)]
pub fn timbcmp4(&self) -> TIMBCMP4R {
let bits = ((self.bits >> 24) & 0x01) != 0;
TIMBCMP4R { bits }
}
#[doc = "Bit 23 - Timer B Compare 2"]
#[inline(always)]
pub fn timbcmp2(&self) -> TIMBCMP2R {
let bits = ((self.bits >> 23) & 0x01) != 0;
TIMBCMP2R { bits }
}
#[doc = "Bit 22 - Timer B Compare 1"]
#[inline(always)]
pub fn timbcmp1(&self) -> TIMBCMP1R {
let bits = ((self.bits >> 22) & 0x01) != 0;
TIMBCMP1R { bits }
}
#[doc = "Bit 21 - Timer A Compare 4"]
#[inline(always)]
pub fn timacmp4(&self) -> TIMACMP4R {
let bits = ((self.bits >> 21) & 0x01) != 0;
TIMACMP4R { bits }
}
#[doc = "Bit 20 - Timer A Compare 2"]
#[inline(always)]
pub fn timacmp2(&self) -> TIMACMP2R {
let bits = ((self.bits >> 20) & 0x01) != 0;
TIMACMP2R { bits }
}
#[doc = "Bit 19 - Timer A Compare 1"]
#[inline(always)]
pub fn timacmp1(&self) -> TIMACMP1R {
let bits = ((self.bits >> 19) & 0x01) != 0;
TIMACMP1R { bits }
}
#[doc = "Bit 18 - External Event 10"]
#[inline(always)]
pub fn extevnt10(&self) -> EXTEVNT10R {
let bits = ((self.bits >> 18) & 0x01) != 0;
EXTEVNT10R { bits }
}
#[doc = "Bit 17 - External Event 9"]
#[inline(always)]
pub fn extevnt9(&self) -> EXTEVNT9R {
let bits = ((self.bits >> 17) & 0x01) != 0;
EXTEVNT9R { bits }
}
#[doc = "Bit 16 - External Event 8"]
#[inline(always)]
pub fn extevnt8(&self) -> EXTEVNT8R {
let bits = ((self.bits >> 16) & 0x01) != 0;
EXTEVNT8R { bits }
}
#[doc = "Bit 15 - External Event 7"]
#[inline(always)]
pub fn extevnt7(&self) -> EXTEVNT7R {
let bits = ((self.bits >> 15) & 0x01) != 0;
EXTEVNT7R { bits }
}
#[doc = "Bit 14 - External Event 6"]
#[inline(always)]
pub fn extevnt6(&self) -> EXTEVNT6R {
let bits = ((self.bits >> 14) & 0x01) != 0;
EXTEVNT6R { bits }
}
#[doc = "Bit 13 - External Event 5"]
#[inline(always)]
pub fn extevnt5(&self) -> EXTEVNT5R {
let bits = ((self.bits >> 13) & 0x01) != 0;
EXTEVNT5R { bits }
}
#[doc = "Bit 12 - External Event 4"]
#[inline(always)]
pub fn extevnt4(&self) -> EXTEVNT4R {
let bits = ((self.bits >> 12) & 0x01) != 0;
EXTEVNT4R { bits }
}
#[doc = "Bit 11 - External Event 3"]
#[inline(always)]
pub fn extevnt3(&self) -> EXTEVNT3R {
let bits = ((self.bits >> 11) & 0x01) != 0;
EXTEVNT3R { bits }
}
#[doc = "Bit 10 - External Event 2"]
#[inline(always)]
pub fn extevnt2(&self) -> EXTEVNT2R {
let bits = ((self.bits >> 10) & 0x01) != 0;
EXTEVNT2R { bits }
}
#[doc = "Bit 9 - External Event 1"]
#[inline(always)]
pub fn extevnt1(&self) -> EXTEVNT1R {
let bits = ((self.bits >> 9) & 0x01) != 0;
EXTEVNT1R { bits }
}
#[doc = "Bit 8 - Master compare 4"]
#[inline(always)]
pub fn mstcmp4(&self) -> MSTCMP4R {
let bits = ((self.bits >> 8) & 0x01) != 0;
MSTCMP4R { bits }
}
#[doc = "Bit 7 - Master compare 3"]
#[inline(always)]
pub fn mstcmp3(&self) -> MSTCMP3R {
let bits = ((self.bits >> 7) & 0x01) != 0;
MSTCMP3R { bits }
}
#[doc = "Bit 6 - Master compare 2"]
#[inline(always)]
pub fn mstcmp2(&self) -> MSTCMP2R {
let bits = ((self.bits >> 6) & 0x01) != 0;
MSTCMP2R { bits }
}
#[doc = "Bit 5 - Master compare 1"]
#[inline(always)]
pub fn mstcmp1(&self) -> MSTCMP1R {
let bits = ((self.bits >> 5) & 0x01) != 0;
MSTCMP1R { bits }
}
#[doc = "Bit 4 - Master timer Period"]
#[inline(always)]
pub fn mstper(&self) -> MSTPERR {
let bits = ((self.bits >> 4) & 0x01) != 0;
MSTPERR { bits }
}
#[doc = "Bit 3 - Timer A compare 4 reset"]
#[inline(always)]
pub fn cmp4(&self) -> CMP4R {
let bits = ((self.bits >> 3) & 0x01) != 0;
CMP4R { bits }
}
#[doc = "Bit 2 - Timer A compare 2 reset"]
#[inline(always)]
pub fn cmp2(&self) -> CMP2R {
let bits = ((self.bits >> 2) & 0x01) != 0;
CMP2R { bits }
}
#[doc = "Bit 1 - Timer A Update reset"]
#[inline(always)]
pub fn updt(&self) -> UPDTR {
let bits = ((self.bits >> 1) & 0x01) != 0;
UPDTR { 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 30 - Timer D Compare 4"]
#[inline(always)]
pub fn timdcmp4(&mut self) -> _TIMDCMP4W {
_TIMDCMP4W { w: self }
}
#[doc = "Bit 29 - Timer D Compare 2"]
#[inline(always)]
pub fn timdcmp2(&mut self) -> _TIMDCMP2W {
_TIMDCMP2W { w: self }
}
#[doc = "Bit 28 - Timer D Compare 1"]
#[inline(always)]
pub fn timdcmp1(&mut self) -> _TIMDCMP1W {
_TIMDCMP1W { w: self }
}
#[doc = "Bit 27 - Timer C Compare 4"]
#[inline(always)]
pub fn timccmp4(&mut self) -> _TIMCCMP4W {
_TIMCCMP4W { w: self }
}
#[doc = "Bit 26 - Timer C Compare 2"]
#[inline(always)]
pub fn timccmp2(&mut self) -> _TIMCCMP2W {
_TIMCCMP2W { w: self }
}
#[doc = "Bit 25 - Timer C Compare 1"]
#[inline(always)]
pub fn timccmp1(&mut self) -> _TIMCCMP1W {
_TIMCCMP1W { w: self }
}
#[doc = "Bit 24 - Timer B Compare 4"]
#[inline(always)]
pub fn timbcmp4(&mut self) -> _TIMBCMP4W {
_TIMBCMP4W { w: self }
}
#[doc = "Bit 23 - Timer B Compare 2"]
#[inline(always)]
pub fn timbcmp2(&mut self) -> _TIMBCMP2W {
_TIMBCMP2W { w: self }
}
#[doc = "Bit 22 - Timer B Compare 1"]
#[inline(always)]
pub fn timbcmp1(&mut self) -> _TIMBCMP1W {
_TIMBCMP1W { w: self }
}
#[doc = "Bit 21 - Timer A Compare 4"]
#[inline(always)]
pub fn timacmp4(&mut self) -> _TIMACMP4W {
_TIMACMP4W { w: self }
}
#[doc = "Bit 20 - Timer A Compare 2"]
#[inline(always)]
pub fn timacmp2(&mut self) -> _TIMACMP2W {
_TIMACMP2W { w: self }
}
#[doc = "Bit 19 - Timer A Compare 1"]
#[inline(always)]
pub fn timacmp1(&mut self) -> _TIMACMP1W {
_TIMACMP1W { w: self }
}
#[doc = "Bit 18 - External Event 10"]
#[inline(always)]
pub fn extevnt10(&mut self) -> _EXTEVNT10W {
_EXTEVNT10W { w: self }
}
#[doc = "Bit 17 - External Event 9"]
#[inline(always)]
pub fn extevnt9(&mut self) -> _EXTEVNT9W {
_EXTEVNT9W { w: self }
}
#[doc = "Bit 16 - External Event 8"]
#[inline(always)]
pub fn extevnt8(&mut self) -> _EXTEVNT8W {
_EXTEVNT8W { w: self }
}
#[doc = "Bit 15 - External Event 7"]
#[inline(always)]
pub fn extevnt7(&mut self) -> _EXTEVNT7W {
_EXTEVNT7W { w: self }
}
#[doc = "Bit 14 - External Event 6"]
#[inline(always)]
pub fn extevnt6(&mut self) -> _EXTEVNT6W {
_EXTEVNT6W { w: self }
}
#[doc = "Bit 13 - External Event 5"]
#[inline(always)]
pub fn extevnt5(&mut self) -> _EXTEVNT5W {
_EXTEVNT5W { w: self }
}
#[doc = "Bit 12 - External Event 4"]
#[inline(always)]
pub fn extevnt4(&mut self) -> _EXTEVNT4W {
_EXTEVNT4W { w: self }
}
#[doc = "Bit 11 - External Event 3"]
#[inline(always)]
pub fn extevnt3(&mut self) -> _EXTEVNT3W {
_EXTEVNT3W { w: self }
}
#[doc = "Bit 10 - External Event 2"]
#[inline(always)]
pub fn extevnt2(&mut self) -> _EXTEVNT2W {
_EXTEVNT2W { w: self }
}
#[doc = "Bit 9 - External Event 1"]
#[inline(always)]
pub fn extevnt1(&mut self) -> _EXTEVNT1W {
_EXTEVNT1W { w: self }
}
#[doc = "Bit 8 - Master compare 4"]
#[inline(always)]
pub fn mstcmp4(&mut self) -> _MSTCMP4W {
_MSTCMP4W { w: self }
}
#[doc = "Bit 7 - Master compare 3"]
#[inline(always)]
pub fn mstcmp3(&mut self) -> _MSTCMP3W {
_MSTCMP3W { w: self }
}
#[doc = "Bit 6 - Master compare 2"]
#[inline(always)]
pub fn mstcmp2(&mut self) -> _MSTCMP2W {
_MSTCMP2W { w: self }
}
#[doc = "Bit 5 - Master compare 1"]
#[inline(always)]
pub fn mstcmp1(&mut self) -> _MSTCMP1W {
_MSTCMP1W { w: self }
}
#[doc = "Bit 4 - Master timer Period"]
#[inline(always)]
pub fn mstper(&mut self) -> _MSTPERW {
_MSTPERW { w: self }
}
#[doc = "Bit 3 - Timer A compare 4 reset"]
#[inline(always)]
pub fn cmp4(&mut self) -> _CMP4W {
_CMP4W { w: self }
}
#[doc = "Bit 2 - Timer A compare 2 reset"]
#[inline(always)]
pub fn cmp2(&mut self) -> _CMP2W {
_CMP2W { w: self }
}
#[doc = "Bit 1 - Timer A Update reset"]
#[inline(always)]
pub fn updt(&mut self) -> _UPDTW {
_UPDTW { w: self }
}
}