#[repr(C)]pub struct QDEC_PSEL_Type {
pub LED: u32,
pub A: u32,
pub B: u32,
}
Expand description
@brief QDEC_PSEL [PSEL] (Unspecified)
Fields§
§LED: u32
< (@ 0x00000000) Pin select for LED signal
A: u32
< (@ 0x00000004) Pin select for A signal
B: u32
< (@ 0x00000008) Pin select for B signal
Trait Implementations§
source§impl Clone for QDEC_PSEL_Type
impl Clone for QDEC_PSEL_Type
source§fn clone(&self) -> QDEC_PSEL_Type
fn clone(&self) -> QDEC_PSEL_Type
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 QDEC_PSEL_Type
impl Debug for QDEC_PSEL_Type
source§impl Default for QDEC_PSEL_Type
impl Default for QDEC_PSEL_Type
source§fn default() -> QDEC_PSEL_Type
fn default() -> QDEC_PSEL_Type
Returns the “default value” for a type. Read more
impl Copy for QDEC_PSEL_Type
Auto Trait Implementations§
impl Freeze for QDEC_PSEL_Type
impl RefUnwindSafe for QDEC_PSEL_Type
impl Send for QDEC_PSEL_Type
impl Sync for QDEC_PSEL_Type
impl Unpin for QDEC_PSEL_Type
impl UnwindSafe for QDEC_PSEL_Type
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
)Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 12 bytes