You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
546 B
26 lines
546 B
#pragma once
|
|
|
|
/**
|
|
* @brief
|
|
*
|
|
* 200HZ,16bit
|
|
* ->
|
|
* 1s => 200*2 => 400BYTE
|
|
* 248k
|
|
* ->
|
|
* 1s => 248*1024/400 => 634_S => 10.5min
|
|
*/
|
|
|
|
#define MAX_STORAGE_TIMEOUT_S (60 * 10)
|
|
#define MAX_STORAGE_SIZE (MAX_STORAGE_TIMEOUT_S * 400) // 存储最大限制为 (256-8)kbyte
|
|
#define MAX_FILE_NUM 10
|
|
|
|
#define SAMPLE_RATE 500
|
|
#define SAMPLE_PRECISION 12
|
|
|
|
#define AUTOMATIC_SLEEP_TIME 15000
|
|
#define SAMPLE_MIN_TIME_S (30.0)
|
|
|
|
// #define ENABLE_SLEEP
|
|
|
|
#define LITTLE_DATA_BLOCK_FRAME_NUM 5 // 每次多少帧上报一次
|