====== OSA : OS_Bsem_Reset ======
**OS_Bsem_Reset (bsem)**\\
**OS_Bsem_Reset_I (bsem)**\\
=== ===
Reset binari semaphore.
=== Call allowed: ===
Everywhere
=== Parameters: ===
{| class = "fpl"
|-
|//''bsem''//
|Binary semaphore's ID. Number of binary semaphores is set by ##[[en:osa:ref:appendix:configuration#Data contents|OS_BSEMS]]## constant in ##[[en:osa:ref:appendix:configuration|OSAcfg.h]]##
|}
=== Returns: ===
nothing
=== Example: ===
void Task (void)
{
for (;;) {
/*...*/
OS_Bsem_Reset(2);
/*...*/
}
}
=== Old style name ===
**OS_ResetBSem**\\
=== See also ===
* [[en:osa:ref:allservices:OS_Bsem_Set|OS_Bsem_Set]]
* [[en:osa:ref:allservices:OS_Bsem_Check|OS_Bsem_Check]]
* [[en:osa:ref:allservices:OS_Bsem_Switch|OS_Bsem_Switch]]
* [[en:osa:ref:allservices:OS_Bsem_Wait|OS_Bsem_Wait]]
* [[en:osa:ref:allservices:OS_Bsem_Wait_TO|OS_Bsem_Wait_TO]]
----
* [[en:osa:ref:services:alphabetical|Alphabetical]]
* [[en:osa:ref:services:brieflist|All services]]
~~UP~~