#[repr(transparent)]pub struct NumGpios(pub u16);
Expand description
The number of main user GPIOs (bank 0). Should read 48 in the QFN80 package, and 30 in the QFN60 package. (ECC)
Tuple Fields§
§0: u16
Implementations§
Trait Implementations§
impl Copy for NumGpios
impl Eq for NumGpios
impl StructuralPartialEq for NumGpios
Auto Trait Implementations§
impl Freeze for NumGpios
impl RefUnwindSafe for NumGpios
impl Send for NumGpios
impl Sync for NumGpios
impl Unpin for NumGpios
impl UnwindSafe for NumGpios
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
)