|
#define | RT_VERSION_MAJOR 5 |
|
#define | RT_VERSION_MINOR 2 |
|
#define | RT_VERSION_PATCH 0 |
|
#define | RT_VERSION_CHECK(major, minor, revise) |
|
#define | RTTHREAD_VERSION RT_VERSION_CHECK(RT_VERSION_MAJOR, RT_VERSION_MINOR, RT_VERSION_PATCH) |
|
#define | RT_UINT8_MAX 0xFFU |
|
#define | RT_UINT16_MAX 0xFFFFU |
|
#define | RT_UINT32_MAX 0xFFFFFFFFUL |
|
#define | RT_UINT64_MAX 0xFFFFFFFFFFFFFFFFULL |
|
#define | RT_TICK_MAX RT_UINT32_MAX |
|
#define | RT_SEM_VALUE_MAX RT_UINT16_MAX |
|
#define | RT_MUTEX_VALUE_MAX RT_UINT16_MAX |
|
#define | RT_MUTEX_HOLD_MAX RT_UINT8_MAX |
|
#define | RT_MB_ENTRY_MAX RT_UINT16_MAX |
|
#define | RT_MQ_ENTRY_MAX RT_UINT16_MAX |
|
#define | RT_UNUSED(x) |
|
#define | RT_STATIC_ASSERT(name, expn) |
|
#define | INIT_EXPORT(fn, level) |
|
#define | INIT_BOARD_EXPORT(fn) |
|
#define | INIT_CORE_EXPORT(fn) |
|
#define | INIT_SUBSYS_EXPORT(fn) |
|
#define | INIT_PLATFORM_EXPORT(fn) |
|
#define | INIT_PREV_EXPORT(fn) |
|
#define | INIT_DEVICE_EXPORT(fn) |
|
#define | INIT_COMPONENT_EXPORT(fn) |
|
#define | INIT_ENV_EXPORT(fn) |
|
#define | INIT_APP_EXPORT(fn) |
|
#define | INIT_FS_EXPORT(fn) |
|
#define | INIT_SECONDARY_CPU_EXPORT(fn) |
|
#define | RT_EVENT_LENGTH 32 |
|
#define | RT_MM_PAGE_SIZE 4096 |
|
#define | RT_MM_PAGE_MASK (RT_MM_PAGE_SIZE - 1) |
|
#define | RT_MM_PAGE_BITS 12 |
|
#define | RT_KERNEL_MALLOC(sz) |
|
#define | RT_KERNEL_FREE(ptr) |
|
#define | RT_KERNEL_REALLOC(ptr, size) |
|
#define | RT_IS_ALIGN(addr, align) |
|
#define | RT_ALIGN(size, align) |
|
#define | RT_ALIGN_DOWN(size, align) |
|
#define | RT_OBJECT_FLAG_MODULE 0x80 |
|
#define | _RT_OBJECT_HOOK_CALL(func, argv) |
|
#define | RT_OBJECT_HOOK_CALL(func, argv) |
|
#define | __ON_HOOK_ARGS(__hook, argv) |
|
#define | RT_OBJECT_HOOKLIST_DECLARE(handler_type, name) |
|
#define | RT_OBJECT_HOOKLIST_DEFINE_NODE(hookname, nodename, hooker_handler) |
|
#define | RT_OBJECT_HOOKLIST_DEFINE(name) |
|
#define | RT_OBJECT_HOOKLIST_CALL(name, argv) |
|
#define | RT_TIMER_FLAG_DEACTIVATED 0x0 |
|
#define | RT_TIMER_FLAG_ACTIVATED 0x1 |
|
#define | RT_TIMER_FLAG_ONE_SHOT 0x0 |
|
#define | RT_TIMER_FLAG_PERIODIC 0x2 |
|
#define | RT_TIMER_FLAG_HARD_TIMER 0x0 |
|
#define | RT_TIMER_FLAG_SOFT_TIMER 0x4 |
|
#define | RT_TIMER_FLAG_THREAD_TIMER (0x8 | RT_TIMER_FLAG_HARD_TIMER) |
|
#define | RT_TIMER_CTRL_SET_TIME 0x0 |
|
#define | RT_TIMER_CTRL_GET_TIME 0x1 |
|
#define | RT_TIMER_CTRL_SET_ONESHOT 0x2 |
|
#define | RT_TIMER_CTRL_SET_PERIODIC 0x3 |
|
#define | RT_TIMER_CTRL_GET_STATE 0x4 |
|
#define | RT_TIMER_CTRL_GET_REMAIN_TIME 0x5 |
|
#define | RT_TIMER_CTRL_GET_FUNC 0x6 |
|
#define | RT_TIMER_CTRL_SET_FUNC 0x7 |
|
#define | RT_TIMER_CTRL_GET_PARM 0x8 |
|
#define | RT_TIMER_CTRL_SET_PARM 0x9 |
|
#define | RT_TIMER_SKIP_LIST_LEVEL 1 |
|
#define | RT_TIMER_SKIP_LIST_MASK 0x3 |
|
#define | RT_THREAD_INIT 0x00 |
|
#define | RT_THREAD_CLOSE 0x01 |
|
#define | RT_THREAD_READY 0x02 |
|
#define | RT_THREAD_RUNNING 0x03 |
|
#define | RT_THREAD_SUSPEND_MASK 0x04 |
|
#define | RT_SIGNAL_COMMON_WAKEUP_MASK 0x02 |
|
#define | RT_SIGNAL_KILL_WAKEUP_MASK 0x01 |
|
#define | RT_THREAD_SUSPEND_INTERRUPTIBLE (RT_THREAD_SUSPEND_MASK) |
|
#define | RT_THREAD_SUSPEND RT_THREAD_SUSPEND_INTERRUPTIBLE |
|
#define | RT_THREAD_SUSPEND_KILLABLE (RT_THREAD_SUSPEND_MASK | RT_SIGNAL_COMMON_WAKEUP_MASK) |
|
#define | RT_THREAD_SUSPEND_UNINTERRUPTIBLE (RT_THREAD_SUSPEND_MASK | RT_SIGNAL_COMMON_WAKEUP_MASK | RT_SIGNAL_KILL_WAKEUP_MASK) |
|
#define | RT_THREAD_STAT_MASK 0x07 |
|
#define | RT_THREAD_STAT_YIELD 0x08 |
|
#define | RT_THREAD_STAT_YIELD_MASK RT_THREAD_STAT_YIELD |
|
#define | RT_THREAD_STAT_SIGNAL 0x10 |
|
#define | RT_THREAD_STAT_SIGNAL_READY (RT_THREAD_STAT_SIGNAL | RT_THREAD_READY) |
|
#define | RT_THREAD_STAT_SIGNAL_WAIT 0x20 |
|
#define | RT_THREAD_STAT_SIGNAL_PENDING 0x40 |
|
#define | RT_THREAD_STAT_SIGNAL_MASK 0xf0 |
|
#define | RT_THREAD_CTRL_STARTUP 0x00 |
|
#define | RT_THREAD_CTRL_CLOSE 0x01 |
|
#define | RT_THREAD_CTRL_CHANGE_PRIORITY 0x02 |
|
#define | RT_THREAD_CTRL_INFO 0x03 |
|
#define | RT_THREAD_CTRL_BIND_CPU 0x04 |
|
#define | rt_current_thread rt_thread_self() |
|
#define | LWP_IS_USER_MODE(t) |
|
#define | RT_IPC_FLAG_FIFO 0x00 |
|
#define | RT_IPC_FLAG_PRIO 0x01 |
|
#define | RT_IPC_CMD_UNKNOWN 0x00 |
|
#define | RT_IPC_CMD_RESET 0x01 |
|
#define | RT_IPC_CMD_GET_STATE 0x02 |
|
#define | RT_IPC_CMD_SET_VLIMIT 0x03 |
|
#define | RT_WAITING_FOREVER -1 |
|
#define | RT_WAITING_NO 0 |
|
#define | RT_EVENT_FLAG_AND 0x01 |
|
#define | RT_EVENT_FLAG_OR 0x02 |
|
#define | RT_EVENT_FLAG_CLEAR 0x04 |
|
#define | RT_DEVICE_FLAG_DEACTIVATE 0x000 |
|
#define | RT_DEVICE_FLAG_RDONLY 0x001 |
|
#define | RT_DEVICE_FLAG_WRONLY 0x002 |
|
#define | RT_DEVICE_FLAG_RDWR 0x003 |
|
#define | RT_DEVICE_FLAG_REMOVABLE 0x004 |
|
#define | RT_DEVICE_FLAG_STANDALONE 0x008 |
|
#define | RT_DEVICE_FLAG_ACTIVATED 0x010 |
|
#define | RT_DEVICE_FLAG_SUSPENDED 0x020 |
|
#define | RT_DEVICE_FLAG_STREAM 0x040 |
|
#define | RT_DEVICE_FLAG_DYNAMIC 0x080 |
|
#define | RT_DEVICE_FLAG_INT_RX 0x100 |
|
#define | RT_DEVICE_FLAG_DMA_RX 0x200 |
|
#define | RT_DEVICE_FLAG_INT_TX 0x400 |
|
#define | RT_DEVICE_FLAG_DMA_TX 0x800 |
|
#define | RT_DEVICE_OFLAG_CLOSE 0x000 |
|
#define | RT_DEVICE_OFLAG_RDONLY 0x001 |
|
#define | RT_DEVICE_OFLAG_WRONLY 0x002 |
|
#define | RT_DEVICE_OFLAG_RDWR 0x003 |
|
#define | RT_DEVICE_OFLAG_OPEN 0x008 |
|
#define | RT_DEVICE_OFLAG_MASK 0xf0f |
|
#define | RT_DEVICE_CTRL_RESUME 0x01 |
|
#define | RT_DEVICE_CTRL_SUSPEND 0x02 |
|
#define | RT_DEVICE_CTRL_CONFIG 0x03 |
|
#define | RT_DEVICE_CTRL_CLOSE 0x04 |
|
#define | RT_DEVICE_CTRL_NOTIFY_SET 0x05 |
|
#define | RT_DEVICE_CTRL_SET_INT 0x06 |
|
#define | RT_DEVICE_CTRL_CLR_INT 0x07 |
|
#define | RT_DEVICE_CTRL_GET_INT 0x08 |
|
#define | RT_DEVICE_CTRL_CONSOLE_OFLAG 0x09 |
|
#define | RT_DEVICE_CTRL_MASK 0x1f |
|
#define | RT_DEVICE_CTRL_BASE(Type) |
|