Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dependencies.h
Go to the documentation of this file.
1
9
10#ifndef INFUSE_SDK_INCLUDE_INFUSE_ALGORITHM_DEPENDENCIES_H_
11#define INFUSE_SDK_INCLUDE_INFUSE_ALGORITHM_DEPENDENCIES_H_
12
13#include <stdint.h>
14#include <string.h>
15#include <stdlib.h>
16
17#ifdef CONFIG_ZBUS
18/* If being compiled natively, we need inline definitions available */
19#include <zephyr/zbus/zbus.h>
20#endif /* CONFIG_ZBUS */
21
22#ifdef __cplusplus
23extern "C" {
24#endif
25
32
33/* zbus.h: Opaque channel pointer */
34struct zbus_channel;
35
37const struct zbus_channel *zbus_chan_from_id(uint32_t channel_id);
38
39#ifndef CONFIG_ZBUS
41const void *zbus_chan_const_msg(const struct zbus_channel *chan);
42#endif /* !CONFIG_ZBUS */
43
45int zbus_chan_read_no_wait(const struct zbus_channel *chan, void *msg);
46
48int zbus_chan_finish(const struct zbus_channel *chan);
49
51void printk(const char *fmt, ...);
52
54uint64_t epoch_time_now(void);
55
59
60#ifdef __cplusplus
61}
62#endif
63
64#endif /* INFUSE_SDK_INCLUDE_INFUSE_ALGORITHM_DEPENDENCIES_H_ */
void printk(const char *fmt,...)
printk.h: See printk
const void * zbus_chan_const_msg(const struct zbus_channel *chan)
zbus.h: See zbus_chan_const_msg
int zbus_chan_finish(const struct zbus_channel *chan)
zbus.h: See zbus_chan_finish
int zbus_chan_read_no_wait(const struct zbus_channel *chan, void *msg)
zbus.h: zbus_chan_read with K_NO_WAIT timeout
uint64_t epoch_time_now(void)
time/epoch.h: See epoch_time_now
const struct zbus_channel * zbus_chan_from_id(uint32_t channel_id)
zbus.h: See zbus_chan_from_id