Type Alias W

Source
pub type W = W<IERrs>;
Expand description

Register IER writer

Aliased Type§

struct W { /* private fields */ }

Implementations§

Source§

impl W

Source

pub fn adrdyie(&mut self) -> ADRDYIE_W<'_, IERrs>

Bit 0 - ADC ready interrupt enable This bit is set and cleared by software to enable/disable the ADC Ready interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).

Source

pub fn eosmpie(&mut self) -> EOSMPIE_W<'_, IERrs>

Bit 1 - End of sampling flag interrupt enable This bit is set and cleared by software to enable/disable the end of the sampling phase interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).

Source

pub fn eocie(&mut self) -> EOCIE_W<'_, IERrs>

Bit 2 - End of conversion interrupt enable This bit is set and cleared by software to enable/disable the end of conversion interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).

Source

pub fn eosie(&mut self) -> EOSIE_W<'_, IERrs>

Bit 3 - End of conversion sequence interrupt enable This bit is set and cleared by software to enable/disable the end of sequence of conversions interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).

Source

pub fn ovrie(&mut self) -> OVRIE_W<'_, IERrs>

Bit 4 - Overrun interrupt enable This bit is set and cleared by software to enable/disable the overrun interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).

Source

pub fn awdie(&mut self, n: u8) -> AWDIE_W<'_, IERrs>

Analog watchdog (1-3) interrupt enable

`n` is number of field in register. `n == 0` corresponds to `AWD1IE` field.
Source

pub fn awd1ie(&mut self) -> AWDIE_W<'_, IERrs>

Bit 7 - Analog watchdog 1 interrupt enable

Source

pub fn awd2ie(&mut self) -> AWDIE_W<'_, IERrs>

Bit 8 - Analog watchdog 2 interrupt enable

Source

pub fn awd3ie(&mut self) -> AWDIE_W<'_, IERrs>

Bit 9 - Analog watchdog 3 interrupt enable

Source

pub fn eocalie(&mut self) -> EOCALIE_W<'_, IERrs>

Bit 11 - End of calibration interrupt enable This bit is set and cleared by software to enable/disable the end of calibration interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).

Source

pub fn ccrdyie(&mut self) -> CCRDYIE_W<'_, IERrs>

Bit 13 - Channel Configuration Ready Interrupt enable This bit is set and cleared by software to enable/disable the channel configuration ready interrupt. Note: The software is allowed to write this bit only when ADSTART bit is cleared to 0 (this ensures that no conversion is ongoing).