|
Argon RTOS
1.3.0
Tiny embedded real-time kernel
|
Collaboration diagram for Argon RTOS:Common definitions and kernel APIs.
Modules | |
| Threads | |
| Thread API. | |
| Semaphores | |
| Semaphore API. | |
| Mutexes | |
| Mutex API. | |
| Channels | |
| Channel API. | |
| Queues | |
| Queue API. | |
| Timers | |
| Timer API. | |
| Run Loops | |
| Run loop API. | |
| Time Utilities | |
| Various time related utility functions. | |
| Atomic Operations | |
| Atomic operation functions. | |
| Configuration | |
| Documentation of the configuration macros. | |
Files | |
| file | ar_classes.h |
| Header for the Argon RTOS wrapper classes. | |
| file | ar_config.h |
| Configuration settings for the Argon RTOS. | |
| file | ar_kernel.h |
| Header for the Argon RTOS C API. | |
| file | argon.h |
| Main header for the Argon RTOS. | |
Enumerations | |
| enum | _ar_timeouts { kArNoTimeout, kArInfiniteTimeout } |
| Timeout constants. More... | |
| enum | ar_status_t { kArSuccess, kArTimeoutError, kArObjectDeletedError, kArQueueFullError, kArQueueEmptyError, kArInvalidPriorityError, kArStackSizeTooSmallError, kArNotFromInterruptError, kArNotOwnerError, kArAlreadyUnlockedError, kArInvalidParameterError, kArTimerNotRunningError, kArTimerNoRunLoop, kArOutOfMemoryError, kArInvalidStateError, kArAlreadyAttachedError, kArRunLoopAlreadyRunningError, kArRunLoopStopped, kArRunLoopQueueReceived } |
| Argon status and error codes. More... | |
Kernel | |
| void | ar_kernel_run (void) |
| Start the kernel running. More... | |
| bool | ar_kernel_is_running (void) |
| Returns whether the kernel is running or not. | |
| uint32_t | ar_get_system_load (void) |
| Returns the current system load. More... | |
| enum _ar_timeouts |
| enum ar_status_t |
Argon status and error codes.
| uint32_t ar_get_system_load | ( | void | ) |
Returns the current system load.
The system load is calculated by the idle thread, if the AR_ENABLE_SYSTEM_LOAD configuration setting is enabled. If this setting is disabled, the load will always be zero.
| void ar_kernel_run | ( | void | ) |
Start the kernel running.
Once this function is called, the kernel will begin scheduling threads.