?? app_param.h
字號:
/* Copyright (c) 2007 Nordic Semiconductor. All Rights Reserved.
*
* The information contained herein is confidential property of Nordic Semiconductor. The use,
* copying, transfer or disclosure of such information is prohibited except by express written
* agreement with Nordic Semiconductor.
*/
/** @file
* Setup header file for the Wireless Desktop reference application
*
* @author Lasse Olsen
*
* @defgroup nordic_app_protocol_fap_setup Frequency Agility Protocol application setup parameters
* @{
* @ingroup nordic_protocol_wdp
*/
#ifndef _APP_PARAM_H
#define _APP_PARAM_H
#define APP_MOUSE_POLL_PERIOD (8000/FAP_RX_PERIOD) // Poll mouse every 8 ms
#define APP_PAIRING_COMMITED 0xAA // Signature byte for indicating pairing comitted
#define PARAM_PAGE_N0 31 // Use flash page 31 for parameter storage
#define LU1_PAGESIZE 512 // Pagesize for nRF24LU1
// Flash parameter addresses
#define PARAM_PREV_PAIRED (LU1_PAGESIZE*PARAM_PAGE_N0)
#define PARAM_MASTER_ADR0 (PARAM_PREV_PAIRED + 1)
#define PARAM_DEV_TYPE (LU1_PAGESIZE*PARAM_PAGE_N0)
#define PARAM_DEV_ADR0 (PARAM_DEV_TYPE + 1)
#endif
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -