pub struct W(_);
Expand description

Register EM23PERNORETAINCMD writer

Implementations§

source§

impl W

source

pub fn acmp0unlock(&mut self) -> ACMP0UNLOCK_W<'_, 0>

Bit 0 - Clears Status Bit of ACMP0 and Unlocks Access to It

source

pub fn acmp1unlock(&mut self) -> ACMP1UNLOCK_W<'_, 1>

Bit 1 - Clears Status Bit of ACMP1 and Unlocks Access to It

source

pub fn pcnt0unlock(&mut self) -> PCNT0UNLOCK_W<'_, 2>

Bit 2 - Clears Status Bit of PCNT0 and Unlocks Access to It

source

pub fn pcnt1unlock(&mut self) -> PCNT1UNLOCK_W<'_, 3>

Bit 3 - Clears Status Bit of PCNT1 and Unlocks Access to It

source

pub fn pcnt2unlock(&mut self) -> PCNT2UNLOCK_W<'_, 4>

Bit 4 - Clears Status Bit of PCNT2 and Unlocks Access to It

source

pub fn i2c0unlock(&mut self) -> I2C0UNLOCK_W<'_, 5>

Bit 5 - Clears Status Bit of I2C0 and Unlocks Access to It

source

pub fn i2c1unlock(&mut self) -> I2C1UNLOCK_W<'_, 6>

Bit 6 - Clears Status Bit of I2C1 and Unlocks Access to It

source

pub fn dac0unlock(&mut self) -> DAC0UNLOCK_W<'_, 7>

Bit 7 - Clears Status Bit of DAC0 and Unlocks Access to It

source

pub fn idac0unlock(&mut self) -> IDAC0UNLOCK_W<'_, 8>

Bit 8 - Clears Status Bit of IDAC0 and Unlocks Access to It

source

pub fn adc0unlock(&mut self) -> ADC0UNLOCK_W<'_, 9>

Bit 9 - Clears Status Bit of ADC0 and Unlocks Access to It

source

pub fn letimer0unlock(&mut self) -> LETIMER0UNLOCK_W<'_, 10>

Bit 10 - Clears Status Bit of LETIMER0 and Unlocks Access to It

source

pub fn wdog0unlock(&mut self) -> WDOG0UNLOCK_W<'_, 11>

Bit 11 - Clears Status Bit of WDOG0 and Unlocks Access to It

source

pub fn wdog1unlock(&mut self) -> WDOG1UNLOCK_W<'_, 12>

Bit 12 - Clears Status Bit of WDOG1 and Unlocks Access to It

source

pub fn lesense0unlock(&mut self) -> LESENSE0UNLOCK_W<'_, 13>

Bit 13 - Clears Status Bit of LESENSE0 and Unlocks Access to It

source

pub fn csenunlock(&mut self) -> CSENUNLOCK_W<'_, 14>

Bit 14 - Clears Status Bit of CSEN and Unlocks Access to It

source

pub fn leuart0unlock(&mut self) -> LEUART0UNLOCK_W<'_, 15>

Bit 15 - Clears Status Bit of LEUART0 and Unlocks Access to It

source

pub fn leuart1unlock(&mut self) -> LEUART1UNLOCK_W<'_, 16>

Bit 16 - Clears Status Bit of LEUART1 and Unlocks Access to It

source

pub fn lcdunlock(&mut self) -> LCDUNLOCK_W<'_, 17>

Bit 17 - Clears Status Bit of LCD and Unlocks Access to It

source

pub fn letimer1unlock(&mut self) -> LETIMER1UNLOCK_W<'_, 18>

Bit 18 - Clears Status Bit of LETIMER1 and Unlocks Access to It

source

pub fn i2c2unlock(&mut self) -> I2C2UNLOCK_W<'_, 19>

Bit 19 - Clears Status Bit of I2C2 and Unlocks Access to It

source

pub fn adc1unlock(&mut self) -> ADC1UNLOCK_W<'_, 20>

Bit 20 - Clears Status Bit of ADC1 and Unlocks Access to It

source

pub fn acmp2unlock(&mut self) -> ACMP2UNLOCK_W<'_, 21>

Bit 21 - Clears Status Bit of ACMP2 and Unlocks Access to It

source

pub fn acmp3unlock(&mut self) -> ACMP3UNLOCK_W<'_, 22>

Bit 22 - Clears Status Bit of ACMP3 and Unlocks Access to It

source

pub fn rtcunlock(&mut self) -> RTCUNLOCK_W<'_, 23>

Bit 23 - Clears Status Bit of RTC and Unlocks Access to It

source

pub fn usbunlock(&mut self) -> USBUNLOCK_W<'_, 24>

Bit 24 - Clears Status Bit of USB and Unlocks Access to It

source

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

Writes raw bits to the register.

Methods from Deref<Target = W<EM23PERNORETAINCMD_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<EM23PERNORETAINCMD_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<EM23PERNORETAINCMD_SPEC>> for W

source§

fn from(writer: W<EM23PERNORETAINCMD_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.