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 gr5_4(&self) -> GR5_4R

Bit 29 - GR5_4 analog switch control

Source

pub fn gr6_4(&self) -> GR6_4R

Bit 28 - GR6_4 analog switch control

Source

pub fn gr6_3(&self) -> GR6_3R

Bit 27 - GR6_3 analog switch control

Source

pub fn gr7_7(&self) -> GR7_7R

Bit 26 - GR7_7 analog switch control

Source

pub fn gr7_6(&self) -> GR7_6R

Bit 25 - GR7_6 analog switch control

Source

pub fn gr7_5(&self) -> GR7_5R

Bit 24 - GR7_5 analog switch control

Source

pub fn gr2_5(&self) -> GR2_5R

Bit 23 - GR2_5 analog switch control

Source

pub fn gr2_4(&self) -> GR2_4R

Bit 22 - GR2_4 analog switch control

Source

pub fn gr2_3(&self) -> GR2_3R

Bit 21 - GR2_3 analog switch control

Source

pub fn gr9_4(&self) -> GR9_4R

Bit 20 - GR9_4 analog switch control

Source

pub fn gr9_3(&self) -> GR9_3R

Bit 19 - GR9_3 analog switch control

Source

pub fn gr3_5(&self) -> GR3_5R

Bit 18 - GR3_5 analog switch control

Source

pub fn gr3_4(&self) -> GR3_4R

Bit 17 - GR3_4 analog switch control

Source

pub fn gr3_3(&self) -> GR3_3R

Bit 16 - GR3_3 analog switch control

Source

pub fn gr4_3(&self) -> GR4_3R

Bit 11 - GR4_3 analog switch control

Source

pub fn gr4_2(&self) -> GR4_2R

Bit 10 - GR4_2 analog switch control

Source

pub fn gr4_1(&self) -> GR4_1R

Bit 9 - GR4_1 analog switch control

Source

pub fn gr5_3(&self) -> GR5_3R

Bit 8 - GR5_3 analog switch control

Source

pub fn gr5_2(&self) -> GR5_2R

Bit 7 - GR5_2 analog switch control

Source

pub fn gr5_1(&self) -> GR5_1R

Bit 6 - GR5_1 analog switch control

Source

pub fn gr6_2(&self) -> GR6_2R

Bit 5 - GR6_2 analog switch control

Source

pub fn gr6_1(&self) -> GR6_1R

Bit 4 - GR6_1 analog switch control

Source

pub fn gr10_4(&self) -> GR10_4R

Bit 3 - GR10_4 analog switch control

Source

pub fn gr10_3(&self) -> GR10_3R

Bit 2 - GR10_3 analog switch control

Source

pub fn gr10_2(&self) -> GR10_2R

Bit 1 - GR10_2 analog switch control

Source

pub fn gr10_1(&self) -> GR10_1R

Bit 0 - GR10_1 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.