pub struct CYW4343xComponent<P: 'static + Pin, A: 'static + Alarm<'static>, B: 'static + CYW4343xBus<'static>> { /* private fields */ }Implementations§
Source§impl<P: 'static + Pin, A: 'static + Alarm<'static>, B: 'static + CYW4343xBus<'static>> CYW4343xComponent<P, A, B>
impl<P: 'static + Pin, A: 'static + Alarm<'static>, B: 'static + CYW4343xBus<'static>> CYW4343xComponent<P, A, B>
pub fn new( pwr: &'static P, alarm: &'static MuxAlarm<'static, A>, bus: &'static B, clm: &'static [u8], ) -> Self
Trait Implementations§
Source§impl<P: 'static + Pin, A: 'static + Alarm<'static>, B: 'static + CYW4343xBus<'static>> Component for CYW4343xComponent<P, A, B>
impl<P: 'static + Pin, A: 'static + Alarm<'static>, B: 'static + CYW4343xBus<'static>> Component for CYW4343xComponent<P, A, B>
Source§type StaticInput = (&'static mut MaybeUninit<VirtualMuxAlarm<'static, A>>, &'static mut MaybeUninit<CYW4343x<'static, P, VirtualMuxAlarm<'static, A>, B>>, &'static mut MaybeUninit<[u8; 1600]>)
type StaticInput = (&'static mut MaybeUninit<VirtualMuxAlarm<'static, A>>, &'static mut MaybeUninit<CYW4343x<'static, P, VirtualMuxAlarm<'static, A>, B>>, &'static mut MaybeUninit<[u8; 1600]>)
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 CYW4343x<'static, P, VirtualMuxAlarm<'static, A>, B>
type Output = &'static CYW4343x<'static, P, VirtualMuxAlarm<'static, A>, B>
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, static_memory: Self::StaticInput) -> Self::Output
fn finalize(self, static_memory: Self::StaticInput) -> Self::Output
Auto Trait Implementations§
impl<P, A, B> Freeze for CYW4343xComponent<P, A, B>
impl<P, A, B> !RefUnwindSafe for CYW4343xComponent<P, A, B>
impl<P, A, B> !Send for CYW4343xComponent<P, A, B>
impl<P, A, B> !Sync for CYW4343xComponent<P, A, B>
impl<P, A, B> Unpin for CYW4343xComponent<P, A, B>
impl<P, A, B> !UnwindSafe for CYW4343xComponent<P, A, B>
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