1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- #ifndef __SYS_MACRO_H__
- #define __SYS_MACRO_H__
- #define PUB_SOFTWARE_NAME_LEN 11
- #define PUB_SOFTWARE_NAME "APLM8000SDK"
- #define PUB_SOFTWARE_VERSION_LEN 7
- #define PUB_SOFTWARE_VERSION "V2.1.01"
- #define PUB_M_PI 3.14159265358979323846
- #define PUB_2PI (2 * 3.14159265358979323846)
- #define PUB_M_PI_2 1.57079632679489661923
- #define RET_OK 0
- #define RET_FAIL 1
- #define PUB_SYS_CARRIER_NUM 9
- #define PUB_SYS_SLOT_NUM 4
- #define PUB_AUDIO_SPEED 343
- #define PUB_SIGNAL_SAMPLE_RATIO 48000
- #define PUB_SYNC_INDEX_OFFSET_NUM 5600
- #define PUB_BTS_VALID_DISTANCE ((PUB_SYNC_INDEX_OFFSET_NUM * PUB_AUDIO_SPEED) / PUB_SIGNAL_SAMPLE_RATIO)
- #define PUB_LCT_BTS_MAX_NUM PUB_SYS_CARRIER_NUM
- #define PUB_FFT_FRAME_LEN 16384
- #define PUB_BTS_LCT_BTS_DATA_USE_MAX_TIMES 5
- #define PUBLIC_BTS_ID_BITS_NUM 21
- #define PUBLIC_BTS_ID_FRAMES (4 * PUBLIC_BTS_ID_BITS_NUM)
- #define PUBLIC_BTS_ID_JUDGEMENT_FACTOR 15
- #define PUB_BTS_ID_NUM 1164
- #define PUB_SLOT_FRAME_LEN 12000
- #define PUB_LCT_DATA_LIST_LEN (6 * PUB_SLOT_FRAME_LEN)
- #define PUBLIC_SYNC_FRAMES BTS_AMPL_MIRROR_FRAMES
- #define PUB_TWO_BTS_MAX_NUM 6
- #define PUBLIC_LCT_PEAK_LIST_LEN 256
- #define PUBLIC_LCT_MIN_VALUE_FRONT_LEN 1000
- #define PUBLIC_LCT_CFAR_LEN 160
- #define PUBLIC_LCT_TRACK_WINDOW_WIDTH 280
- #define PUB_MAC_ADDRESS_LEN 12
- #define PUB_DEBUG_ENABLE 0
- #endif
|