pub struct OutputDrive { /* private fields */ }
Expand description
Drive strength settings for an output pin.
This is a combination of two drive levels, used when the pin is set low and high respectively.
Implementations§
Source§impl OutputDrive
impl OutputDrive
Sourcepub const HighDrive0Standard1: Self = _
pub const HighDrive0Standard1: Self = _
High drive ‘0’, standard ‘1’
Sourcepub const Standard0HighDrive1: Self = _
pub const Standard0HighDrive1: Self = _
Standard ‘0’, high drive ‘1’
Sourcepub const Disconnect0Standard1: Self = _
pub const Disconnect0Standard1: Self = _
Disconnect ‘0’ standard ‘1’ (normally used for wired-or connections)
Sourcepub const Disconnect0HighDrive1: Self = _
pub const Disconnect0HighDrive1: Self = _
Disconnect ‘0’, high drive ‘1’ (normally used for wired-or connections)
Sourcepub const Standard0Disconnect1: Self = _
pub const Standard0Disconnect1: Self = _
Standard ‘0’. disconnect ‘1’ (also known as “open drain”, normally used for wired-and connections)
Sourcepub const HighDrive0Disconnect1: Self = _
pub const HighDrive0Disconnect1: Self = _
High drive ‘0’, disconnect ‘1’ (also known as “open drain”, normally used for wired-and connections)
Trait Implementations§
Source§impl Clone for OutputDrive
impl Clone for OutputDrive
Source§fn clone(&self) -> OutputDrive
fn clone(&self) -> OutputDrive
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for OutputDrive
impl Debug for OutputDrive
Source§impl Format for OutputDrivewhere
LevelDrive: Format,
impl Format for OutputDrivewhere
LevelDrive: Format,
Source§impl PartialEq for OutputDrive
impl PartialEq for OutputDrive
impl Copy for OutputDrive
impl StructuralPartialEq for OutputDrive
Auto Trait Implementations§
impl Freeze for OutputDrive
impl RefUnwindSafe for OutputDrive
impl Send for OutputDrive
impl Sync for OutputDrive
impl Unpin for OutputDrive
impl UnwindSafe for OutputDrive
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)