#include <FreeRTOS.h>
#include <semphr.h>
#include <stdint.h>
#include <stdbool.h>
#include <hal.h>
Go to the source code of this file.
|
| #define | CAPTURE_ALREDY_INITED 1 |
| |
| #define | CAPTURE_ADDDEV(ns, p) HAL_ADDDEV(capture, ns, p) |
| |
| #define | CAPTURE_GET_DEV(index) HAL_GET_DEV(capture, index) |
| |
| #define | CAPTURE_OPS(ns) |
| |
| #define | CAPTURE_INIT_DEV(ns) |
| |
| #define | CAPTURE_INIT(ns, index) struct capture *capture_init(uint32_t index) |
| |
| #define | CAPTURE_DEINIT(ns, c) int32_t capture_deinit(struct capture *c) |
| |
| #define | CAPTURE_SET_CALLBACK(ns, c, callback, data) int32_t capture_setCallback(struct capture *c, bool (*callback)(struct capture *capture, uint32_t index, uint64_t time, void *data), void *data) |
| |
| #define | CAPTURE_SET_PERIOD(ns, c, us) int32_t capture_setPeriod(struct capture *c, uint64_t us) |
| |
| #define | CAPTURE_GET_TIME(ns, c) uint64_t capture_getTime(struct capture *c) |
| |
| #define | CAPTURE_GET_CHANNEL_TIME(ns, c) uint64_t capture_getChannelTime(struct capture *c) |
| |
◆ CAPTURE_ADDDEV
| #define CAPTURE_ADDDEV |
( |
|
ns, |
|
|
|
p |
|
) |
| HAL_ADDDEV(capture, ns, p) |
◆ CAPTURE_ALREDY_INITED
| #define CAPTURE_ALREDY_INITED 1 |
◆ CAPTURE_DEINIT
| #define CAPTURE_DEINIT |
( |
|
ns, |
|
|
|
c |
|
) |
| int32_t capture_deinit(struct capture *c) |
◆ CAPTURE_GET_CHANNEL_TIME
◆ CAPTURE_GET_DEV
| #define CAPTURE_GET_DEV |
( |
|
index | ) |
HAL_GET_DEV(capture, index) |
◆ CAPTURE_GET_TIME
| #define CAPTURE_GET_TIME |
( |
|
ns, |
|
|
|
c |
|
) |
| uint64_t capture_getTime(struct capture *c) |
◆ CAPTURE_INIT
| #define CAPTURE_INIT |
( |
|
ns, |
|
|
|
index |
|
) |
| struct capture *capture_init(uint32_t index) |
◆ CAPTURE_INIT_DEV
| #define CAPTURE_INIT_DEV |
( |
|
ns | ) |
|
◆ CAPTURE_OPS
| #define CAPTURE_OPS |
( |
|
ns | ) |
|
◆ CAPTURE_SET_CALLBACK
| #define CAPTURE_SET_CALLBACK |
( |
|
ns, |
|
|
|
c, |
|
|
|
callback, |
|
|
|
data |
|
) |
| int32_t capture_setCallback(struct capture *c, bool (*callback)(struct capture *capture, uint32_t index, uint64_t time, void *data), void *data) |
◆ CAPTURE_SET_PERIOD
| #define CAPTURE_SET_PERIOD |
( |
|
ns, |
|
|
|
c, |
|
|
|
us |
|
) |
| int32_t capture_setPeriod(struct capture *c, uint64_t us) |
◆ capture_generic_init()
| int32_t capture_generic_init |
( |
struct capture * |
capture | ) |
|
◆ HAL_DEFINE_GLOBAL_ARRAY()
| HAL_DEFINE_GLOBAL_ARRAY |
( |
capture |
| ) |
|