FreeRTOScpp
|
Files | |
file | EventCPP.h |
FreeRTOS Event Group Wrapper. | |
file | FreeRTOScpp.h |
FreeRTOS Wrapper. | |
file | Lock.cpp |
FreeRTOS Lock wrapper. | |
file | Lock.h |
FreeRTOS Lock wrapper. | |
file | MessageBufferCPP.h |
FreeRTOS MessageBuffer wrapper. | |
file | MutexCPP.h |
FreeRTOS Mutex Wrapper. | |
file | QueueCPP.h |
FreeRTOS Queue Wrapper. | |
file | ReadWrite.cpp |
FreeRTOS Read/Write Lock Wrapper. | |
file | ReadWrite.h |
FreeRTOS Read/Write Lock Wrapper. | |
file | SemaphoreCPP.h |
FreeRTOS Semaphore Wrapper. | |
file | StreamBufferCPP.h |
FreeRTOS Streambuffer wrapper. | |
file | TaskCpp.cpp |
FreeRTOS Task Wrapper. | |
file | TaskCPP.h |
FreeRTOS Task Wrapper. | |
file | TimerCPP.h |
FreeRTOS Timer Wrapper. | |
Classes | |
class | FreeRTOScpp::BinarySemaphore |
Binary Semaphore Wrapper. More... | |
class | FreeRTOScpp::Lock |
Class to hold a block based lock. More... | |
class | FreeRTOScpp::Lockable |
A Base class to provide block based locking capability. More... | |
class | FreeRTOScpp::Mutex |
Mutex Wrapper. More... | |
class | FreeRTOScpp::Queue< T, queueLength > |
Queue Wrapper. More... | |
class | FreeRTOScpp::QueueBase |
Base Queue Wrapper. More... | |
class | FreeRTOScpp::QueueTypeBase< T > |
Typed Queue Wrapper. More... | |
class | FreeRTOScpp::RecursiveMutex |
Recursive Mutex Wrapper. More... | |
class | FreeRTOScpp::TaskBase |
Lowest Level Wrapper. More... | |
class | FreeRTOScpp::TaskClassS< stackDepth > |
Make a class based task. More... | |
class | FreeRTOScpp::TaskS< stackDepth > |
Statically Created Task Wrapper. More... | |
class | FreeRTOScpp::Timer |
class | FreeRTOScpp::TimerMember< T > |
Macros | |
#define | EVENT_BITS 8 |
Number of Bits usable as Event Bits. More... | |
#define | EVENT_MASK 0x00FFU |
Mask of bits usable as Event Bits. More... | |
#define | FREERTOS_USE_NAMESPACE 2 |
If non-zero, put FreeRTOScpp library into namespace FreeRTOScpp. More... | |
#define | FREERTOSCPP_USE_CHRONO 1 |
Enable the use of C++ chrono time values. More... | |
Enumerations | |
enum | FreeRTOScpp::TaskPriority { FreeRTOScpp::TaskPrio_Idle = 0, FreeRTOScpp::TaskPrio_Low = ((configMAX_PRIORITIES)>1), FreeRTOScpp::TaskPrio_HMI = (TaskPrio_Low + ((configMAX_PRIORITIES)>5)), FreeRTOScpp::TaskPrio_Mid = ((configMAX_PRIORITIES)/2), FreeRTOScpp::TaskPrio_High = ((configMAX_PRIORITIES)-1-((configMAX_PRIORITIES)>4)), FreeRTOScpp::TaskPrio_Highest = ((configMAX_PRIORITIES)-1) } |
Names for Base set of Priorities. More... | |
#define EVENT_BITS 8 |
Number of Bits usable as Event Bits.
#define EVENT_MASK 0x00FFU |
Mask of bits usable as Event Bits.
#define FREERTOS_USE_NAMESPACE 2 |
If non-zero, put FreeRTOScpp library into namespace FreeRTOScpp.
If 2, adds a using namespace FreeRTOScpp, so code doesn't need to use that namespace unless conflicts arise.
#define FREERTOSCPP_USE_CHRONO 1 |
Enable the use of C++ chrono time values.
Names for Base set of Priorities.
Assigns used based names to priority levels, optimized for configMAX_PRIORITIES = 6 for maximal distinctions with reasonable collapsing for smaller values. If configMAX_PRIORITIES is >6 then some values won't have names here, but values could be created and cast to the enum type.
configMAX_PRIORITIES: | 1 | 2 | 3 | 4 | 5 | 6 | N>6 | Use |
---|---|---|---|---|---|---|---|---|
TaskPrio_Idle | 0 | 0 | 0 | 0 | 0 | 0 | 0 | Non-Real Time operations, Tasks that don't block |
TaskPrio_Low | 0 | 1 | 1 | 1 | 1 | 1 | 1 | Non-Critical operations |
TaskPrio_HMI | 0 | 1 | 1 | 1 | 1 | 2 | 2 | Normal User Interface |
TaskPrio_Mid | 0 | 1 | 1 | 2 | 2 | 3 | N/2 | Semi-Critical, Deadlines, not much processing |
TaskPrio_High | 0 | 1 | 2 | 3 | 3 | 4 | N-2 | Urgent, Short Deadlines, not much processing |
TaskPrio_Highest | 0 | 1 | 2 | 3 | 4 | 5 | N-1 | Critical, do NOW, must be quick (Used by FreeRTOS) |