⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 radio.h

📁 这是nrf24lu1的无线鼠标源代码,应用平台是keil c
💻 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.
 *
 * $LastChangedRevision: 1769 $
 */
 
 /** @file
 * Radio header file for the nRF24LU1 example application
 * 
 * @author Runar Kjellhaug
 */
#define CMD1 1
#define CMD2 2

#define RF_IDLE 0x00
#define RF_BUSY 0xff

#define RF_READY_INT_VECT 9

/** This function initializes the radio interface, and makes a complete radio setup.
*/
void radio_init(void);

/** This function load the byte to be sent into the radio, sends it, and waits for
 * the response.
*/
void radio_send_packet(uint8_t command);

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -