[][src]Struct efr32xg1::gpio::pa_model::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 mode0(&self) -> MODE0R
[src]

Bits 0:3 - Pin 0 Mode

pub fn mode1(&self) -> MODE1R
[src]

Bits 4:7 - Pin 1 Mode

pub fn mode2(&self) -> MODE2R
[src]

Bits 8:11 - Pin 2 Mode

pub fn mode3(&self) -> MODE3R
[src]

Bits 12:15 - Pin 3 Mode

pub fn mode4(&self) -> MODE4R
[src]

Bits 16:19 - Pin 4 Mode

pub fn mode5(&self) -> MODE5R
[src]

Bits 20:23 - Pin 5 Mode

pub fn mode6(&self) -> MODE6R
[src]

Bits 24:27 - Pin 6 Mode

pub fn mode7(&self) -> MODE7R
[src]

Bits 28:31 - Pin 7 Mode

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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

type Error = !

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

The type returned in the event of a conversion error.

impl<T> From for T
[src]

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]