#[repr(C, packed(1))]pub struct EvtPacket {
pub header: LinkedListNode,
pub evt_serial: EvtSerial,
}
Expand description
This format shall be used for all events (asynchronous and command response) reported
by the CPU2 except for the command response of a system command where the header is not there
and the format to be used shall be EvtSerial
.
§Note:
Be careful that the asynchronous events reported by the CPU2 on the system channel do
include the header and shall use EvtPacket
format. Only the command response format on the
system channel is different.
Fields§
§header: LinkedListNode
§evt_serial: EvtSerial
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for EvtPacket
impl RefUnwindSafe for EvtPacket
impl !Send for EvtPacket
impl !Sync for EvtPacket
impl Unpin for EvtPacket
impl UnwindSafe for EvtPacket
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