Enum nrf52840_hal::gpio::p1::OpenDrainConfig
source · pub enum OpenDrainConfig {
Disconnect0Standard1,
Disconnect0HighDrive1,
Standard0Disconnect1,
HighDrive0Disconnect1,
}
Expand description
Pin configuration for open-drain mode
Variants
Disconnect0Standard1
Disconnect0HighDrive1
Standard0Disconnect1
HighDrive0Disconnect1
Auto Trait Implementations
impl RefUnwindSafe for OpenDrainConfig
impl Send for OpenDrainConfig
impl Sync for OpenDrainConfig
impl Unpin for OpenDrainConfig
impl UnwindSafe for OpenDrainConfig
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