📄 radio.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 + -