[][src]Function cmsis_rtos2::cmsis_os2::osMemoryPoolFree

pub unsafe extern "C" fn osMemoryPoolFree(
    mp_id: osMemoryPoolId_t,
    block: *mut c_void
) -> osStatus_t

Return an allocated memory block back to a Memory Pool. \param[in] mp_id memory pool ID obtained by \ref osMemoryPoolNew. \param[in] block address of the allocated memory block to be returned to the memory pool. \return status code that indicates the execution status of the function.