#include "lwip/opt.h"
Macros | |
#define | SYS_ARCH_DEC(var, val) |
#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. More... | |
#define | SYS_ARCH_GET(var, ret) |
#define | SYS_ARCH_INC(var, val) |
#define | SYS_ARCH_PROTECT(lev) |
#define | sys_arch_sem_wait(s, t) |
#define | SYS_ARCH_SET(var, val) |
#define | SYS_ARCH_UNPROTECT(lev) |
#define | sys_mbox_fetch(m, d) |
#define | sys_mbox_free(m) |
#define | sys_mbox_new(m, s) ERR_OK |
#define | sys_mbox_post(m, d) |
#define | sys_mbox_set_invalid(m) |
#define | sys_mbox_tryfetch(m, d) |
#define | sys_mbox_trypost(m, d) |
#define | sys_mbox_valid(m) |
#define | sys_msleep(t) |
#define | sys_mutex_free(mu) |
#define | sys_mutex_lock(mu) |
#define | sys_mutex_new(mu) ERR_OK |
#define | sys_mutex_set_invalid(mu) |
#define | sys_mutex_unlock(mu) |
#define | sys_mutex_valid(mu) 0 |
#define | sys_sem_free(s) |
#define | sys_sem_set_invalid(s) |
#define | sys_sem_signal(s) |
#define | sys_sem_valid(s) 0 |
#define | sys_sem_wait(s) |
#define | sys_thread_new(n, t, a, s, p) |
Typedefs | |
typedef u8_t | sys_mbox_t |
typedef u8_t | sys_mutex_t |
typedef u8_t | sys_sem_t |
Functions | |
void | sys_init (void) |
u32_t | sys_jiffies (void) |
Ticks/jiffies since power up. More... | |
u32_t | sys_now (void) |
Returns the current time in milliseconds, may be the same as sys_jiffies or at least based on it. More... | |
#define SYS_ARCH_DEC | ( | var, | |
val | |||
) |
#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.
#define SYS_ARCH_GET | ( | var, | |
ret | |||
) |
#define SYS_ARCH_INC | ( | var, | |
val | |||
) |
#define SYS_ARCH_PROTECT | ( | lev | ) |
#define sys_arch_sem_wait | ( | s, | |
t | |||
) |
#define SYS_ARCH_SET | ( | var, | |
val | |||
) |
#define SYS_ARCH_UNPROTECT | ( | lev | ) |
#define sys_mbox_fetch | ( | m, | |
d | |||
) |
#define sys_mbox_free | ( | m | ) |
#define sys_mbox_new | ( | m, | |
s | |||
) | ERR_OK |
#define sys_mbox_post | ( | m, | |
d | |||
) |
#define sys_mbox_set_invalid | ( | m | ) |
#define sys_mbox_tryfetch | ( | m, | |
d | |||
) |
#define sys_mbox_trypost | ( | m, | |
d | |||
) |
#define sys_mbox_valid | ( | m | ) |
#define sys_msleep | ( | t | ) |
#define sys_mutex_free | ( | mu | ) |
#define sys_mutex_lock | ( | mu | ) |
Referenced by mem_malloc().
#define sys_mutex_new | ( | mu | ) | ERR_OK |
Referenced by mem_init().
#define sys_mutex_set_invalid | ( | mu | ) |
#define sys_mutex_unlock | ( | mu | ) |
Referenced by mem_malloc().
#define sys_mutex_valid | ( | mu | ) | 0 |
#define sys_sem_free | ( | s | ) |
#define sys_sem_set_invalid | ( | s | ) |
#define sys_sem_signal | ( | s | ) |
#define sys_sem_valid | ( | s | ) | 0 |
#define sys_sem_wait | ( | s | ) |
#define sys_thread_new | ( | n, | |
t, | |||
a, | |||
s, | |||
p | |||
) |
Referenced by ethernetif_init().
typedef u8_t sys_mbox_t |
typedef u8_t sys_mutex_t |
Referenced by lwip_init().
Returns the current time in milliseconds, may be the same as sys_jiffies or at least based on it.
References sys_get_ms().
Referenced by sys_timeouts_init().