[][src]Struct atsams70j20b::afec0::afec_cgr::W

pub struct W { /* fields omitted */ }

Value to write to the register

Methods

impl W[src]

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

Auto Trait Implementations

impl Unpin for W

impl Sync for W

impl Send for W

Blanket Implementations

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

type Error = Infallible

The type returned in the event of a conversion error.

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

impl<T> From<T> for T[src]

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

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

The type returned in the event of a conversion error.

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

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

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

impl<T> Same<T> for T

type Output = T

Should always be Self