OSA : OS_Bsem_Reset

OS_Bsem_Reset (bsem)
OS_Bsem_Reset_I (bsem)

Reset binari semaphore.

Call allowed:

Everywhere

Parameters:

bsem Binary semaphore's ID. Number of binary semaphores is set by OS_BSEMS constant in OSAcfg.h

Returns:

nothing

Example:

void Task (void)
{
    for (;;) {
        /*...*/
        OS_Bsem_Reset(2);
        /*...*/
    }
}

Old style name

OS_ResetBSem

See also