W

Struct W 

Source
pub struct W(/* private fields */);
Expand description

Register CFGR writer

Implementations§

Source§

impl W

Source

pub fn awdch1ch(&mut self) -> AWDCH1CH_W<'_>

Bits 26:30 - AWDCH1CH

Source

pub fn jauto(&mut self) -> JAUTO_W<'_>

Bit 25 - JAUTO

Source

pub fn jawd1en(&mut self) -> JAWD1EN_W<'_>

Bit 24 - JAWD1EN

Source

pub fn awd1en(&mut self) -> AWD1EN_W<'_>

Bit 23 - AWD1EN

Source

pub fn awd1sgl(&mut self) -> AWD1SGL_W<'_>

Bit 22 - AWD1SGL

Source

pub fn jqm(&mut self) -> JQM_W<'_>

Bit 21 - JQM

Source

pub fn jdiscen(&mut self) -> JDISCEN_W<'_>

Bit 20 - JDISCEN

Source

pub fn discnum(&mut self) -> DISCNUM_W<'_>

Bits 17:19 - DISCNUM

Source

pub fn discen(&mut self) -> DISCEN_W<'_>

Bit 16 - DISCEN

Source

pub fn autoff(&mut self) -> AUTOFF_W<'_>

Bit 15 - AUTOFF

Source

pub fn autdly(&mut self) -> AUTDLY_W<'_>

Bit 14 - AUTDLY

Source

pub fn cont(&mut self) -> CONT_W<'_>

Bit 13 - CONT

Source

pub fn ovrmod(&mut self) -> OVRMOD_W<'_>

Bit 12 - OVRMOD

Source

pub fn exten(&mut self) -> EXTEN_W<'_>

Bits 10:11 - EXTEN

Source

pub fn extsel(&mut self) -> EXTSEL_W<'_>

Bits 6:9 - EXTSEL

Source

pub fn align(&mut self) -> ALIGN_W<'_>

Bit 5 - ALIGN

Source

pub fn res(&mut self) -> RES_W<'_>

Bits 3:4 - RES

Source

pub fn dmacfg(&mut self) -> DMACFG_W<'_>

Bit 1 - DMACFG

Source

pub fn dmaen(&mut self) -> DMAEN_W<'_>

Bit 0 - DMAEN

Source

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

Writes raw bits to the register.

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

Source

pub unsafe fn bits(&mut self, bits: <REG as RegisterSpec>::Ux) -> &mut W<REG>

Writes raw bits to the register.

Trait Implementations§

Source§

impl Deref for W

Source§

type Target = W<CFGR_SPEC>

The resulting type after dereferencing.
Source§

fn deref(&self) -> &<W as Deref>::Target

Dereferences the value.
Source§

impl DerefMut for W

Source§

fn deref_mut(&mut self) -> &mut <W as Deref>::Target

Mutably dereferences the value.
Source§

impl From<W<CFGR_SPEC>> for W

Source§

fn from(writer: W<CFGR_SPEC>) -> W

Converts to this type from the input type.

Auto Trait Implementations§

§

impl Freeze for W

§

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 T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
Source§

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

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.