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

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

pub fn reset_value() -> W[src]

Reset value of the register

pub unsafe fn bits(&mut self, bits: u32) -> &mut Self[src]

Writes raw bits to the register

pub fn gain0(&mut self) -> _GAIN0W[src]

Bits 0:1 - Gain for Channel 0

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

Bits 2:3 - Gain for Channel 1

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

Bits 4:5 - Gain for Channel 2

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

Bits 6:7 - Gain for Channel 3

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

Bits 8:9 - Gain for Channel 4

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

Bits 10:11 - Gain for Channel 5

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

Bits 12:13 - Gain for Channel 6

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

Bits 14:15 - Gain for Channel 7

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

Bits 16:17 - Gain for Channel 8

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

Bits 18:19 - Gain for Channel 9

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

Bits 20:21 - Gain for Channel 10

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

Bits 22:23 - Gain for Channel 11

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

Bits 24:25 - Gain for Channel 12

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

Bits 26:27 - Gain for Channel 13

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

Bits 28:29 - Gain for Channel 14

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

Bits 30:31 - Gain for Channel 15

Auto Trait Implementations

impl Send for W

impl Sync for W

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]