#[doc = "Register `IER` reader"]
pub struct R(crate::R<IER_SPEC>);
impl core::ops::Deref for R {
type Target = crate::R<IER_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl From<crate::R<IER_SPEC>> for R {
#[inline(always)]
fn from(reader: crate::R<IER_SPEC>) -> Self {
R(reader)
}
}
#[doc = "Register `IER` writer"]
pub struct W(crate::W<IER_SPEC>);
impl core::ops::Deref for W {
type Target = crate::W<IER_SPEC>;
#[inline(always)]
fn deref(&self) -> &Self::Target {
&self.0
}
}
impl core::ops::DerefMut for W {
#[inline(always)]
fn deref_mut(&mut self) -> &mut Self::Target {
&mut self.0
}
}
impl From<crate::W<IER_SPEC>> for W {
#[inline(always)]
fn from(writer: crate::W<IER_SPEC>) -> Self {
W(writer)
}
}
#[doc = "ADC group injected contexts queue overflow interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum JQOVFIE_A {
#[doc = "0: Injected context queue overflow interrupt disabled"]
Disabled = 0,
#[doc = "1: Injected context queue overflow interrupt enabled"]
Enabled = 1,
}
impl From<JQOVFIE_A> for bool {
#[inline(always)]
fn from(variant: JQOVFIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `JQOVFIE` reader - ADC group injected contexts queue overflow interrupt"]
pub type JQOVFIE_R = crate::BitReader<JQOVFIE_A>;
impl JQOVFIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> JQOVFIE_A {
match self.bits {
false => JQOVFIE_A::Disabled,
true => JQOVFIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == JQOVFIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == JQOVFIE_A::Enabled
}
}
#[doc = "Field `JQOVFIE` writer - ADC group injected contexts queue overflow interrupt"]
pub type JQOVFIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, JQOVFIE_A, 10>;
impl<'a> JQOVFIE_W<'a> {
#[doc = "Injected context queue overflow interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(JQOVFIE_A::Disabled)
}
#[doc = "Injected context queue overflow interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(JQOVFIE_A::Enabled)
}
}
#[doc = "ADC analog watchdog 3 interrupt"]
pub use AWD1IE_A as AWD3IE_A;
#[doc = "ADC analog watchdog 2 interrupt"]
pub use AWD1IE_A as AWD2IE_A;
#[doc = "Field `AWD3IE` reader - ADC analog watchdog 3 interrupt"]
pub use AWD1IE_R as AWD3IE_R;
#[doc = "Field `AWD2IE` reader - ADC analog watchdog 2 interrupt"]
pub use AWD1IE_R as AWD2IE_R;
#[doc = "Field `AWD3IE` writer - ADC analog watchdog 3 interrupt"]
pub use AWD1IE_W as AWD3IE_W;
#[doc = "Field `AWD2IE` writer - ADC analog watchdog 2 interrupt"]
pub use AWD1IE_W as AWD2IE_W;
#[doc = "ADC analog watchdog 1 interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum AWD1IE_A {
#[doc = "0: Analog watchdog interrupt disabled"]
Disabled = 0,
#[doc = "1: Analog watchdog interrupt enabled"]
Enabled = 1,
}
impl From<AWD1IE_A> for bool {
#[inline(always)]
fn from(variant: AWD1IE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `AWD1IE` reader - ADC analog watchdog 1 interrupt"]
pub type AWD1IE_R = crate::BitReader<AWD1IE_A>;
impl AWD1IE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> AWD1IE_A {
match self.bits {
false => AWD1IE_A::Disabled,
true => AWD1IE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == AWD1IE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == AWD1IE_A::Enabled
}
}
#[doc = "Field `AWD1IE` writer - ADC analog watchdog 1 interrupt"]
pub type AWD1IE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, AWD1IE_A, 7>;
impl<'a> AWD1IE_W<'a> {
#[doc = "Analog watchdog interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(AWD1IE_A::Disabled)
}
#[doc = "Analog watchdog interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(AWD1IE_A::Enabled)
}
}
#[doc = "ADC group injected end of sequence conversions interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum JEOSIE_A {
#[doc = "0: End of injected sequence interrupt disabled"]
Disabled = 0,
#[doc = "1: End of injected sequence interrupt enabled"]
Enabled = 1,
}
impl From<JEOSIE_A> for bool {
#[inline(always)]
fn from(variant: JEOSIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `JEOSIE` reader - ADC group injected end of sequence conversions interrupt"]
pub type JEOSIE_R = crate::BitReader<JEOSIE_A>;
impl JEOSIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> JEOSIE_A {
match self.bits {
false => JEOSIE_A::Disabled,
true => JEOSIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == JEOSIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == JEOSIE_A::Enabled
}
}
#[doc = "Field `JEOSIE` writer - ADC group injected end of sequence conversions interrupt"]
pub type JEOSIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, JEOSIE_A, 6>;
impl<'a> JEOSIE_W<'a> {
#[doc = "End of injected sequence interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(JEOSIE_A::Disabled)
}
#[doc = "End of injected sequence interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(JEOSIE_A::Enabled)
}
}
#[doc = "ADC group injected end of unitary conversion interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum JEOCIE_A {
#[doc = "0: End of injected conversion interrupt disabled"]
Disabled = 0,
#[doc = "1: End of injected conversion interrupt enabled"]
Enabled = 1,
}
impl From<JEOCIE_A> for bool {
#[inline(always)]
fn from(variant: JEOCIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `JEOCIE` reader - ADC group injected end of unitary conversion interrupt"]
pub type JEOCIE_R = crate::BitReader<JEOCIE_A>;
impl JEOCIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> JEOCIE_A {
match self.bits {
false => JEOCIE_A::Disabled,
true => JEOCIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == JEOCIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == JEOCIE_A::Enabled
}
}
#[doc = "Field `JEOCIE` writer - ADC group injected end of unitary conversion interrupt"]
pub type JEOCIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, JEOCIE_A, 5>;
impl<'a> JEOCIE_W<'a> {
#[doc = "End of injected conversion interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(JEOCIE_A::Disabled)
}
#[doc = "End of injected conversion interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(JEOCIE_A::Enabled)
}
}
#[doc = "ADC group regular overrun interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum OVRIE_A {
#[doc = "0: Overrun interrupt disabled"]
Disabled = 0,
#[doc = "1: Overrun interrupt enabled"]
Enabled = 1,
}
impl From<OVRIE_A> for bool {
#[inline(always)]
fn from(variant: OVRIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `OVRIE` reader - ADC group regular overrun interrupt"]
pub type OVRIE_R = crate::BitReader<OVRIE_A>;
impl OVRIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> OVRIE_A {
match self.bits {
false => OVRIE_A::Disabled,
true => OVRIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == OVRIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == OVRIE_A::Enabled
}
}
#[doc = "Field `OVRIE` writer - ADC group regular overrun interrupt"]
pub type OVRIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, OVRIE_A, 4>;
impl<'a> OVRIE_W<'a> {
#[doc = "Overrun interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(OVRIE_A::Disabled)
}
#[doc = "Overrun interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(OVRIE_A::Enabled)
}
}
#[doc = "ADC group regular end of sequence conversions interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum EOSIE_A {
#[doc = "0: End of regular sequence interrupt disabled"]
Disabled = 0,
#[doc = "1: End of regular sequence interrupt enabled"]
Enabled = 1,
}
impl From<EOSIE_A> for bool {
#[inline(always)]
fn from(variant: EOSIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `EOSIE` reader - ADC group regular end of sequence conversions interrupt"]
pub type EOSIE_R = crate::BitReader<EOSIE_A>;
impl EOSIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> EOSIE_A {
match self.bits {
false => EOSIE_A::Disabled,
true => EOSIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == EOSIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == EOSIE_A::Enabled
}
}
#[doc = "Field `EOSIE` writer - ADC group regular end of sequence conversions interrupt"]
pub type EOSIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, EOSIE_A, 3>;
impl<'a> EOSIE_W<'a> {
#[doc = "End of regular sequence interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(EOSIE_A::Disabled)
}
#[doc = "End of regular sequence interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(EOSIE_A::Enabled)
}
}
#[doc = "ADC group regular end of unitary conversion interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum EOCIE_A {
#[doc = "0: End of regular conversion interrupt disabled"]
Disabled = 0,
#[doc = "1: End of regular conversion interrupt enabled"]
Enabled = 1,
}
impl From<EOCIE_A> for bool {
#[inline(always)]
fn from(variant: EOCIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `EOCIE` reader - ADC group regular end of unitary conversion interrupt"]
pub type EOCIE_R = crate::BitReader<EOCIE_A>;
impl EOCIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> EOCIE_A {
match self.bits {
false => EOCIE_A::Disabled,
true => EOCIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == EOCIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == EOCIE_A::Enabled
}
}
#[doc = "Field `EOCIE` writer - ADC group regular end of unitary conversion interrupt"]
pub type EOCIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, EOCIE_A, 2>;
impl<'a> EOCIE_W<'a> {
#[doc = "End of regular conversion interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(EOCIE_A::Disabled)
}
#[doc = "End of regular conversion interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(EOCIE_A::Enabled)
}
}
#[doc = "ADC group regular end of sampling interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum EOSMPIE_A {
#[doc = "0: End of regular conversion sampling phase interrupt disabled"]
Disabled = 0,
#[doc = "1: End of regular conversion sampling phase interrupt enabled"]
Enabled = 1,
}
impl From<EOSMPIE_A> for bool {
#[inline(always)]
fn from(variant: EOSMPIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `EOSMPIE` reader - ADC group regular end of sampling interrupt"]
pub type EOSMPIE_R = crate::BitReader<EOSMPIE_A>;
impl EOSMPIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> EOSMPIE_A {
match self.bits {
false => EOSMPIE_A::Disabled,
true => EOSMPIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == EOSMPIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == EOSMPIE_A::Enabled
}
}
#[doc = "Field `EOSMPIE` writer - ADC group regular end of sampling interrupt"]
pub type EOSMPIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, EOSMPIE_A, 1>;
impl<'a> EOSMPIE_W<'a> {
#[doc = "End of regular conversion sampling phase interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(EOSMPIE_A::Disabled)
}
#[doc = "End of regular conversion sampling phase interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(EOSMPIE_A::Enabled)
}
}
#[doc = "ADC ready interrupt\n\nValue on reset: 0"]
#[derive(Clone, Copy, Debug, PartialEq)]
pub enum ADRDYIE_A {
#[doc = "0: ADC ready interrupt disabled"]
Disabled = 0,
#[doc = "1: ADC ready interrupt enabled"]
Enabled = 1,
}
impl From<ADRDYIE_A> for bool {
#[inline(always)]
fn from(variant: ADRDYIE_A) -> Self {
variant as u8 != 0
}
}
#[doc = "Field `ADRDYIE` reader - ADC ready interrupt"]
pub type ADRDYIE_R = crate::BitReader<ADRDYIE_A>;
impl ADRDYIE_R {
#[doc = "Get enumerated values variant"]
#[inline(always)]
pub fn variant(&self) -> ADRDYIE_A {
match self.bits {
false => ADRDYIE_A::Disabled,
true => ADRDYIE_A::Enabled,
}
}
#[doc = "Checks if the value of the field is `Disabled`"]
#[inline(always)]
pub fn is_disabled(&self) -> bool {
*self == ADRDYIE_A::Disabled
}
#[doc = "Checks if the value of the field is `Enabled`"]
#[inline(always)]
pub fn is_enabled(&self) -> bool {
*self == ADRDYIE_A::Enabled
}
}
#[doc = "Field `ADRDYIE` writer - ADC ready interrupt"]
pub type ADRDYIE_W<'a> = crate::BitWriter<'a, u32, IER_SPEC, ADRDYIE_A, 0>;
impl<'a> ADRDYIE_W<'a> {
#[doc = "ADC ready interrupt disabled"]
#[inline(always)]
pub fn disabled(self) -> &'a mut W {
self.variant(ADRDYIE_A::Disabled)
}
#[doc = "ADC ready interrupt enabled"]
#[inline(always)]
pub fn enabled(self) -> &'a mut W {
self.variant(ADRDYIE_A::Enabled)
}
}
impl R {
#[doc = "Bit 10 - ADC group injected contexts queue overflow interrupt"]
#[inline(always)]
pub fn jqovfie(&self) -> JQOVFIE_R {
JQOVFIE_R::new(((self.bits >> 10) & 1) != 0)
}
#[doc = "Bit 9 - ADC analog watchdog 3 interrupt"]
#[inline(always)]
pub fn awd3ie(&self) -> AWD3IE_R {
AWD3IE_R::new(((self.bits >> 9) & 1) != 0)
}
#[doc = "Bit 8 - ADC analog watchdog 2 interrupt"]
#[inline(always)]
pub fn awd2ie(&self) -> AWD2IE_R {
AWD2IE_R::new(((self.bits >> 8) & 1) != 0)
}
#[doc = "Bit 7 - ADC analog watchdog 1 interrupt"]
#[inline(always)]
pub fn awd1ie(&self) -> AWD1IE_R {
AWD1IE_R::new(((self.bits >> 7) & 1) != 0)
}
#[doc = "Bit 6 - ADC group injected end of sequence conversions interrupt"]
#[inline(always)]
pub fn jeosie(&self) -> JEOSIE_R {
JEOSIE_R::new(((self.bits >> 6) & 1) != 0)
}
#[doc = "Bit 5 - ADC group injected end of unitary conversion interrupt"]
#[inline(always)]
pub fn jeocie(&self) -> JEOCIE_R {
JEOCIE_R::new(((self.bits >> 5) & 1) != 0)
}
#[doc = "Bit 4 - ADC group regular overrun interrupt"]
#[inline(always)]
pub fn ovrie(&self) -> OVRIE_R {
OVRIE_R::new(((self.bits >> 4) & 1) != 0)
}
#[doc = "Bit 3 - ADC group regular end of sequence conversions interrupt"]
#[inline(always)]
pub fn eosie(&self) -> EOSIE_R {
EOSIE_R::new(((self.bits >> 3) & 1) != 0)
}
#[doc = "Bit 2 - ADC group regular end of unitary conversion interrupt"]
#[inline(always)]
pub fn eocie(&self) -> EOCIE_R {
EOCIE_R::new(((self.bits >> 2) & 1) != 0)
}
#[doc = "Bit 1 - ADC group regular end of sampling interrupt"]
#[inline(always)]
pub fn eosmpie(&self) -> EOSMPIE_R {
EOSMPIE_R::new(((self.bits >> 1) & 1) != 0)
}
#[doc = "Bit 0 - ADC ready interrupt"]
#[inline(always)]
pub fn adrdyie(&self) -> ADRDYIE_R {
ADRDYIE_R::new((self.bits & 1) != 0)
}
}
impl W {
#[doc = "Bit 10 - ADC group injected contexts queue overflow interrupt"]
#[inline(always)]
pub fn jqovfie(&mut self) -> JQOVFIE_W {
JQOVFIE_W::new(self)
}
#[doc = "Bit 9 - ADC analog watchdog 3 interrupt"]
#[inline(always)]
pub fn awd3ie(&mut self) -> AWD3IE_W {
AWD3IE_W::new(self)
}
#[doc = "Bit 8 - ADC analog watchdog 2 interrupt"]
#[inline(always)]
pub fn awd2ie(&mut self) -> AWD2IE_W {
AWD2IE_W::new(self)
}
#[doc = "Bit 7 - ADC analog watchdog 1 interrupt"]
#[inline(always)]
pub fn awd1ie(&mut self) -> AWD1IE_W {
AWD1IE_W::new(self)
}
#[doc = "Bit 6 - ADC group injected end of sequence conversions interrupt"]
#[inline(always)]
pub fn jeosie(&mut self) -> JEOSIE_W {
JEOSIE_W::new(self)
}
#[doc = "Bit 5 - ADC group injected end of unitary conversion interrupt"]
#[inline(always)]
pub fn jeocie(&mut self) -> JEOCIE_W {
JEOCIE_W::new(self)
}
#[doc = "Bit 4 - ADC group regular overrun interrupt"]
#[inline(always)]
pub fn ovrie(&mut self) -> OVRIE_W {
OVRIE_W::new(self)
}
#[doc = "Bit 3 - ADC group regular end of sequence conversions interrupt"]
#[inline(always)]
pub fn eosie(&mut self) -> EOSIE_W {
EOSIE_W::new(self)
}
#[doc = "Bit 2 - ADC group regular end of unitary conversion interrupt"]
#[inline(always)]
pub fn eocie(&mut self) -> EOCIE_W {
EOCIE_W::new(self)
}
#[doc = "Bit 1 - ADC group regular end of sampling interrupt"]
#[inline(always)]
pub fn eosmpie(&mut self) -> EOSMPIE_W {
EOSMPIE_W::new(self)
}
#[doc = "Bit 0 - ADC ready interrupt"]
#[inline(always)]
pub fn adrdyie(&mut self) -> ADRDYIE_W {
ADRDYIE_W::new(self)
}
#[doc = "Writes raw bits to the register."]
#[inline(always)]
pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
self.0.bits(bits);
self
}
}
#[doc = "ADC interrupt enable register\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [ier](index.html) module"]
pub struct IER_SPEC;
impl crate::RegisterSpec for IER_SPEC {
type Ux = u32;
}
#[doc = "`read()` method returns [ier::R](R) reader structure"]
impl crate::Readable for IER_SPEC {
type Reader = R;
}
#[doc = "`write(|w| ..)` method takes [ier::W](W) writer structure"]
impl crate::Writable for IER_SPEC {
type Writer = W;
}
#[doc = "`reset()` method sets IER to value 0"]
impl crate::Resettable for IER_SPEC {
#[inline(always)]
fn reset_value() -> Self::Ux {
0
}
}