pub unsafe extern "C" fn k_sem_count_get(sem: *mut k_sem) -> u32
@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.