Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
channels.h File Reference

Infuse-IoT zbus channels. More...

#include <stdint.h>
#include <zephyr/zbus/zbus.h>
#include <infuse/tdf/definitions.h>

Go to the source code of this file.

Data Structures

struct  infuse_zbus_chan_movement_std_dev
 Data type for INFUSE_ZBUS_CHAN_MOVEMENT_STD_DEV. More...
 
struct  infuse_zbus_chan_tilt
 Data type for INFUSE_ZBUS_CHAN_TILT. More...
 

Macros

#define INFUSE_ZBUS_TYPE(channel)
 Get the type associated with an Infuse zbus channel.
 
#define INFUSE_ZBUS_NAME(channel)
 Get the channel name associated with an Infuse zbus channel.
 
#define INFUSE_ZBUS_CHAN_DEFINE(channel)
 Define an Infuse zbus channel with default parameters.
 
#define INFUSE_ZBUS_CHAN_DECLARE(...)
 Like ZBUS_CHAN_DECLARE for Infuse channels.
 
#define INFUSE_ZBUS_CHAN_GET(channel)
 Statically get pointer to Infuse channel.
 

Enumerations

enum  infuse_zbus_channel_id {
  INFUSE_ZBUS_CHAN_BASE = 0x43210000 , INFUSE_ZBUS_CHAN_BATTERY = INFUSE_ZBUS_CHAN_BASE + 0 , INFUSE_ZBUS_CHAN_AMBIENT_ENV = INFUSE_ZBUS_CHAN_BASE + 1 , INFUSE_ZBUS_CHAN_IMU = INFUSE_ZBUS_CHAN_BASE + 2 ,
  INFUSE_ZBUS_CHAN_IMU_ACC_MAG = INFUSE_ZBUS_CHAN_BASE + 3 , INFUSE_ZBUS_CHAN_LOCATION = INFUSE_ZBUS_CHAN_BASE + 4 , INFUSE_ZBUS_CHAN_MOVEMENT_STD_DEV = INFUSE_ZBUS_CHAN_BASE + 5 , INFUSE_ZBUS_CHAN_TILT = INFUSE_ZBUS_CHAN_BASE + 6 ,
  INFUSE_ZBUS_CHAN_UBX_NAV_PVT = INFUSE_ZBUS_CHAN_BASE + 7 , INFUSE_ZBUS_CHAN_NRF9X_NAV_PVT = INFUSE_ZBUS_CHAN_BASE + 8
}
 

Functions

static uint64_t infuse_zbus_channel_data_age (const struct zbus_channel *chan)
 Retrieve the age of the data in the zbus channel.
 

Detailed Description

Infuse-IoT zbus channels.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2