[−][src]Struct atsams70n20b::afec0::afec_cgr::R
Value read from the register
Methods
impl R
[src]
pub fn bits(&self) -> u32
[src]
Value of the register as raw bits
pub fn gain0(&self) -> GAIN0_R
[src]
Bits 0:1 - Gain for Channel 0
pub fn gain1(&self) -> GAIN1_R
[src]
Bits 2:3 - Gain for Channel 1
pub fn gain2(&self) -> GAIN2_R
[src]
Bits 4:5 - Gain for Channel 2
pub fn gain3(&self) -> GAIN3_R
[src]
Bits 6:7 - Gain for Channel 3
pub fn gain4(&self) -> GAIN4_R
[src]
Bits 8:9 - Gain for Channel 4
pub fn gain5(&self) -> GAIN5_R
[src]
Bits 10:11 - Gain for Channel 5
pub fn gain6(&self) -> GAIN6_R
[src]
Bits 12:13 - Gain for Channel 6
pub fn gain7(&self) -> GAIN7_R
[src]
Bits 14:15 - Gain for Channel 7
pub fn gain8(&self) -> GAIN8_R
[src]
Bits 16:17 - Gain for Channel 8
pub fn gain9(&self) -> GAIN9_R
[src]
Bits 18:19 - Gain for Channel 9
pub fn gain10(&self) -> GAIN10_R
[src]
Bits 20:21 - Gain for Channel 10
pub fn gain11(&self) -> GAIN11_R
[src]
Bits 22:23 - Gain for Channel 11
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self