#include <cmsis-plus/os-versions.h>
#include <cmsis-plus/os-app-config.h>
#include <cmsis-plus/rtos/port/os-decls.h>
#include <stdint.h>
#include <stddef.h>
#include <stdbool.h>
Go to the source code of this file.
Classes | |
struct | os_clock_node_s |
struct | os_clock_s |
Clock object storage. More... | |
struct | os_condvar_attr_s |
Condition variable attributes. More... | |
struct | os_condvar_s |
Condition variable object storage. More... | |
struct | os_evflags_attr_s |
Event flags attributes. More... | |
struct | os_evflags_s |
Event flags object storage. More... | |
struct | os_internal_clock_timestamps_list_s |
struct | os_internal_double_list_links_s |
struct | os_internal_evflags_s |
Internal event flags. More... | |
struct | os_internal_thread_children_list_s |
struct | os_internal_waiting_thread_node_s |
struct | os_memory_s |
Memory resource object storage. More... | |
struct | os_mempool_attr_s |
Memory pool attributes. More... | |
struct | os_mempool_s |
Memory pool object storage. More... | |
struct | os_mqueue_attr_s |
Message queue attributes. More... | |
struct | os_mqueue_s |
Message queue object storage. More... | |
struct | os_mutex_attr_s |
Mutex attributes. More... | |
struct | os_mutex_s |
Mutex object storage. More... | |
struct | os_semaphore_attr_s |
Semaphore attributes. More... | |
struct | os_semaphore_s |
Semaphore object storage. More... | |
struct | os_thread_attr_s |
Thread attributes. More... | |
struct | os_thread_context_s |
Thread context. More... | |
struct | os_thread_s |
Thread object storage. More... | |
struct | os_thread_stack_s |
Thread stack. More... | |
struct | os_thread_statistics_s |
Thread statistics. More... | |
struct | os_timer_attr_s |
Timer attributes. More... | |
struct | os_timer_s |
Timer object storage. More... | |
Macros | |
#define | os_flags_all 0xFFFFFFFF |
#define | os_flags_any 0 |
Special mask to represent any flag. | |
#define | OS_THREAD_PRIO_SHIFT (4) |
Typedefs | |
typedef os_port_clock_duration_t | os_clock_duration_t |
Type of variables holding clock durations. | |
typedef os_port_clock_offset_t | os_clock_offset_t |
Type of variables holding clock offsets. | |
typedef struct os_clock_s | os_clock_t |
Clock object storage. | |
typedef os_port_clock_timestamp_t | os_clock_timestamp_t |
Type of variables holding clock time stamps. | |
typedef struct os_condvar_attr_s | os_condvar_attr_t |
Condition variable attributes. | |
typedef struct os_condvar_s | os_condvar_t |
Condition variable object storage. | |
typedef struct os_evflags_attr_s | os_evflags_attr_t |
Event flags attributes. | |
typedef struct os_evflags_s | os_evflags_t |
Event flags object storage. | |
typedef uint32_t | os_flags_mask_t |
Type of variables holding flags masks. | |
typedef uint32_t | os_flags_mode_t |
Type of variables holding flags modes. | |
typedef struct os_clock_node_s | os_internal_clock_timer_node_t |
typedef struct os_internal_clock_timestamps_list_s | os_internal_clock_timestamps_list_t |
typedef struct os_internal_double_list_links_s | os_internal_double_list_links_t |
typedef struct os_internal_evflags_s | os_internal_evflags_t |
Internal event flags. | |
typedef struct os_internal_thread_children_list_s | os_internal_thread_children_list_t |
typedef os_internal_double_list_links_t | os_internal_threads_waiting_list_t |
typedef struct os_internal_waiting_thread_node_s | os_internal_waiting_thread_node_t |
typedef os_port_irq_state_t | os_irq_state_t |
Type of variables holding interrupts priority values. | |
typedef void * | os_iterator_t |
Generic iterator, implemented as a pointer. | |
typedef struct os_memory_s | os_memory_t |
Memory resource object storage. | |
typedef struct os_mempool_attr_s | os_mempool_attr_t |
Memory pool attributes. | |
typedef uint16_t | os_mempool_size_t |
typedef struct os_mempool_s | os_mempool_t |
Memory pool object storage. | |
typedef struct os_mqueue_attr_s | os_mqueue_attr_t |
Message queue attributes. | |
typedef os_mqueue_size_t | os_mqueue_index_t |
typedef uint16_t | os_mqueue_msg_size_t |
typedef uint8_t | os_mqueue_prio_t |
Type of variables holding message queue priorities. | |
typedef uint8_t | os_mqueue_size_t |
typedef struct os_mqueue_s | os_mqueue_t |
Message queue object storage. | |
typedef struct os_mutex_attr_s | os_mutex_attr_t |
Mutex attributes. | |
typedef int16_t | os_mutex_count_t |
typedef uint8_t | os_mutex_protocol_t |
typedef uint8_t | os_mutex_robustness_t |
typedef struct os_mutex_s | os_mutex_t |
Mutex object storage. | |
typedef uint8_t | os_mutex_type_t |
typedef uint32_t | os_result_t |
Type of values returned by RTOS functions. | |
typedef os_port_scheduler_state_t | os_sched_state_t |
Type of variables holding scheduler state codes. | |
typedef struct os_semaphore_attr_s | os_semaphore_attr_t |
Semaphore attributes. | |
typedef int16_t | os_semaphore_count_t |
Type of variables holding semaphore counts. | |
typedef struct os_semaphore_s | os_semaphore_t |
Semaphore object storage. | |
typedef uint64_t | os_statistics_counter_t |
Type of variables holding context switches counters. | |
typedef uint64_t | os_statistics_duration_t |
Type of variables holding durations in CPU cycles. | |
typedef struct os_thread_attr_s | os_thread_attr_t |
Thread attributes. | |
typedef struct os_thread_context_s | os_thread_context_t |
Thread context. | |
typedef void * | os_thread_func_args_t |
Type of thread function arguments. | |
typedef void *(* | os_thread_func_t) (os_thread_func_args_t args) |
Type of thread function. | |
typedef uint8_t | os_thread_prio_t |
Type of variables holding thread priorities. | |
typedef os_port_thread_stack_allocation_element_t | os_thread_stack_allocation_element_t |
Type of variables holding aligned stack elements. | |
typedef os_port_thread_stack_element_t | os_thread_stack_element_t |
Type of variables holding stack words. | |
typedef struct os_thread_stack_s | os_thread_stack_t |
Thread stack. | |
typedef uint8_t | os_thread_state_t |
Type of variables holding thread states. | |
typedef struct os_thread_statistics_s | os_thread_statistics_t |
Thread statistics. | |
typedef struct os_thread_s | os_thread_t |
Thread object storage. | |
typedef struct os_timer_attr_s | os_timer_attr_t |
Timer attributes. | |
typedef void * | os_timer_func_args_t |
Type of timer function arguments. | |
typedef void(* | os_timer_func_t) (os_timer_func_args_t args) |
Type of timer function. | |
typedef uint8_t | os_timer_state_t |
Type of variables holding timer states. | |
typedef struct os_timer_s | os_timer_t |
Timer object storage. | |
typedef uint8_t | os_timer_type_t |
Type of variables holding timer types. | |
Functions | |
Clock handlers | |
void | os_rtc_handler (void) |
RTC interrupt handler. | |
void | os_systick_handler (void) |
SysTick interrupt handler. | |
#define OS_THREAD_PRIO_SHIFT (4) |
Definition at line 269 of file os-c-decls.h.
typedef struct os_clock_node_s os_internal_clock_timer_node_t |
typedef struct os_internal_double_list_links_s os_internal_double_list_links_t |
typedef struct os_internal_evflags_s os_internal_evflags_t |
Internal event flags.
Definition at line 74 of file os-c-decls.h.
typedef uint16_t os_mempool_size_t |
Definition at line 1162 of file os-c-decls.h.
typedef os_mqueue_size_t os_mqueue_index_t |
Definition at line 1262 of file os-c-decls.h.
typedef uint16_t os_mqueue_msg_size_t |
Definition at line 1261 of file os-c-decls.h.
typedef uint8_t os_mqueue_size_t |
Definition at line 1258 of file os-c-decls.h.
typedef int16_t os_mutex_count_t |
Definition at line 814 of file os-c-decls.h.
typedef uint8_t os_mutex_protocol_t |
Definition at line 816 of file os-c-decls.h.
typedef uint8_t os_mutex_robustness_t |
Definition at line 817 of file os-c-decls.h.
typedef uint8_t os_mutex_type_t |
Definition at line 815 of file os-c-decls.h.