nxp-pac

Crates

git

Versions

mcxa256

Flavors

Sgi

Struct Sgi 

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

no description available.

Implementations§

Source§

impl Sgi

Source

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

Source

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

Source

pub const fn datin(self, n: usize) -> Data

Source

pub const fn key(self, n: usize) -> Data

Source

pub const fn datout(self) -> Data

Source

pub const fn sgi_status(self) -> Reg<SgiStatus, RW>

Status register.

Source

pub const fn sgi_count(self) -> Reg<SgiCount, RW>

Calculation counter.

Source

pub const fn sgi_keychk(self) -> Reg<SgiKeychk, RW>

Key checksum register.

Source

pub const fn sgi_ctrl(self) -> Reg<SgiCtrl, RW>

SGI Control register.

Source

pub const fn sgi_ctrl2(self) -> Reg<SgiCtrl2, RW>

SGI Control register 2.

Source

pub const fn sgi_dummy_ctrl(self) -> Reg<SgiDummyCtrl, RW>

Configuration of dummy controls.

Source

pub const fn sgi_sfrseed(self) -> Reg<SgiSfrseed, RW>

SFRSEED register for SFRMASK feature.

Source

pub const fn sgi_sha2_ctrl(self) -> Reg<SgiSha2Ctrl, RW>

SHA Control Register.

Source

pub const fn sgi_sha_fifo(self) -> Reg<SgiShaFifo, RW>

SHA FIFO lower-bank low.

Source

pub const fn sgi_config(self) -> Reg<SgiConfig, R>

SHA Configuration Reg.

Source

pub const fn sgi_config2(self) -> Reg<SgiConfig2, R>

SHA Configuration 2 Reg.

Source

pub const fn sgi_auto_mode(self) -> Reg<SgiAutoMode, RW>

SGI Auto Mode Control register.

Source

pub const fn sgi_auto_dma_ctrl(self) -> Reg<SgiAutoDmaCtrl, RW>

SGI Auto Mode Control register.

Source

pub const fn sgi_prng_sw_seed(self) -> Reg<SgiPrngSwSeed, RW>

SGI internal PRNG SW seeding register.

Source

pub const fn sgi_key_ctrl(self) -> Reg<SgiKeyCtrl, RW>

SGI Key Control SFR.

Source

pub const fn sgi_key_wrap(self) -> Reg<SgiKeyWrap, R>

Wrapped key read SFR.

Source

pub const fn sgi_version(self) -> Reg<SgiVersion, R>

SGI Version.

Source

pub const fn sgi_access_err(self) -> Reg<SgiAccessErr, RW>

Access Error.

Source

pub const fn sgi_access_err_clr(self) -> Reg<SgiAccessErrClr, RW>

Clear Access Error.

Source

pub const fn sgi_int_status(self) -> Reg<SgiIntStatus, R>

Interrupt status.

Source

pub const fn sgi_int_enable(self) -> Reg<SgiIntEnable, RW>

Interrupt enable.

Source

pub const fn sgi_int_status_clr(self) -> Reg<SgiIntStatusClr, RW>

Interrupt status clear.

Source

pub const fn sgi_int_status_set(self) -> Reg<SgiIntStatusSet, RW>

Interrupt status set.

Source

pub const fn sgi_module_id(self) -> Reg<SgiModuleId, R>

Module ID.

Trait Implementations§

Source§

impl Clone for Sgi

Source§

fn clone(&self) -> Sgi

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 Sgi

Source§

fn eq(&self, other: &Sgi) -> 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 Sgi

Source§

impl Eq for Sgi

Source§

impl Send for Sgi

Source§

impl StructuralPartialEq for Sgi

Source§

impl Sync for Sgi

Auto Trait Implementations§

§

impl Freeze for Sgi

§

impl RefUnwindSafe for Sgi

§

impl Unpin for Sgi

§

impl UnwindSafe for Sgi

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.