Struct R

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

Value read from the register

Implementations§

Source§

impl R

Source

pub fn bits(&self) -> u32

Value of the register as raw bits

Source

pub fn scm(&self) -> SCMR

Bit 31 - Switch control mode

Source

pub fn ch30gr11_4(&self) -> CH30GR11_4R

Bit 30 - Analog switch control

Source

pub fn ch29gr11_3(&self) -> CH29GR11_3R

Bit 29 - Analog switch control

Source

pub fn ch28gr11_2(&self) -> CH28GR11_2R

Bit 28 - Analog switch control

Source

pub fn ch27gr11_1(&self) -> CH27GR11_1R

Bit 27 - Analog switch control

Source

pub fn vcomp(&self) -> VCOMPR

Bit 26 - ADC analog switch selection for internal node to comparator 1

Source

pub fn ch25(&self) -> CH25R

Bit 25 - Analog I/O switch control of channel CH25

Source

pub fn ch24(&self) -> CH24R

Bit 24 - Analog I/O switch control of channel CH24

Source

pub fn ch23(&self) -> CH23R

Bit 23 - Analog I/O switch control of channel CH23

Source

pub fn ch22(&self) -> CH22R

Bit 22 - Analog I/O switch control of channel CH22

Source

pub fn ch21gr7_4(&self) -> CH21GR7_4R

Bit 21 - Analog switch control

Source

pub fn ch20gr7_3(&self) -> CH20GR7_3R

Bit 20 - Analog switch control

Source

pub fn ch19gr7_2(&self) -> CH19GR7_2R

Bit 19 - Analog switch control

Source

pub fn ch18gr7_1(&self) -> CH18GR7_1R

Bit 18 - Analog switch control

Source

pub fn ch31gr7_1(&self) -> CH31GR7_1R

Bit 16 - Analog switch control

Source

pub fn ch15gr9_2(&self) -> CH15GR9_2R

Bit 15 - Analog switch control

Source

pub fn ch14gr9_1(&self) -> CH14GR9_1R

Bit 14 - Analog switch control

Source

pub fn ch13gr8_4(&self) -> CH13GR8_4R

Bit 13 - Analog switch control

Source

pub fn ch12gr8_3(&self) -> CH12GR8_3R

Bit 12 - Analog switch control

Source

pub fn ch11gr8_2(&self) -> CH11GR8_2R

Bit 11 - Analog switch control

Source

pub fn ch10gr8_1(&self) -> CH10GR8_1R

Bit 10 - Analog switch control

Source

pub fn ch9gr3_2(&self) -> CH9GR3_2R

Bit 9 - Analog switch control

Source

pub fn ch8gr3_1(&self) -> CH8GR3_1R

Bit 8 - Analog switch control

Source

pub fn ch7gr2_2(&self) -> CH7GR2_2R

Bit 7 - Analog switch control

Source

pub fn ch6gr2_1(&self) -> CH6GR2_1R

Bit 6 - Analog switch control

Source

pub fn comp1_sw1(&self) -> COMP1_SW1R

Bit 5 - Comparator 1 analog switch

Source

pub fn ch31gr11_5(&self) -> CH31GR11_5R

Bit 4 - Analog switch control

Source

pub fn ch3gr1_4(&self) -> CH3GR1_4R

Bit 3 - Analog switch control

Source

pub fn ch2gr1_3(&self) -> CH2GR1_3R

Bit 2 - Analog switch control

Source

pub fn ch1gr1_2(&self) -> CH1GR1_2R

Bit 1 - Analog switch control

Source

pub fn ch0gr1_1(&self) -> CH0GR1_1R

Bit 0 - Analog switch control

Auto Trait Implementations§

§

impl Freeze for R

§

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 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, 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.