📄 zheng_xianxinghuigui.h
字号:
#ifndef zheng_xianxinghuigui_H
#define zheng_xianxinghuigui_H
typedef struct
{
double slope;//斜率
double coeff;//线性系数
double storeslope[10];//(add)
UINT64 Time_offset;//时间延迟值
UINT64 Time_huioffset;//(add)
UINT64 Localavertime;//
UINT64 LocalTime;//(add)
UINT64 collecttime[10];//时间延迟数组
// UINT8 Time[8];//8位的时间
// UINT64 Instancetime;
UINT64 SFD_point_time;
// UINT64 global_time;
}Coefficientof;
extern Coefficientof Timelinearity;
void huigui_function1(UINT64 *time_offset,int n);
void huigui_function(UINT64 *time_offset,UINT64 *global_time,UINT8 n);
void calculatefuction(void);
//////收发之间的延迟 SFD
#define transmit_baud 250*1000
#define between_SFD_offset -166
// between_SFD_offset= ten_uSecond(127+5)*8/transmit_baud*100000 =422.3ten_uSecond
//
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -