feat: 添加杰理 JL7016 SOC 代码生成模板

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-08-19 16:05:36 +08:00
co-authored by Cursor
parent 0eda925f58
commit 16bffd16b2
914 changed files with 254709 additions and 45 deletions
@@ -0,0 +1,31 @@
#ifndef SENSORCALIB_API_H
#define SENSORCALIB_API_H
#include "tech_lib/SpatialAudio_api.h"
//校准阈值
typedef struct {
float thv1;//加速度计校准阈值1
float thv2;//
} Thval_t;
enum {
type_0 = 0,
type_1,
type_2
};
enum {
mode_0 = 0,
mode_1
};
int GroCelBuff();
void GroCelInit(void *buf, info_spa_t *para, int time);
int Gro_Calibration(void *ptr, short *data, info_spa_t *para, tranval_t *, int mode, gyro_cel_t *agv);
int AccCelBuff();
void AccCelInit(void *ptr, info_spa_t *para, int time);
int Acc_Calibration(void *ptr, short *data, info_spa_t *para, acc_cel_t *ac, Thval_t *tv);
#endif // !1