EIT application source.
More...
#include <stdlib.h>
#include <stdio.h>
#include <stdbool.h>
#include <string.h>
#include <math.h>
#include "no_os_delay.h"
#include "no_os_uart.h"
#include "no_os_spi.h"
#include "no_os_gpio.h"
#include "bia_measurement.h"
#include "mux_board.h"
#include "app.h"
#include "parameters.h"
#include "common_data.h"
|
| int | ADG2128_SwRst (struct ad5940_dev *dev) |
| |
| void | configMeasurement (struct measurement_config *oldCfg, struct measurement_config newCfg) |
| |
| void | ParseResultMode (struct measurement_config *pMeasCfg) |
| |
| int32_t | ParseConfig (char *pStr, struct eit_config *pEitCfg, struct measurement_config *pMeasCfg) |
| |
| int32_t | ParseQuery (char *pStr, struct electrode_combo *pElCmb, struct measurement_config *pMeasCfg) |
| |
| void | SendResultUint32 (uint32_t *pData, uint32_t nDataCount) |
| |
| void | SendResultFloat32 (float *data, uint32_t DataCount) |
| |
| void | SendResultIeee754 (float *data, uint32_t DataCount) |
| |
| void | SendResult (uint32_t *pData, uint16_t len, bool bImpedanceReadMode, bool bMagnitudeMode) |
| |
| void | MuxSupportedElectrodeCounts () |
| |
| void | AD5940BiaStructInit (void) |
| |
| uint16_t | generateSwitchCombination (struct eit_config eitCfg, struct electrode_combo *swSeq) |
| |
| int | app_main (struct no_os_i2c_desc *i2c, struct ad5940_init_param *ad5940_ip) |
| |
EIT application source.
- Author
- Kister Jimenez (kiste.nosp@m.r.ji.nosp@m.menez.nosp@m.@ana.nosp@m.log.c.nosp@m.om)
-
Darius Berghe (dariu.nosp@m.s.be.nosp@m.rghe@.nosp@m.anal.nosp@m.og.co.nosp@m.m)
Copyright 2022(c) Analog Devices, Inc.
SPDX-License-Identifier: BSD-3-Clause
◆ APPBUFF_SIZE
◆ AD5940BiaStructInit()
| void AD5940BiaStructInit |
( |
void | | ) |
|
- Todo
- add checker in function
◆ ADG2128_SwRst()
| int ADG2128_SwRst |
( |
struct ad5940_dev * | dev | ) |
|
◆ app_main()
| int app_main |
( |
struct no_os_i2c_desc * | i2c, |
|
|
struct ad5940_init_param * | ad5940_ip ) |
◆ configMeasurement()
◆ generateSwitchCombination()
◆ MuxSupportedElectrodeCounts()
| void MuxSupportedElectrodeCounts |
( |
| ) |
|
◆ ParseConfig()
◆ ParseQuery()
◆ ParseResultMode()
◆ SendResult()
| void SendResult |
( |
uint32_t * | pData, |
|
|
uint16_t | len, |
|
|
bool | bImpedanceReadMode, |
|
|
bool | bMagnitudeMode ) |
◆ SendResultFloat32()
| void SendResultFloat32 |
( |
float * | data, |
|
|
uint32_t | DataCount ) |
◆ SendResultIeee754()
| void SendResultIeee754 |
( |
float * | data, |
|
|
uint32_t | DataCount ) |
◆ SendResultUint32()
| void SendResultUint32 |
( |
uint32_t * | pData, |
|
|
uint32_t | nDataCount ) |
◆ AppBuff
◆ runningCmd
| unsigned int runningCmd = 0 |
◆ SinFreqVal
◆ SinFreqValUINT
| unsigned int SinFreqValUINT = 0 |
◆ swComboSeq
◆ szInSring
| volatile unsigned char szInSring[32] |
|
extern |
◆ uart