Enum stm32f0x2::gpioa::otyper::OT15R
[−]
[src]
pub enum OT15R { PUSHPULL, OPENDRAIN, }
Possible values of the field OT15
Variants
PUSHPULL
Output push-pull (reset state)
OPENDRAIN
Output open-drain
Methods
impl OT15R
[src]
fn bit_is_clear(&self) -> bool
[src]
Returns true
if the bit is clear (0)
fn bit_is_set(&self) -> bool
[src]
Returns true
if the bit is set (1)
fn bit(&self) -> bool
[src]
Value of the field as raw bits
fn is_push_pull(&self) -> bool
[src]
Checks if the value of the field is PUSHPULL
fn is_open_drain(&self) -> bool
[src]
Checks if the value of the field is OPENDRAIN
Trait Implementations
impl Clone for OT15R
[src]
fn clone(&self) -> OT15R
[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