Enum stm32f429i_disc::gpiob::moder::MODER15R
pub enum MODER15R {
INPUT,
OUTPUT,
ALTERNATE,
ANALOG,
}
Expand description
Possible values of the field MODER15
Variants
INPUT
Input mode (reset state)
OUTPUT
General purpose output mode
ALTERNATE
Alternate function mode
ANALOG
Analog mode
Implementations
impl MODER15R
impl MODER15R
pub fn is_alternate(&self) -> bool
pub fn is_alternate(&self) -> bool
Checks if the value of the field is ALTERNATE
Trait Implementations
impl Copy for MODER15R
impl StructuralPartialEq for MODER15R
Auto Trait Implementations
impl RefUnwindSafe for MODER15R
impl Send for MODER15R
impl Sync for MODER15R
impl Unpin for MODER15R
impl UnwindSafe for MODER15R
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more