Enum imxrt_hal::iomuxc::PullUpDown
source · #[repr(u32)]pub enum PullUpDown {
Pulldown100k = 0,
Pullup47k = 16_384,
Pullup100k = 32_768,
Pullup22k = 49_152,
}
👎Deprecated since 0.2.0: Use PullKeeper and Config::set_pull_keeper
Expand description
Controls signals to select pull-up or pull-down internal resistance strength.
Variants§
Pulldown100k = 0
👎Deprecated since 0.2.0: Use PullKeeper and Config::set_pull_keeper
100KOhm pull Down
Pullup47k = 16_384
👎Deprecated since 0.2.0: Use PullKeeper and Config::set_pull_keeper
47KOhm pull up
Pullup100k = 32_768
👎Deprecated since 0.2.0: Use PullKeeper and Config::set_pull_keeper
100KOhm pull up
Pullup22k = 49_152
👎Deprecated since 0.2.0: Use PullKeeper and Config::set_pull_keeper
22KOhm pull up
Trait Implementations§
source§impl Clone for PullUpDown
impl Clone for PullUpDown
source§fn clone(&self) -> PullUpDown
fn clone(&self) -> PullUpDown
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 PullUpDown
impl Debug for PullUpDown
source§impl PartialEq for PullUpDown
impl PartialEq for PullUpDown
source§fn eq(&self, other: &PullUpDown) -> bool
fn eq(&self, other: &PullUpDown) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PullUpDown
impl Eq for PullUpDown
impl StructuralEq for PullUpDown
impl StructuralPartialEq for PullUpDown
Auto Trait Implementations§
impl RefUnwindSafe for PullUpDown
impl Send for PullUpDown
impl Sync for PullUpDown
impl Unpin for PullUpDown
impl UnwindSafe for PullUpDown
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