pub unsafe extern "C" fn k_poll_event_init(
event: *mut k_poll_event,
type_: u32,
mode: i32,
obj: *mut c_void,
)
Expand description
@brief Initialize one struct k_poll_event instance
After this routine is called on a poll event, the event it ready to be placed in an event array to be passed to k_poll().
@param event The event to initialize. @param type A bitfield of the types of event, from the K_POLL_TYPE_xxx values. Only values that apply to the same object being polled can be used together. Choosing K_POLL_TYPE_IGNORE disables the event. @param mode Future. Use K_POLL_MODE_NOTIFY_ONLY. @param obj Kernel object or poll signal.