zephyr::raw

Function k_event_set

source
pub unsafe extern "C" fn k_event_set(
    event: *mut k_event,
    events: u32,
) -> u32
Expand description

@brief Set 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.

Setting differs from posting in that set events replace the current set of events tracked by the event object.

@param event Address of the event object @param events Set of events to set in @a event

@retval Previous value of the events in @a event