embassy-stm32

Crates

git

Versions

stm32h7r7l8

Flavors

Pssi

Struct Pssi 

Source
pub struct Pssi<'d, T: Instance> { /* private fields */ }
Expand description

PSSI driver.

Implementations§

Source§

impl<'d, T: Instance> Pssi<'d, T>

Source

pub fn new_8bit( peri: Peri<'d, T>, pdck: Peri<'d, impl PdckPin<T>>, d0: Peri<'d, impl D0Pin<T>>, d1: Peri<'d, impl D1Pin<T>>, d2: Peri<'d, impl D2Pin<T>>, d3: Peri<'d, impl D3Pin<T>>, d4: Peri<'d, impl D4Pin<T>>, d5: Peri<'d, impl D5Pin<T>>, d6: Peri<'d, impl D6Pin<T>>, d7: Peri<'d, impl D7Pin<T>>, _irq: impl Binding<T::Interrupt, InterruptHandler<T>> + 'd, config: Config, ) -> Self

Create a new PSSI driver for 8-bit mode.

Source

pub fn read_data_register(&self) -> u32

Read data from PSSI data register.

Source

pub fn write_data_register(&mut self, val: u32)

Write data to PSSI data register.

Auto Trait Implementations§

§

impl<'d, T> Freeze for Pssi<'d, T>
where T: Freeze,

§

impl<'d, T> RefUnwindSafe for Pssi<'d, T>
where T: RefUnwindSafe,

§

impl<'d, T> Send for Pssi<'d, T>
where T: Send,

§

impl<'d, T> Sync for Pssi<'d, T>
where T: Sync,

§

impl<'d, T> Unpin for Pssi<'d, T>
where T: Unpin,

§

impl<'d, T> !UnwindSafe for Pssi<'d, T>

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> 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.