pub struct W(_);
Expand description

Register SWLEVEL writer

Implementations§

source§

impl W

source

pub fn ch0level(&mut self) -> CH0LEVEL_W<'_, 0>

Bit 0 - Channel 0 Software Level

source

pub fn ch1level(&mut self) -> CH1LEVEL_W<'_, 1>

Bit 1 - Channel 1 Software Level

source

pub fn ch2level(&mut self) -> CH2LEVEL_W<'_, 2>

Bit 2 - Channel 2 Software Level

source

pub fn ch3level(&mut self) -> CH3LEVEL_W<'_, 3>

Bit 3 - Channel 3 Software Level

source

pub fn ch4level(&mut self) -> CH4LEVEL_W<'_, 4>

Bit 4 - Channel 4 Software Level

source

pub fn ch5level(&mut self) -> CH5LEVEL_W<'_, 5>

Bit 5 - Channel 5 Software Level

source

pub fn ch6level(&mut self) -> CH6LEVEL_W<'_, 6>

Bit 6 - Channel 6 Software Level

source

pub fn ch7level(&mut self) -> CH7LEVEL_W<'_, 7>

Bit 7 - Channel 7 Software Level

source

pub fn ch8level(&mut self) -> CH8LEVEL_W<'_, 8>

Bit 8 - Channel 8 Software Level

source

pub fn ch9level(&mut self) -> CH9LEVEL_W<'_, 9>

Bit 9 - Channel 9 Software Level

source

pub fn ch10level(&mut self) -> CH10LEVEL_W<'_, 10>

Bit 10 - Channel 10 Software Level

source

pub fn ch11level(&mut self) -> CH11LEVEL_W<'_, 11>

Bit 11 - Channel 11 Software Level

source

pub fn ch12level(&mut self) -> CH12LEVEL_W<'_, 12>

Bit 12 - Channel 12 Software Level

source

pub fn ch13level(&mut self) -> CH13LEVEL_W<'_, 13>

Bit 13 - Channel 13 Software Level

source

pub fn ch14level(&mut self) -> CH14LEVEL_W<'_, 14>

Bit 14 - Channel 14 Software Level

source

pub fn ch15level(&mut self) -> CH15LEVEL_W<'_, 15>

Bit 15 - Channel 15 Software Level

source

pub fn ch16level(&mut self) -> CH16LEVEL_W<'_, 16>

Bit 16 - Channel 16 Software Level

source

pub fn ch17level(&mut self) -> CH17LEVEL_W<'_, 17>

Bit 17 - Channel 17 Software Level

source

pub fn ch18level(&mut self) -> CH18LEVEL_W<'_, 18>

Bit 18 - Channel 18 Software Level

source

pub fn ch19level(&mut self) -> CH19LEVEL_W<'_, 19>

Bit 19 - Channel 19 Software Level

source

pub fn ch20level(&mut self) -> CH20LEVEL_W<'_, 20>

Bit 20 - Channel 20 Software Level

source

pub fn ch21level(&mut self) -> CH21LEVEL_W<'_, 21>

Bit 21 - Channel 21 Software Level

source

pub fn ch22level(&mut self) -> CH22LEVEL_W<'_, 22>

Bit 22 - Channel 22 Software Level

source

pub fn ch23level(&mut self) -> CH23LEVEL_W<'_, 23>

Bit 23 - Channel 23 Software Level

source

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

Writes raw bits to the register.

Methods from Deref<Target = W<SWLEVEL_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<SWLEVEL_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<SWLEVEL_SPEC>> for W

source§

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