Counting semaphore attributes.
More...
#include <cmsis-plus/rtos/os.h>
Counting semaphore attributes.
Definition at line 214 of file os-semaphore.h.
◆ attributes_counting() [1/3]
constexpr os::rtos::semaphore::attributes_counting::attributes_counting |
( |
count_t |
max_value, |
|
|
count_t |
initial_value |
|
) |
| |
|
constexpr |
Construct a counting semaphore attributes object instance.
- Parameters
-
[in] | max_value | Maximum count value. |
[in] | initial_value | Initial count value. |
Definition at line 699 of file os-semaphore.h.
◆ attributes_counting() [2/3]
◆ attributes_counting() [3/3]
◆ ~attributes_counting()
os::rtos::semaphore::attributes_counting::~attributes_counting |
( |
| ) |
|
|
default |
Destruct the semaphore attributes object instance.
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ clock
rtos::clock* os::rtos::internal::attributes_clocked::clock = nullptr |
|
inherited |
◆ sm_initial_value
Semaphore initial count value.
This values represents the number of resources initially available to the semaphore.
Definition at line 150 of file os-semaphore.h.
◆ sm_max_value
Semaphore max count value.
This values represents the maximum number of resources available to the semaphore.
Definition at line 145 of file os-semaphore.h.
The documentation for this class was generated from the following file: