pub struct Lpm013m126Component<A, P, S>{ /* private fields */ }
Implementations§
Source§impl<A, P, S> Lpm013m126Component<A, P, S>
impl<A, P, S> Lpm013m126Component<A, P, S>
pub fn new<I: IntoChipSelect<S::ChipSelect, ActiveHigh>>( spi: &'static MuxSpiMaster<'static, S>, chip_select: I, disp: &'static P, extcomin: &'static P, alarm_mux: &'static MuxAlarm<'static, A>, ) -> Self
Trait Implementations§
Source§impl<A, P, S> Component for Lpm013m126Component<A, P, S>
impl<A, P, S> Component for Lpm013m126Component<A, P, S>
Source§type StaticInput = (&'static mut MaybeUninit<VirtualMuxAlarm<'static, A>>, &'static mut MaybeUninit<[u8; 15842]>, &'static mut MaybeUninit<VirtualSpiMasterDevice<'static, S>>, &'static mut MaybeUninit<Lpm013m126<'static, VirtualMuxAlarm<'static, A>, P, VirtualSpiMasterDevice<'static, S>>>)
type StaticInput = (&'static mut MaybeUninit<VirtualMuxAlarm<'static, A>>, &'static mut MaybeUninit<[u8; 15842]>, &'static mut MaybeUninit<VirtualSpiMasterDevice<'static, S>>, &'static mut MaybeUninit<Lpm013m126<'static, VirtualMuxAlarm<'static, A>, P, VirtualSpiMasterDevice<'static, S>>>)
An optional type to specify the chip or board specific static memory
that a component needs to setup the output object(s). This is the memory
that
crate::static_buf!()
would normally setup, but generic
components cannot setup static buffers for types which are
chip-dependent, so those buffers have to be passed in manually, and the
Component::StaticInput
type makes this possible.Source§type Output = &'static Lpm013m126<'static, VirtualMuxAlarm<'static, A>, P, VirtualSpiMasterDevice<'static, S>>
type Output = &'static Lpm013m126<'static, VirtualMuxAlarm<'static, A>, P, VirtualSpiMasterDevice<'static, S>>
The type (e.g., capsule, peripheral) that this implementation of
Component
produces via Component::finalize()
. This is typically
a static reference (&'static
).Source§fn finalize(self, s: Self::StaticInput) -> Self::Output
fn finalize(self, s: Self::StaticInput) -> Self::Output
Auto Trait Implementations§
impl<A, P, S> Freeze for Lpm013m126Component<A, P, S>
impl<A, P, S> !RefUnwindSafe for Lpm013m126Component<A, P, S>
impl<A, P, S> !Send for Lpm013m126Component<A, P, S>
impl<A, P, S> !Sync for Lpm013m126Component<A, P, S>
impl<A, P, S> Unpin for Lpm013m126Component<A, P, S>
impl<A, P, S> !UnwindSafe for Lpm013m126Component<A, P, S>
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