Counting semaphore attributes.
More...
#include <cmsis-plus/rtos/os.h>
Definition at line 220 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 |
- Parameters
-
| [in] | max_value | Maximum count value. |
| [in] | initial_value | Initial count value. |
Definition at line 701 of file os-semaphore.h.
704
705 {
706 }
constexpr attributes()
Construct a semaphore attributes object instance.
count_t max_value(void) const
Get the semaphore maximum count value.
count_t initial_value(void) const
Get the semaphore initial count value.
◆ attributes_counting() [2/3]
◆ attributes_counting() [3/3]
◆ ~attributes_counting()
| os::rtos::semaphore::attributes_counting::~attributes_counting |
( |
| ) |
|
|
default |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ clock
| rtos::clock* os::rtos::internal::attributes_clocked::clock = nullptr |
|
inherited |
◆ sm_initial_value
This values represents the number of resources initially available to the semaphore.
Definition at line 146 of file os-semaphore.h.
◆ sm_max_value
This values represents the maximum number of resources available to the semaphore.
Definition at line 141 of file os-semaphore.h.
The documentation for this class was generated from the following file: