Function esp_idf_hal::sys::vRingbufferReturnItemFromISR

source ยท
pub unsafe extern "C" fn vRingbufferReturnItemFromISR(
    xRingbuffer: *mut c_void,
    pvItem: *mut c_void,
    pxHigherPriorityTaskWoken: *mut i32,
)
Expand description

@brief Return a previously-retrieved item to the ring buffer from an ISR

@param[in] xRingbuffer Ring buffer the item was retrieved from @param[in] pvItem Item that was received earlier @param[out] pxHigherPriorityTaskWoken Value pointed to will be set to pdTRUE if the function woke up a higher priority task.

@note If a split item is retrieved, both parts should be returned by calling this function twice