Enum stm32f407g_disc::gpioi::ospeedr::OSPEEDR15R
pub enum OSPEEDR15R {
LOWSPEED,
MEDIUMSPEED,
HIGHSPEED,
VERYHIGHSPEED,
}
Expand description
Possible values of the field OSPEEDR15
Variants§
Implementations§
§impl OSPEEDR15R
impl OSPEEDR15R
pub fn is_low_speed(&self) -> bool
pub fn is_low_speed(&self) -> bool
Checks if the value of the field is LOWSPEED
pub fn is_medium_speed(&self) -> bool
pub fn is_medium_speed(&self) -> bool
Checks if the value of the field is MEDIUMSPEED
pub fn is_high_speed(&self) -> bool
pub fn is_high_speed(&self) -> bool
Checks if the value of the field is HIGHSPEED
pub fn is_very_high_speed(&self) -> bool
pub fn is_very_high_speed(&self) -> bool
Checks if the value of the field is VERYHIGHSPEED
Trait Implementations§
§impl Clone for OSPEEDR15R
impl Clone for OSPEEDR15R
§fn clone(&self) -> OSPEEDR15R
fn clone(&self) -> OSPEEDR15R
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more