dodany kod c od Krzyska po wielu modyfikacjach przez Gemini zeby usunac zalezność od TI-RTOS

This commit is contained in:
2026-02-19 11:59:33 +01:00
parent bf9c4596b8
commit d086ef28de
336 changed files with 52294 additions and 1006 deletions

41
src/valf_gt.h Normal file
View File

@@ -0,0 +1,41 @@
/*
* valf_gt.h
*
* Created on: 07-05-2014
* Author: Krzysztof Jakubczyk
*/
#ifndef VALF_GT_H_
#define VALF_GT_H_
#include "tdefs.h"
struct valf_gt_logic
{
float *sample_ptr;
u8 *out_ptr;
u8 out_bit_no;
};
struct valf_gt_io
{
u32 sample_float_in;
u32 out;
}__attribute__((__packed__));
struct valf_gt_params
{
double trig_val;
}__attribute__((__packed__));
struct valf_gt_args
{
struct valf_gt_io io;
struct valf_gt_params params;
// u16 crc;
}__attribute__((__packed__));
extern void valf_gt(void *args, void *logic);
extern int valf_gt_initlog(void *arguments, void *logic);
#endif /* VALF_GT_H_ */