mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
cont
This commit is contained in:
@@ -22,6 +22,9 @@
|
||||
|
||||
#include "mlx90640.h"
|
||||
|
||||
// amount of sensors processing
|
||||
#define N_SESORS (5)
|
||||
|
||||
// maximal errors number to stop processing
|
||||
#define MLX_MAX_ERRORS (11)
|
||||
// if there's no new data by this time - reset bus
|
||||
@@ -35,14 +38,14 @@ typedef enum{
|
||||
MLX_RELAX // do nothing - pause
|
||||
} mlx_state_t;
|
||||
|
||||
int mlx_setaddr(uint8_t addr);
|
||||
int mlx_setaddr(int n, uint8_t addr);
|
||||
mlx_state_t mlx_state();
|
||||
int mlx_nactive();
|
||||
void mlx_pause();
|
||||
void mlx_stop();
|
||||
void mlx_continue();
|
||||
void mlx_process();
|
||||
int mlx_getparams(MLX90640_params *pars);
|
||||
fp_t *mlx_getimage(uint32_t *Tgot);
|
||||
int mlx_setresolution(uint8_t newresol);
|
||||
uint8_t mlx_getresolution();
|
||||
int mlx_sethwaddr(uint8_t addr);
|
||||
uint32_t mlx_lastimT();
|
||||
int mlx_getparams(int sensno, MLX90640_params *pars);
|
||||
fp_t *mlx_getimage(int sensno);
|
||||
int mlx_sethwaddr(uint8_t MLX_address, uint8_t addr);
|
||||
uint32_t mlx_lastimT(int sensno);
|
||||
|
||||
Reference in New Issue
Block a user