?? cc2511_app_ex_lib_config.h
字號:
#ifndef CC2511_APP_EX_LIB_CONFIG_H
#define CC2511_APP_EX_LIB_CONFIG_H
/*
*
* Description:
* This file is used to configures the CC2511 App Ex library.
* The definitions not needed in a project can be commented out.
*
*
*
* ********** IMPORTANT! *************
*
* If any library functions are to be used, copy the cc2511_lib_config_template.h file
* into the project catalog.
* Rename it to cc2511_lib_config.h, and edit it to get the desired setup of the library.
*
* ***********************************
*
*/
//-------------------------------------------------------------------------------------------------------
// RF framework setup
// RSSI threshold given in dBm is used to decide if a bind request should be accepted or rejected by
//the CC2511 USB Dongle (range is -9 to -136 dBm)
// When using -55 the CC2511 USB Dongle will accept bind requests from CC2510 within approx 1 to 1.5 meter.
#define BIND_REQUEST_RSSI_THRESHOLD -55
// Number of bind retries the CC2510 remote device will perform before sending a
// RFRU_EVENT_BIND_REQUEST_TIMEOUT event to application.
#define RF_BIND_REQUEST_RETRIES 3
//-------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------
// FIFO BUFFER setup
// set the number of individual FIFO buffers wanted
#define FIFO_SETUP_NUMBER_OF_FIFO_BUFFERS 1
// set the number of slots within each of the individual FIFO buffers
#define FIFO_SETUP_SLOTS_PER_FIFO { 20 }
// set the size of each slot within each of the individual FIFO buffers
#define FIFO_SETUP_BYTES_PER_SLOT { 11 }
// set the total size of the FIFO buffer
// this equals the sum of all FIFO_SETUP_SLOTS_PER_FIFO multiplied with
// the corresponding FIFO_SETUP_BYTES_PER_SLOT.
#define FIFO_SETUP_TOTAL_SIZE_OF_BUFFER 220
//-------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------
// LIO BUFFER setup
// set the number of individual LIO buffers wanted
#define LIO_SETUP_NUMBER_OF_LIO_BUFFERS 0
// set the size of each slot within each of the individual LIO buffers
#define LIO_SETUP_BYTES_PER_SLOT { }
// set the total size of the LIO buffer
// this equals the sum of all LIO_SETUP_BYTES_PER_SLOT multiplied by two.
#define LIO_SETUP_TOTAL_SIZE_OF_BUFFER 0
//-------------------------------------------------------------------------------------------------------
//-------------------------------------------------------------------------------------------------------
// Timer 4 manager setup
// Enter the number items in the callback table. Note that the time spent in the timer 4 interrupt
// increases with this number
#define T4MGR_SETUP_NUMBER_OF_CALLBACK_FUNCTIONS 4
//-------------------------------------------------------------------------------------------------------
#endif //CC2511_APP_EX_LIB_CONFIG_H
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -