pub struct R(_);
Expand description

Register SWLEVEL reader

Implementations§

source§

impl R

source

pub fn ch0level(&self) -> CH0LEVEL_R

Bit 0 - Channel 0 Software Level

source

pub fn ch1level(&self) -> CH1LEVEL_R

Bit 1 - Channel 1 Software Level

source

pub fn ch2level(&self) -> CH2LEVEL_R

Bit 2 - Channel 2 Software Level

source

pub fn ch3level(&self) -> CH3LEVEL_R

Bit 3 - Channel 3 Software Level

source

pub fn ch4level(&self) -> CH4LEVEL_R

Bit 4 - Channel 4 Software Level

source

pub fn ch5level(&self) -> CH5LEVEL_R

Bit 5 - Channel 5 Software Level

source

pub fn ch6level(&self) -> CH6LEVEL_R

Bit 6 - Channel 6 Software Level

source

pub fn ch7level(&self) -> CH7LEVEL_R

Bit 7 - Channel 7 Software Level

source

pub fn ch8level(&self) -> CH8LEVEL_R

Bit 8 - Channel 8 Software Level

source

pub fn ch9level(&self) -> CH9LEVEL_R

Bit 9 - Channel 9 Software Level

source

pub fn ch10level(&self) -> CH10LEVEL_R

Bit 10 - Channel 10 Software Level

source

pub fn ch11level(&self) -> CH11LEVEL_R

Bit 11 - Channel 11 Software Level

source

pub fn ch12level(&self) -> CH12LEVEL_R

Bit 12 - Channel 12 Software Level

source

pub fn ch13level(&self) -> CH13LEVEL_R

Bit 13 - Channel 13 Software Level

source

pub fn ch14level(&self) -> CH14LEVEL_R

Bit 14 - Channel 14 Software Level

source

pub fn ch15level(&self) -> CH15LEVEL_R

Bit 15 - Channel 15 Software Level

source

pub fn ch16level(&self) -> CH16LEVEL_R

Bit 16 - Channel 16 Software Level

source

pub fn ch17level(&self) -> CH17LEVEL_R

Bit 17 - Channel 17 Software Level

source

pub fn ch18level(&self) -> CH18LEVEL_R

Bit 18 - Channel 18 Software Level

source

pub fn ch19level(&self) -> CH19LEVEL_R

Bit 19 - Channel 19 Software Level

source

pub fn ch20level(&self) -> CH20LEVEL_R

Bit 20 - Channel 20 Software Level

source

pub fn ch21level(&self) -> CH21LEVEL_R

Bit 21 - Channel 21 Software Level

source

pub fn ch22level(&self) -> CH22LEVEL_R

Bit 22 - Channel 22 Software Level

source

pub fn ch23level(&self) -> CH23LEVEL_R

Bit 23 - Channel 23 Software Level

Methods from Deref<Target = R<SWLEVEL_SPEC>>§

source

pub fn bits(&self) -> REG::Ux

Reads raw bits from register.

Trait Implementations§

source§

impl Deref for R

§

type Target = R<SWLEVEL_SPEC>

The resulting type after dereferencing.
source§

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

Dereferences the value.
source§

impl From<R<SWLEVEL_SPEC>> for R

source§

fn from(reader: R<SWLEVEL_SPEC>) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl RefUnwindSafe for R

§

impl Send for R

§

impl Sync for R

§

impl Unpin for R

§

impl UnwindSafe for R

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.