Enum stm32_hal2::gpio::PinState
source · [−]#[repr(u8)]
pub enum PinState {
High,
Low,
}
Expand description
Values for GPIOx_IDR
and GPIOx_ODR
.
Variants
High
Low
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PinState
impl Send for PinState
impl Sync for PinState
impl Unpin for PinState
impl UnwindSafe for PinState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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