#include <FreeRTOS.h>
#include <semphr.h>
#include <stdint.h>
#include <stdbool.h>
#include <hal.h>
Go to the source code of this file.
|
#define | EXAMPLE_ALREDY_INITED 1 |
|
#define | example_lock(u, w, e) HAL_LOCK(u, w, e) |
|
#define | example_unlock(u, e) HAL_UNLOCK(u, e) |
|
#define | EXAMPLE_ADDDEV(ns, p) HAL_ADDDEV(example, ns, p) |
|
#define | EXAMPLE_GET_DEV(index) HAL_GET_DEV(example, index) |
|
#define | EXAMPLE_OPS(ns) |
|
#define | EXAMPLE_INIT_DEV(ns) .gen.ops = &ns##_example_ops, |
|
#define | EXAMPLE_INIT(ns, index) static struct example *ns##_example_init(uint32_t index) |
|
#define | EXAMPLE_DEINIT(ns, p) static int32_t ns##_example_deinit(struct example *p) |
|
#define | EXAMPLE_FUNCNAME(ns, p, param) static int32_t ns##_example_funcname(struct example *p, uint32_t param) |
|