W

Struct W 

Source
pub struct W { /* private fields */ }
Expand description

Value to write to the register

Implementations§

Source§

impl W

Source

pub fn reset_value() -> W

Reset value of the register

Source

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

Writes raw bits to the register

Source

pub fn cgif1(&mut self) -> _CGIF1W<'_>

Bit 0 - Channel 1 Global interrupt clear

Source

pub fn ctcif1(&mut self) -> _CTCIF1W<'_>

Bit 1 - Channel 1 Transfer Complete clear

Source

pub fn chtif1(&mut self) -> _CHTIF1W<'_>

Bit 2 - Channel 1 Half Transfer clear

Source

pub fn cteif1(&mut self) -> _CTEIF1W<'_>

Bit 3 - Channel 1 Transfer Error clear

Source

pub fn cgif2(&mut self) -> _CGIF2W<'_>

Bit 4 - Channel 2 Global interrupt clear

Source

pub fn ctcif2(&mut self) -> _CTCIF2W<'_>

Bit 5 - Channel 2 Transfer Complete clear

Source

pub fn chtif2(&mut self) -> _CHTIF2W<'_>

Bit 6 - Channel 2 Half Transfer clear

Source

pub fn cteif2(&mut self) -> _CTEIF2W<'_>

Bit 7 - Channel 2 Transfer Error clear

Source

pub fn cgif3(&mut self) -> _CGIF3W<'_>

Bit 8 - Channel 3 Global interrupt clear

Source

pub fn ctcif3(&mut self) -> _CTCIF3W<'_>

Bit 9 - Channel 3 Transfer Complete clear

Source

pub fn chtif3(&mut self) -> _CHTIF3W<'_>

Bit 10 - Channel 3 Half Transfer clear

Source

pub fn cteif3(&mut self) -> _CTEIF3W<'_>

Bit 11 - Channel 3 Transfer Error clear

Source

pub fn cgif4(&mut self) -> _CGIF4W<'_>

Bit 12 - Channel 4 Global interrupt clear

Source

pub fn ctcif4(&mut self) -> _CTCIF4W<'_>

Bit 13 - Channel 4 Transfer Complete clear

Source

pub fn chtif4(&mut self) -> _CHTIF4W<'_>

Bit 14 - Channel 4 Half Transfer clear

Source

pub fn cteif4(&mut self) -> _CTEIF4W<'_>

Bit 15 - Channel 4 Transfer Error clear

Source

pub fn cgif5(&mut self) -> _CGIF5W<'_>

Bit 16 - Channel 5 Global interrupt clear

Source

pub fn ctcif5(&mut self) -> _CTCIF5W<'_>

Bit 17 - Channel 5 Transfer Complete clear

Source

pub fn chtif5(&mut self) -> _CHTIF5W<'_>

Bit 18 - Channel 5 Half Transfer clear

Source

pub fn cteif5(&mut self) -> _CTEIF5W<'_>

Bit 19 - Channel 5 Transfer Error clear

Source

pub fn cgif6(&mut self) -> _CGIF6W<'_>

Bit 20 - Channel 6 Global interrupt clear

Source

pub fn ctcif6(&mut self) -> _CTCIF6W<'_>

Bit 21 - Channel 6 Transfer Complete clear

Source

pub fn chtif6(&mut self) -> _CHTIF6W<'_>

Bit 22 - Channel 6 Half Transfer clear

Source

pub fn cteif6(&mut self) -> _CTEIF6W<'_>

Bit 23 - Channel 6 Transfer Error clear

Source

pub fn cgif7(&mut self) -> _CGIF7W<'_>

Bit 24 - Channel 7 Global interrupt clear

Source

pub fn ctcif7(&mut self) -> _CTCIF7W<'_>

Bit 25 - Channel 7 Transfer Complete clear

Source

pub fn chtif7(&mut self) -> _CHTIF7W<'_>

Bit 26 - Channel 7 Half Transfer clear

Source

pub fn cteif7(&mut self) -> _CTEIF7W<'_>

Bit 27 - Channel 7 Transfer Error clear

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<T> Same for T

Source§

type Output = T

Should always be Self
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.