pub struct W(_);
Expand description

Register EM23PERNORETAINCTRL writer

Implementations§

source§

impl W

source

pub fn acmp0dis(&mut self) -> ACMP0DIS_W<'_, 0>

Bit 0 - Allow Power Down of ACMP0 During EM23

source

pub fn acmp1dis(&mut self) -> ACMP1DIS_W<'_, 1>

Bit 1 - Allow Power Down of ACMP1 During EM23

source

pub fn pcnt0dis(&mut self) -> PCNT0DIS_W<'_, 2>

Bit 2 - Allow Power Down of PCNT0 During EM23

source

pub fn pcnt1dis(&mut self) -> PCNT1DIS_W<'_, 3>

Bit 3 - Allow Power Down of PCNT1 During EM23

source

pub fn pcnt2dis(&mut self) -> PCNT2DIS_W<'_, 4>

Bit 4 - Allow Power Down of PCNT2 During EM23

source

pub fn i2c0dis(&mut self) -> I2C0DIS_W<'_, 5>

Bit 5 - Allow Power Down of I2C0 During EM23

source

pub fn i2c1dis(&mut self) -> I2C1DIS_W<'_, 6>

Bit 6 - Allow Power Down of I2C1 During EM23

source

pub fn vdac0dis(&mut self) -> VDAC0DIS_W<'_, 7>

Bit 7 - Allow Power Down of DAC0 During EM23

source

pub fn idac0dis(&mut self) -> IDAC0DIS_W<'_, 8>

Bit 8 - Allow Power Down of IDAC0 During EM23

source

pub fn adc0dis(&mut self) -> ADC0DIS_W<'_, 9>

Bit 9 - Allow Power Down of ADC0 During EM23

source

pub fn letimer0dis(&mut self) -> LETIMER0DIS_W<'_, 10>

Bit 10 - Allow Power Down of LETIMER0 During EM23

source

pub fn wdog0dis(&mut self) -> WDOG0DIS_W<'_, 11>

Bit 11 - Allow Power Down of WDOG0 During EM23

source

pub fn wdog1dis(&mut self) -> WDOG1DIS_W<'_, 12>

Bit 12 - Allow Power Down of WDOG1 During EM23

source

pub fn lesense0dis(&mut self) -> LESENSE0DIS_W<'_, 13>

Bit 13 - Allow Power Down of LESENSE0 During EM23

source

pub fn csendis(&mut self) -> CSENDIS_W<'_, 14>

Bit 14 - Allow Power Down of CSEN During EM23

source

pub fn leuart0dis(&mut self) -> LEUART0DIS_W<'_, 15>

Bit 15 - Allow Power Down of LEUART0 During EM23

source

pub fn leuart1dis(&mut self) -> LEUART1DIS_W<'_, 16>

Bit 16 - Allow Power Down of LEUART1 During EM23

source

pub fn lcddis(&mut self) -> LCDDIS_W<'_, 17>

Bit 17 - Allow Power Down of LCD During EM23

source

pub fn letimer1dis(&mut self) -> LETIMER1DIS_W<'_, 18>

Bit 18 - Allow Power Down of LETIMER1 During EM23

source

pub fn i2c2dis(&mut self) -> I2C2DIS_W<'_, 19>

Bit 19 - Allow Power Down of I2C2 During EM23

source

pub fn adc1dis(&mut self) -> ADC1DIS_W<'_, 20>

Bit 20 - Allow Power Down of ADC1 During EM23

source

pub fn acmp2dis(&mut self) -> ACMP2DIS_W<'_, 21>

Bit 21 - Allow Power Down of ACMP2 During EM23

source

pub fn acmp3dis(&mut self) -> ACMP3DIS_W<'_, 22>

Bit 22 - Allow Power Down of ACMP3 During EM23

source

pub fn rtcdis(&mut self) -> RTCDIS_W<'_, 23>

Bit 23 - Allow Power Down of RTC During EM23

source

pub fn usbdis(&mut self) -> USBDIS_W<'_, 24>

Bit 24 - Allow Power Down of USB During EM23

source

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self

Writes raw bits to the register.

Methods from Deref<Target = W<EM23PERNORETAINCTRL_SPEC>>§

source

pub unsafe fn bits(&mut self, bits: REG::Ux) -> &mut Self

Writes raw bits to the register.

Safety

Read datasheet or reference manual to find what values are allowed to pass.

Trait Implementations§

source§

impl Deref for W

§

type Target = W<EM23PERNORETAINCTRL_SPEC>

The resulting type after dereferencing.
source§

fn deref(&self) -> &Self::Target

Dereferences the value.
source§

impl DerefMut for W

source§

fn deref_mut(&mut self) -> &mut Self::Target

Mutably dereferences the value.
source§

impl From<W<EM23PERNORETAINCTRL_SPEC>> for W

source§

fn from(writer: W<EM23PERNORETAINCTRL_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for W

§

impl Send for W

§

impl Sync for W

§

impl Unpin for W

§

impl UnwindSafe for W

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.