#include "arch/cc.h"
#include "lwip/opt.h"
#include "arch/sys_arch.h"
Go to the source code of this file.
|
void | sys_init (void) |
|
void | sys_timeout (u32_t msecs, sys_timeout_handler h, void *arg) |
|
void | sys_untimeout (sys_timeout_handler h, void *arg) |
|
struct sys_timeouts * | sys_arch_timeouts (void) |
|
sys_sem_t | sys_sem_new (u8_t count) |
|
void | sys_sem_signal (sys_sem_t sem) |
|
u32_t | sys_arch_sem_wait (sys_sem_t sem, u32_t timeout) |
|
void | sys_sem_free (sys_sem_t sem) |
|
void | sys_sem_wait (sys_sem_t sem) |
|
int | sys_sem_wait_timeout (sys_sem_t sem, u32_t timeout) |
|
void | sys_msleep (u32_t ms) |
|
u32_t | sys_jiffies (void) |
|
sys_mbox_t | sys_mbox_new (void) |
|
void | sys_mbox_post (sys_mbox_t mbox, void *msg) |
|
u32_t | sys_arch_mbox_fetch (sys_mbox_t mbox, void **msg, u32_t timeout) |
|
void | sys_mbox_free (sys_mbox_t mbox) |
|
void | sys_mbox_fetch (sys_mbox_t mbox, void **msg) |
|
sys_thread_t | sys_thread_new (void(*thread)(void *arg), void *arg, int prio) |
|
unsigned long | sys_now (void) |
|
◆ SYS_ARCH_DECL_PROTECT
#define SYS_ARCH_DECL_PROTECT |
( |
|
lev | ) |
|
SYS_LIGHTWEIGHT_PROT define SYS_LIGHTWEIGHT_PROT in lwipopts.h if you want inter-task protection for certain critical regions during buffer allocation, deallocation and memory allocation and deallocation.
◆ SYS_ARCH_PROTECT
#define SYS_ARCH_PROTECT |
( |
|
lev | ) |
|
◆ SYS_ARCH_TIMEOUT
#define SYS_ARCH_TIMEOUT 0xffffffff |
Return code for timeouts from sys_arch_mbox_fetch and sys_arch_sem_wait
◆ SYS_ARCH_UNPROTECT
#define SYS_ARCH_UNPROTECT |
( |
|
lev | ) |
|
◆ sys_timeout_handler
typedef void(* sys_timeout_handler) (void *arg) |
◆ sys_arch_mbox_fetch()
◆ sys_arch_sem_wait()
◆ sys_arch_timeouts()
◆ sys_init()
◆ sys_jiffies()
◆ sys_mbox_fetch()
◆ sys_mbox_free()
◆ sys_mbox_new()
◆ sys_mbox_post()
◆ sys_msleep()
◆ sys_now()
unsigned long sys_now |
( |
void |
| ) |
|
◆ sys_sem_free()
◆ sys_sem_new()
◆ sys_sem_signal()
◆ sys_sem_wait()
◆ sys_sem_wait_timeout()
◆ sys_thread_new()
◆ sys_timeout()
◆ sys_untimeout()