123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196 |
- #ifndef _GLOBAL_CONFIG_H_
- #define _GLOBAL_CONFIG_H_
- #include "types.h"
-
- #define CONFIG_BASE_ADDR 0x1fff0C00
- #define SOFT_PARAMETER_NUM 256
- #define ADV_CHANNEL_INTERVAL 0
- #define SCAN_RSP_DELAY 1
- #define CONN_REQ_TO_SLAVE_DELAY 2
- #define SLAVE_CONN_DELAY 3
- #define SLAVE_CONN_DELAY_BEFORE_SYNC 4
- #define MAX_SLEEP_TIME 5
- #define MIN_SLEEP_TIME 6
- #define WAKEUP_ADVANCE 7
- #define WAKEUP_DELAY 8
- #define HDC_DIRECT_ADV_INTERVAL 9
- #define LDC_DIRECT_ADV_INTERVAL 10
- #define LL_SWITCH 11
- #define CLOCK_SETTING 14
- #define LL_HW_BB_DELAY 15
- #define LL_HW_AFE_DELAY 16
- #define LL_HW_PLL_DELAY 17
- #define LL_HW_RTLP_LOOP_TIMEOUT 18
- #define LL_HW_RTLP_1ST_TIMEOUT 19
- #define MIN_TIME_TO_STABLE_32KHZ_XOSC 20
- #define LL_TX_PKTS_PER_CONN_EVT 21
- #define LL_RX_PKTS_PER_CONN_EVT 22
- #define DIR_ADV_DELAY 23
- #define LL_TX_PWR_TO_REG_BIAS 24
- #define LL_SMART_WINDOW_COEF_ALPHA 25
- #define LL_SMART_WINDOW_TARGET 26
- #define LL_SMART_WINDOW_INCREMENT 27
- #define LL_SMART_WINDOW_LIMIT 28
- #define LL_SMART_WINDOW_ACTIVE_THD 29
- #define LL_SMART_WINDOW_ACTIVE_RANGE 30
- #define LL_SMART_WINDOW_FIRST_WINDOW 31
- #define LL_HW_Tx_TO_RX_INTV 32
- #define LL_HW_Rx_TO_TX_INTV 33
- #define INITIAL_STACK_PTR 34
- #define ALLOW_TO_SLEEP_TICK_RC32K 35
- #define LL_HW_BB_DELAY_ADV 36
- #define LL_HW_AFE_DELAY_ADV 37
- #define LL_HW_PLL_DELAY_ADV 38
- #define LL_ADV_TO_SCAN_REQ_DELAY 39
- #define LL_ADV_TO_CONN_REQ_DELAY 40
- #define LL_MOVE_TO_MASTER_DELAY 41
- #define LL_HW_TRLP_LOOP_TIMEOUT 42
- #define LL_CONN_REQ_WIN_SIZE 43
- #define LL_CONN_REQ_WIN_OFFSET 44
- #define LL_MASTER_PROCESS_TARGET 45
- #define LL_MASTER_TIRQ_DELAY 46
- #define LL_HW_BB_DELAY_2MPHY 47
- #define LL_HW_AFE_DELAY_2MPHY 48
- #define LL_HW_PLL_DELAY_2MPHY 49
- #define LL_HW_Tx_TO_RX_INTV_2MPHY 50
- #define LL_HW_Rx_TO_TX_INTV_2MPHY 51
- #define LL_HW_BB_DELAY_500KPHY 52
- #define LL_HW_AFE_DELAY_500KPHY 53
- #define LL_HW_PLL_DELAY_500KPHY 54
- #define LL_HW_Tx_TO_RX_INTV_500KPHY 55
- #define LL_HW_Rx_TO_TX_INTV_500KPHY 56
- #define LL_HW_BB_DELAY_125KPHY 57
- #define LL_HW_AFE_DELAY_125KPHY 58
- #define LL_HW_PLL_DELAY_125KPHY 59
- #define LL_HW_Tx_TO_RX_INTV_125KPHY 60
- #define LL_HW_Rx_TO_TX_INTV_125KPHY 61
- #define LL_HW_TRLP_TO_GAP 62
- #define LL_HW_RTLP_TO_GAP 63
- #define LL_TRX_NUM_ADAPTIVE_CONFIG 64
- #define OSAL_SYS_TICK_WAKEUP_TRIM 65
- #define LL_NOCONN_ADV_EST_TIME 70
- #define LL_NOCONN_ADV_MARGIN 71
- #define LL_SEC_SCAN_MARGIN 72
- #define LL_MIN_SCAN_TIME 73
- #define MAC_ADDRESS_LOC 80
- #define RC32_TRACKINK_ALLOW 0x00000001
- #define SLAVE_LATENCY_ALLOW 0x00000002
- #define LL_DEBUG_ALLOW 0x00000004
- #define LL_WHITELIST_ALLOW 0x00000008
- #define LL_RC32K_SEL 0x00000010
- #define SIMUL_CONN_ADV_ALLOW 0x00000020
- #define SIMUL_CONN_SCAN_ALLOW 0x00000040
- #define GAP_DUP_RPT_FILTER_DISALLOW 0x00000100
- extern uint32 *pGlobal_config;
- #endif
|