Enum stm32f0x2::gpioa::ospeedr::OSPEEDR15R
[−]
[src]
pub enum OSPEEDR15R { LOWSPEED, MEDIUMSPEED, HIGHSPEED, _Reserved(u8), }
Possible values of the field OSPEEDR15
Variants
LOWSPEED
Low Speed
MEDIUMSPEED
Medium Speed
HIGHSPEED
High Speed
_Reserved(u8)
Reserved
Methods
impl OSPEEDR15R
[src]
fn bits(&self) -> u8
[src]
Value of the field as raw bits
fn is_low_speed(&self) -> bool
[src]
Checks if the value of the field is LOWSPEED
fn is_medium_speed(&self) -> bool
[src]
Checks if the value of the field is MEDIUMSPEED
fn is_high_speed(&self) -> bool
[src]
Checks if the value of the field is HIGHSPEED
Trait Implementations
impl Clone for OSPEEDR15R
[src]
fn clone(&self) -> OSPEEDR15R
[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
impl Copy for OSPEEDR15R
[src]
impl Debug for OSPEEDR15R
[src]
impl PartialEq for OSPEEDR15R
[src]
fn eq(&self, __arg_0: &OSPEEDR15R) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &OSPEEDR15R) -> bool
[src]
This method tests for !=
.