Enum stm32f0x2::gpioa::pupdr::PUPDR15R
[−]
[src]
pub enum PUPDR15R { NOPULL, PULLUP, PULLDOWN, }
Possible values of the field PUPDR15
Variants
NOPULL
No pull-up, pull-down
PULLUP
Pull-up
PULLDOWN
Pull-down
Methods
impl PUPDR15R
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_no_pull(&self) -> bool
[src]
Checks if the value of the field is NOPULL
fn is_pull_up(&self) -> bool
[src]
Checks if the value of the field is PULLUP
fn is_pull_down(&self) -> bool
[src]
Checks if the value of the field is PULLDOWN
Trait Implementations
impl Clone for PUPDR15R
[src]
fn clone(&self) -> PUPDR15R
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more