[][src]Struct ambiq_apollo3_pac::gpio::padrega::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 pad3pwrup(&self) -> PAD3PWRUPR[src]

Bit 30 - Pad 3 VDD power switch enable

pub fn pad3fncsel(&self) -> PAD3FNCSELR[src]

Bits 27:29 - Pad 3 function select

pub fn pad3strng(&self) -> PAD3STRNGR[src]

Bit 26 - Pad 3 drive strength.

pub fn pad3inpen(&self) -> PAD3INPENR[src]

Bit 25 - Pad 3 input enable.

pub fn pad3pull(&self) -> PAD3PULLR[src]

Bit 24 - Pad 3 pullup enable

pub fn pad2fncsel(&self) -> PAD2FNCSELR[src]

Bits 19:21 - Pad 2 function select

pub fn pad2strng(&self) -> PAD2STRNGR[src]

Bit 18 - Pad 2 drive strength

pub fn pad2inpen(&self) -> PAD2INPENR[src]

Bit 17 - Pad 2 input enable

pub fn pad2pull(&self) -> PAD2PULLR[src]

Bit 16 - Pad 2 pullup enable

pub fn pad1rsel(&self) -> PAD1RSELR[src]

Bits 14:15 - Pad 1 pullup resistor selection.

pub fn pad1fncsel(&self) -> PAD1FNCSELR[src]

Bits 11:13 - Pad 1 function select

pub fn pad1strng(&self) -> PAD1STRNGR[src]

Bit 10 - Pad 1 drive strength

pub fn pad1inpen(&self) -> PAD1INPENR[src]

Bit 9 - Pad 1 input enable

pub fn pad1pull(&self) -> PAD1PULLR[src]

Bit 8 - Pad 1 pullup enable

pub fn pad0rsel(&self) -> PAD0RSELR[src]

Bits 6:7 - Pad 0 pullup resistor selection.

pub fn pad0fncsel(&self) -> PAD0FNCSELR[src]

Bits 3:5 - Pad 0 function select

pub fn pad0strng(&self) -> PAD0STRNGR[src]

Bit 2 - Pad 0 drive strength

pub fn pad0inpen(&self) -> PAD0INPENR[src]

Bit 1 - Pad 0 input enable

pub fn pad0pull(&self) -> PAD0PULLR[src]

Bit 0 - Pad 0 pullup enable

Auto Trait Implementations

impl Send for R

impl Sync for R

Blanket Implementations

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

type Error = Infallible

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

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]

impl<T> Same for T

type Output = T

Should always be Self