This commit is contained in:
2026-03-20 21:19:04 +08:00
parent 90c3d919df
commit 9d3b4b836f
247 changed files with 22127 additions and 30305 deletions

22
user/Compute/AccCompute.h Executable file → Normal file
View File

@@ -54,19 +54,19 @@
// ACC Data save
// For FRAM(< 0x0800)
// For EEPROM(< 0x0200)
//#define REC_BASE 0x0100 // the start EEPROM address of acc data
//#define REC_WIDTH 14
//#define BLOCK_WIDTH 7 // 0x100(256) + 14*4 = 0x138(312)
//#define BLOCK2_START 0x140 // 0x180(256) + 14*4 = 0x1B8
//#define REC_DEPTH 4
#define REC_BASE 0x0100 // the start EEPROM address of acc data
#define REC_WIDTH 14
#define BLOCK_WIDTH 7 // 0x100(256) + 14*4 = 0x138(312)
#define BLOCK2_START 0x140 // 0x180(256) + 14*4 = 0x1B8
#define REC_DEPTH 4
//#define REC_PULSE_REMAINING 0x01D0 // 0x1D0(256) + 20 = 0x1E4
//#define PULSE_REMAINING_WIDTH 5
//#define PULSE_REMAINING_CRC (PULSE_REMAINING_WIDTH-1)
#define REC_PULSE_REMAINING 0x01D0 // 0x1D0(256) + 20 = 0x1E4
#define PULSE_REMAINING_WIDTH 5
#define PULSE_REMAINING_CRC (PULSE_REMAINING_WIDTH-1)
//#define PULSE_COUNTER 0x01F0 // 0x1D0(256) + 20 = 0x1E4
//#define PULSE_COUNTER_WIDTH 5
//#define PULSE_COUNTER_CRC (PULSE_COUNTER_WIDTH-1)
#define PULSE_COUNTER 0x01F0 // 0x1D0(256) + 20 = 0x1E4
#define PULSE_COUNTER_WIDTH 5
#define PULSE_COUNTER_CRC (PULSE_COUNTER_WIDTH-1)
//------------------------------------------------------------------------------
//#define REC_BASE_WIDTH ()