cocoOS
5.0.1
|
#include <stdint.h>
#include "os_port.h"
#include "os_typedef.h"
#include "os_defines.h"
#include "os_event.h"
#include "os_sem.h"
#include "os_task.h"
#include "os_assert.h"
#include "os_msgqueue.h"
#include "os_applAPI.h"
Go to the source code of this file.
Macros | |
#define | NO_TID 255 |
#define | NO_EVENT 255 |
#define | NO_QUEUE 255 |
#define | NO_SEM 255 |
#define | N_TOTAL_SEMAPHORES ( N_SEMAPHORES + N_QUEUES ) |
#define | N_TOTAL_EVENTS ( N_EVENTS + N_QUEUES ) |
#define | OS_BEGIN uint16_t os_task_state = os_task_internal_state_get(running_tid); switch ( os_task_state ) { case 0: |
#define | OS_END |
#define | OS_SCHEDULE(ofs) |
#define | OS_WAIT_TICKS(x, y) |
Functions | |
uint8_t | os_running (void) |
Variables | |
uint8_t | running_tid |
uint8_t | last_running_task |
uint8_t | running |
cocoOS kernel header file
#define OS_END |
#define OS_SCHEDULE | ( | ofs | ) |
#define OS_WAIT_TICKS | ( | x, | |
y | |||
) |