11#ifndef INC_MYSENSORS_H_
12#define INC_MYSENSORS_H_
14#include "stm32wlxx_hal.h"
sens_ProcessDef_t
State machine states for the sensor reading process.
void sensors_Init(I2C_HandleTypeDef *hi2c)
Initialization of all sensors, must be called before for store of hi2c handler.
void sensors_WriteFromBckToDataBlock(mems_DataBlock_t *data)
filling the data block from sensor data - store to memory the methods works with _bck_XXXXX senzor,...
sens_ProcessDef_t sensors_Work()
no sequncer processing reading data from sensor according to group specification
void sensorsSeq_Init(uint32_t sensortAppBit, uint32_t mylorawanAppBit)
the sensors sequencer initialization and set the process in sequencer
void sensors_Start()
non squncer processing start of reading - prepare of internal state machine
uint8_t * sensors_CayennelFromBckData(uint8_t *sizeOut)
collecting sensor data into CayenneLppGetBuffer buffer for sending them via LoRa the methods works wi...
void sensors_Retiming()
the System goes to OFF mode - retiming of timer sensor reading
void i2c_OnOff(uint8_t onOff)
possible to I2C turn on/off - cumulative
void sensors_CopyToBck()
The copying data from current sensors buffer to backUp - _bck_XXXXX.
uint8_t sensors_ReadToBckFromDataBlock(const mems_DataBlock_t *data)
reading from memory block and filling specified sensor from memory - ready for sensors_CayennelData t...
Sensor data record stored as one element in the flash circular queue.