pub struct Pssi<'d, T: Instance> { /* private fields */ }Expand description
PSSI driver.
Implementations§
Source§impl<'d, T: Instance> Pssi<'d, T>
impl<'d, T: Instance> Pssi<'d, T>
Sourcepub 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
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.
Sourcepub fn read_data_register(&self) -> u32
pub fn read_data_register(&self) -> u32
Read data from PSSI data register.
Sourcepub fn write_data_register(&mut self, val: u32)
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> 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