zephyr::raw

Function k_mbox_data_get

source
pub unsafe extern "C" fn k_mbox_data_get(
    rx_msg: *mut k_mbox_msg,
    buffer: *mut c_void,
)
Expand description

@brief Retrieve mailbox message data into a buffer.

This routine completes the processing of a received message by retrieving its data into a buffer, then disposing of the message.

Alternatively, this routine can be used to dispose of a received message without retrieving its data.

@param rx_msg Address of the receive message descriptor. @param buffer Address of the buffer to receive data, or NULL to discard the data.