Enum stm32_hal2::gpio::PinState
source · #[repr(u8)]pub enum PinState {
High = 1,
Low = 0,
}
Expand description
Values for GPIOx_IDR
and GPIOx_ODR
.
Variants§
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§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more