[][src]Struct sam3x8e::adc::cgr::R

pub struct R { /* fields omitted */ }

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) -> GAIN0R[src]

Bits 0:1 - Gain for Channel 0

pub fn gain1(&self) -> GAIN1R[src]

Bits 2:3 - Gain for Channel 1

pub fn gain2(&self) -> GAIN2R[src]

Bits 4:5 - Gain for Channel 2

pub fn gain3(&self) -> GAIN3R[src]

Bits 6:7 - Gain for Channel 3

pub fn gain4(&self) -> GAIN4R[src]

Bits 8:9 - Gain for Channel 4

pub fn gain5(&self) -> GAIN5R[src]

Bits 10:11 - Gain for Channel 5

pub fn gain6(&self) -> GAIN6R[src]

Bits 12:13 - Gain for Channel 6

pub fn gain7(&self) -> GAIN7R[src]

Bits 14:15 - Gain for Channel 7

pub fn gain8(&self) -> GAIN8R[src]

Bits 16:17 - Gain for Channel 8

pub fn gain9(&self) -> GAIN9R[src]

Bits 18:19 - Gain for Channel 9

pub fn gain10(&self) -> GAIN10R[src]

Bits 20:21 - Gain for Channel 10

pub fn gain11(&self) -> GAIN11R[src]

Bits 22:23 - Gain for Channel 11

pub fn gain12(&self) -> GAIN12R[src]

Bits 24:25 - Gain for Channel 12

pub fn gain13(&self) -> GAIN13R[src]

Bits 26:27 - Gain for Channel 13

pub fn gain14(&self) -> GAIN14R[src]

Bits 28:29 - Gain for Channel 14

pub fn gain15(&self) -> GAIN15R[src]

Bits 30:31 - Gain for Channel 15

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]