Binary Semaphore Wrapper.
More...
#include <SemaphoreCPP.h>
Binary Semaphore Wrapper.
Semaphore::Semaphore |
( |
char const * |
name | ) |
|
|
inline |
Constructor.
- Parameters
-
name | Name to give semaphore, used for Debug Registry if setup |
Semaphore::~Semaphore |
( |
| ) |
|
|
inline |
Destructor.
Delete the semaphore.
signed portBASE_TYPE Semaphore::give |
( |
| ) |
|
|
inline |
signed portBASE_TYPE Semaphore::give_ISR |
( |
portBASE_TYPE & |
waswoken | ) |
|
|
inline |
Give the Semaphore inside an ISR.
- Parameters
-
waswoken | The flag variable used to indicate if we need to run the scheduler when we exit the ISR. |
signed portBASE_TYPE Semaphore::take |
( |
TickType_t |
delay = portMAX_DELAY | ) |
|
|
inline |
Take the semaphore.
- Parameters
-
delay | The number of ticks to wait for the semaphore |
The documentation for this class was generated from the following file: