stm32-metapac

Crates

git

Versions

stm32u3b5ri

Flavors

Hsp

Struct Hsp 

pub struct Hsp { /* private fields */ }
Expand description

Hardware signal processor

Implementations§

§

impl Hsp

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

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

pub const fn cr(self) -> Reg<u32, RW>

HSP control register

pub const fn c2hsemr(self) -> Reg<u32, RW>

HSP CPU to HSP semaphore register

pub const fn c2hmsgdr(self) -> Reg<u32, RW>

HSP CPU to HSP message data register

pub const fn h2csemr(self) -> Reg<u32, RW>

HSP HSP to CPU semaphore register

pub const fn h2cmsgdr(self) -> Reg<u32, RW>

HSP HSP to CPU message data register

pub const fn dcmdsr(self) -> Reg<u32, RW>

HSP DCMD command status register

pub const fn dcmdptsr(self) -> Reg<u32, RW>

HSP DCMD pointer status register

pub const fn dcmdidr(self) -> Reg<u32, RW>

HSP DCMD command ID register

pub const fn dcmdptr(self, n: usize) -> Reg<u32, RW>

HSP DCMD address pointer register

pub const fn evtenr(self) -> Reg<u32, RW>

HSP event enable register

pub const fn esyncenr(self) -> Reg<u32, RW>

HSP event synchronization enable register

pub const fn esyncsrcr(self, n: usize) -> Reg<u32, RW>

HSP event synchronization source register

pub const fn pevtlr(self) -> Reg<u32, RW>

HSP pending event level register

pub const fn itfenr(self) -> Reg<u32, RW>

HSP interfaces enable register

pub const fn evtsrcr(self, n: usize) -> Reg<u32, RW>

HSP event source register

pub const fn buffcfgr(self) -> Reg<u32, RW>

HSP BUFF configuration register

pub const fn buffdr(self, n: usize) -> Reg<u32, RW>

HSP BUFF data register

pub const fn trgincfgr(self) -> Reg<u32, RW>

HSP TRGIN configuration register

pub const fn trgocfgr(self) -> Reg<u32, RW>

HSP TRGO configuration register

pub const fn csegr(self) -> Reg<u32, RW>

HSP CPU shared event generator register

pub const fn cdegr(self) -> Reg<u32, RW>

HSP CPU dedicated event generation register

pub const fn trginselr(self, n: usize) -> Reg<u32, RW>

HSP TRGIN input selection register

pub const fn bkocfgr(self, n: usize) -> Reg<u32, RW>

HSP break output configuration register

pub const fn bkicfgr(self) -> Reg<u32, RW>

HSP break input configuration register

pub const fn fwerr(self) -> Reg<u32, RW>

HSP firmware error register

pub const fn paramr(self, n: usize) -> Reg<u32, RW>

HSP parameter register

pub const fn spe_ier(self) -> Reg<u32, RW>

HSP SPE interrupt enable register

pub const fn spe_isr(self) -> Reg<u32, RW>

HSP SPE interrupt status register

pub const fn tcucfgr(self) -> Reg<u32, RW>

HSP task comparator unit register

pub const fn tovlpcr(self) -> Reg<u32, RW>

HSP task overlap control register

pub const fn snpr(self) -> Reg<u32, RW>

HSP snoop register

pub const fn ccntr(self) -> Reg<u32, RW>

HSP conflict counter register

pub const fn capdr(self) -> Reg<u32, RW>

HSP data capture register

pub const fn capcr(self) -> Reg<u32, RW>

HSP capture control register

pub const fn err_ier(self) -> Reg<u32, RW>

HSP error interrupt enable register

pub const fn evt_ier(self) -> Reg<u32, RW>

HSP events interrupt enable register

pub const fn pfctevt_ier(self) -> Reg<u32, RW>

HSP processing event interrupt enable register

pub const fn err_isr(self) -> Reg<u32, RW>

HSP error interrupt status register

pub const fn evt_isr(self) -> Reg<u32, RW>

HSP events interrupt status register

pub const fn pfctevt_isr(self) -> Reg<u32, RW>

HSP processing event interrupt status register

pub const fn errinfr(self) -> Reg<u32, RW>

HSP error information register

pub const fn err_icr(self) -> Reg<u32, RW>

HSP error interrupt clear register

pub const fn evt_icr(self) -> Reg<u32, RW>

HSP events interrupt clear register

pub const fn pfctevt_icr(self) -> Reg<u32, RW>

HSP processing event interrupt clear register

pub const fn fwverr(self) -> Reg<u32, RW>

HSP firmware versions register

Trait Implementations§

§

impl Clone for Hsp

§

fn clone(&self) -> Hsp

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
§

impl PartialEq for Hsp

§

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

impl Copy for Hsp

§

impl Eq for Hsp

§

impl Send for Hsp

§

impl StructuralPartialEq for Hsp

§

impl Sync for Hsp

Auto Trait Implementations§

§

impl Freeze for Hsp

§

impl RefUnwindSafe for Hsp

§

impl Unpin for Hsp

§

impl UnwindSafe for Hsp

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.