#include <FreeRTOS.h>
#include <semphr.h>
#include <stdint.h>
#include <stdbool.h>
#include <hal.h>
Go to the source code of this file.
|
#define | COUNTER_ALREDY_INITED 1 |
|
#define | COUNTER_ADDDEV(ns, p) HAL_ADDDEV(counter, ns, p) |
|
#define | COUNTER_GET_DEV(index) HAL_GET_DEV(counter, index) |
|
#define | COUNTER_OPS(ns) |
|
#define | COUNTER_INIT_DEV(ns) |
|
#define | COUNTER_INIT(ns, index, mode) struct counter *counter_init(uint32_t index, enum counter_mode mode) |
|
#define | COUNTER_DEINIT(ns, p) int32_t counter_deinit(struct counter *p) |
|
#define | COUNTER_GET_VALUE(ns, p) int64_t counter_getValue(struct counter *p) |
|
#define | COUNTER_RESET(ns, p) int32_t counter_reset(struct counter *p) |
|
◆ COUNTER_ADDDEV
#define COUNTER_ADDDEV |
( |
|
ns, |
|
|
|
p |
|
) |
| HAL_ADDDEV(counter, ns, p) |
◆ COUNTER_ALREDY_INITED
#define COUNTER_ALREDY_INITED 1 |
◆ COUNTER_DEINIT
#define COUNTER_DEINIT |
( |
|
ns, |
|
|
|
p |
|
) |
| int32_t counter_deinit(struct counter *p) |
◆ COUNTER_GET_DEV
#define COUNTER_GET_DEV |
( |
|
index | ) |
HAL_GET_DEV(counter, index) |
◆ COUNTER_GET_VALUE
◆ COUNTER_INIT
◆ COUNTER_INIT_DEV
#define COUNTER_INIT_DEV |
( |
|
ns | ) |
|
◆ COUNTER_OPS
#define COUNTER_OPS |
( |
|
ns | ) |
|
◆ COUNTER_RESET
#define COUNTER_RESET |
( |
|
ns, |
|
|
|
p |
|
) |
| int32_t counter_reset(struct counter *p) |
◆ counter_genericInit()
int32_t counter_genericInit |
( |
struct counter * |
counter | ) |
|
◆ HAL_DEFINE_GLOBAL_ARRAY()
HAL_DEFINE_GLOBAL_ARRAY |
( |
counter |
| ) |
|