pub unsafe extern "C" fn k_event_set_masked(
event: *mut k_event,
events: u32,
events_mask: u32,
) -> u32
Expand description
@brief Set or clear the events in an event object
This routine sets the events stored in event object to the specified value. All tasks waiting on the event object @a event whose waiting conditions become met by this immediately unpend. Unlike @ref k_event_set, this routine allows specific event bits to be set and cleared as determined by the mask.
@param event Address of the event object @param events Set of events to set/clear in @a event @param events_mask Mask to be applied to @a events
@retval Previous value of the events in @a events_mask