nxp-pac

Crates

git

Versions

lpc55s69_cm33_core0

Flavors

Secgpio

Struct Secgpio 

Source
pub struct Secgpio { /* private fields */ }
Expand description

General Purpose I/O (GPIO)

Implementations§

Source§

impl Secgpio

Source

pub const unsafe fn from_ptr(ptr: *mut ()) -> Self

Source

pub const fn as_ptr(&self) -> *mut ()

Source

pub const fn b0_0(self) -> Reg<B00, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_1(self) -> Reg<B01, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_2(self) -> Reg<B02, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_3(self) -> Reg<B03, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_4(self) -> Reg<B04, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_5(self) -> Reg<B05, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_6(self) -> Reg<B06, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_7(self) -> Reg<B07, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_8(self) -> Reg<B08, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_9(self) -> Reg<B09, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_10(self) -> Reg<B010, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_11(self) -> Reg<B011, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_12(self) -> Reg<B012, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_13(self) -> Reg<B013, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_14(self) -> Reg<B014, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_15(self) -> Reg<B015, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_16(self) -> Reg<B016, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_17(self) -> Reg<B017, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_18(self) -> Reg<B018, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_19(self) -> Reg<B019, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_20(self) -> Reg<B020, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_21(self) -> Reg<B021, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_22(self) -> Reg<B022, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_23(self) -> Reg<B023, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_24(self) -> Reg<B024, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_25(self) -> Reg<B025, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_26(self) -> Reg<B026, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_27(self) -> Reg<B027, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_28(self) -> Reg<B028, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_29(self) -> Reg<B029, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_30(self) -> Reg<B030, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn b0_31(self) -> Reg<B031, RW>

Byte pin registers for all port GPIO pins

Source

pub const fn w0_0(self) -> Reg<W00, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_1(self) -> Reg<W01, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_2(self) -> Reg<W02, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_3(self) -> Reg<W03, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_4(self) -> Reg<W04, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_5(self) -> Reg<W05, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_6(self) -> Reg<W06, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_7(self) -> Reg<W07, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_8(self) -> Reg<W08, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_9(self) -> Reg<W09, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_10(self) -> Reg<W010, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_11(self) -> Reg<W011, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_12(self) -> Reg<W012, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_13(self) -> Reg<W013, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_14(self) -> Reg<W014, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_15(self) -> Reg<W015, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_16(self) -> Reg<W016, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_17(self) -> Reg<W017, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_18(self) -> Reg<W018, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_19(self) -> Reg<W019, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_20(self) -> Reg<W020, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_21(self) -> Reg<W021, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_22(self) -> Reg<W022, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_23(self) -> Reg<W023, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_24(self) -> Reg<W024, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_25(self) -> Reg<W025, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_26(self) -> Reg<W026, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_27(self) -> Reg<W027, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_28(self) -> Reg<W028, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_29(self) -> Reg<W029, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_30(self) -> Reg<W030, RW>

Word pin registers for all port GPIO pins

Source

pub const fn w0_31(self) -> Reg<W031, RW>

Word pin registers for all port GPIO pins

Source

pub const fn dir0(self) -> Reg<Dir0, RW>

Direction registers for all port GPIO pins

Source

pub const fn mask0(self) -> Reg<Mask0, RW>

Mask register for all port GPIO pins

Source

pub const fn pin0(self) -> Reg<Pin0, RW>

Port pin register for all port GPIO pins

Source

pub const fn mpin0(self) -> Reg<Mpin0, RW>

Masked port register for all port GPIO pins

Source

pub const fn set0(self) -> Reg<Set0, RW>

Write: Set register for port. Read: output bits for port

Source

pub const fn clr0(self) -> Reg<Clr0, W>

Clear port for all port GPIO pins

Source

pub const fn not0(self) -> Reg<Not0, W>

Toggle port for all port GPIO pins

Source

pub const fn dirset0(self) -> Reg<Dirset0, W>

Set pin direction bits for port

Source

pub const fn dirclr0(self) -> Reg<Dirclr0, W>

Clear pin direction bits for port

Source

pub const fn dirnot0(self) -> Reg<Dirnot0, W>

Toggle pin direction bits for port

Trait Implementations§

Source§

impl Clone for Secgpio

Source§

fn clone(&self) -> Secgpio

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl PartialEq for Secgpio

Source§

fn eq(&self, other: &Secgpio) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Copy for Secgpio

Source§

impl Eq for Secgpio

Source§

impl Send for Secgpio

Source§

impl StructuralPartialEq for Secgpio

Source§

impl Sync for Secgpio

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.