pub enum AFType {
OutputPushPull = 2,
OutputOpenDrain = 3,
}Variants§
OutputPushPull = 2
Output, drive the pin both high or low.
OutputOpenDrain = 3
Output, drive the pin low, or don’t drive it at all if the output level is high.
Trait Implementations§
impl Copy for AFType
Source§impl From<OutputType> for AFType
impl From<OutputType> for AFType
Source§fn from(value: OutputType) -> Self
fn from(value: OutputType) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AFType
impl RefUnwindSafe for AFType
impl Send for AFType
impl Sync for AFType
impl Unpin for AFType
impl UnsafeUnpin for AFType
impl UnwindSafe for AFType
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)