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
31
32/* zbus.h: Opaque channel pointer */
33struct zbus_channel;
34
36const struct zbus_channel *zbus_chan_from_id(uint32_t channel_id);
37
38#ifndef CONFIG_ZBUS
40const void *zbus_chan_const_msg(const struct zbus_channel *chan);
41#endif /* !CONFIG_ZBUS */
42
44int zbus_chan_read_no_wait(const struct zbus_channel *chan, void *msg);
45
47int zbus_chan_finish(const struct zbus_channel *chan);
48
50void printk(const char *fmt, ...);
51
55
56#ifdef __cplusplus
57}
58#endif
59
60#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
const struct zbus_channel * zbus_chan_from_id(uint32_t channel_id)
zbus.h: See zbus_chan_from_id