Struct Ipc
pub struct Ipc { /* private fields */ }
Expand description
Interprocessor communication
Implementations§
§impl Ipc
impl Ipc
pub const unsafe fn from_ptr(ptr: *mut ()) -> Ipc
pub const fn as_ptr(&self) -> *mut ()
pub const fn tasks_send(self, n: usize) -> Reg<u32, W>
pub const fn tasks_send(self, n: usize) -> Reg<u32, W>
Description collection: Trigger events on IPC channel enabled in SEND_CNF[n]
pub const fn subscribe_send(self, n: usize) -> Reg<Subscribe, RW>
pub const fn subscribe_send(self, n: usize) -> Reg<Subscribe, RW>
Description collection: Subscribe configuration for task SEND[n]
pub const fn events_receive(self, n: usize) -> Reg<u32, RW>
pub const fn events_receive(self, n: usize) -> Reg<u32, RW>
Description collection: Event received on one or more of the enabled IPC channels in RECEIVE_CNF[n]
pub const fn publish_receive(self, n: usize) -> Reg<Publish, RW>
pub const fn publish_receive(self, n: usize) -> Reg<Publish, RW>
Description collection: Publish configuration for event RECEIVE[n]
pub const fn send_cnf(self, n: usize) -> Reg<SendCnf, RW>
pub const fn send_cnf(self, n: usize) -> Reg<SendCnf, RW>
Description collection: Send event configuration for TASKS_SEND[n]
pub const fn receive_cnf(self, n: usize) -> Reg<ReceiveCnf, RW>
pub const fn receive_cnf(self, n: usize) -> Reg<ReceiveCnf, RW>
Description collection: Receive event configuration for EVENTS_RECEIVE[n]
Trait Implementations§
impl Copy for Ipc
impl Eq for Ipc
impl Send for Ipc
impl StructuralPartialEq for Ipc
impl Sync for Ipc
Auto Trait Implementations§
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