Enum imxrt_iomuxc::OpenDrain
source · #[repr(u32)]pub enum OpenDrain {
Enabled = 2_048,
Disabled = 0,
}
Expand description
Open Drain Enable Field
If enabled, the output driver drives only logic 0. The drain of the internal transistor is open. It means that logic 1 has to be driven by an external component. This option is essential if connection between the pad and an external component is bi-directional. If disabled, then the output driver drives logic 1 and logic 0.
Variants§
Trait Implementations§
source§impl PartialEq for OpenDrain
impl PartialEq for OpenDrain
impl Copy for OpenDrain
impl Eq for OpenDrain
impl StructuralPartialEq for OpenDrain
Auto Trait Implementations§
impl Freeze for OpenDrain
impl RefUnwindSafe for OpenDrain
impl Send for OpenDrain
impl Sync for OpenDrain
impl Unpin for OpenDrain
impl UnwindSafe for OpenDrain
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
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
)