[][src]Enum stm32l4xx_hal::stm32::gpioa::pupdr::PUPDR15R

pub enum PUPDR15R {
    FLOATING,
    PULLUP,
    PULLDOWN,
    _Reserved(u8),
}

Possible values of the field PUPDR15

Variants

FLOATING

No pull-up, pull-down

PULLUP

Pull-up

PULLDOWN

Pull-down

_Reserved(u8)

Reserved

Methods

impl PUPDR15R[src]

pub fn bits(&self) -> u8[src]

Value of the field as raw bits

pub fn is_floating(&self) -> bool[src]

Checks if the value of the field is FLOATING

pub fn is_pull_up(&self) -> bool[src]

Checks if the value of the field is PULLUP

pub fn is_pull_down(&self) -> bool[src]

Checks if the value of the field is PULLDOWN

Trait Implementations

impl Debug for PUPDR15R[src]

impl PartialEq<PUPDR15R> for PUPDR15R[src]

impl Copy for PUPDR15R[src]

impl Clone for PUPDR15R[src]

fn clone_from(&mut self, source: &Self)
1.0.0
[src]

Performs copy-assignment from source. Read more

Auto Trait Implementations

impl Send for PUPDR15R

impl Sync for PUPDR15R

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]

impl<T> Same for T

type Output = T

Should always be Self