zephyr::raw

Function k_sem_count_get

source
pub unsafe extern "C" fn k_sem_count_get(sem: *mut k_sem) -> u32
Expand description

@brief Get a semaphore’s count.

This routine returns the current count of @a sem.

@param sem Address of the semaphore.

@return Current semaphore count.