Enum nrf52840_pac::p0::pin_cnf::DRIVE_A
source · #[repr(u8)]pub enum DRIVE_A {
S0S1 = 0,
H0S1 = 1,
S0H1 = 2,
H0H1 = 3,
D0S1 = 4,
D0H1 = 5,
S0D1 = 6,
H0D1 = 7,
}
Expand description
Drive configuration
Value on reset: 0
Variants§
S0S1 = 0
0: Standard ‘0’, standard ‘1’
H0S1 = 1
1: High drive ‘0’, standard ‘1’
S0H1 = 2
2: Standard ‘0’, high drive ‘1’
H0H1 = 3
3: High drive ‘0’, high ’drive ‘1’’
D0S1 = 4
4: Disconnect ‘0’ standard ‘1’ (normally used for wired-or connections)
D0H1 = 5
5: Disconnect ‘0’, high drive ‘1’ (normally used for wired-or connections)
S0D1 = 6
6: Standard ‘0’. disconnect ‘1’ (normally used for wired-and connections)
H0D1 = 7
7: High drive ‘0’, disconnect ‘1’ (normally used for wired-and connections)
Trait Implementations§
impl Copy for DRIVE_A
impl StructuralPartialEq for DRIVE_A
Auto Trait Implementations§
impl Freeze for DRIVE_A
impl RefUnwindSafe for DRIVE_A
impl Send for DRIVE_A
impl Sync for DRIVE_A
impl Unpin for DRIVE_A
impl UnwindSafe for DRIVE_A
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
)