first submission

This commit is contained in:
qiyongshuang
2023-02-01 14:19:13 +08:00
parent d534aad004
commit b79c6ac80d
3711 changed files with 745432 additions and 2 deletions
+33
View File
@@ -0,0 +1,33 @@
/********************************** (C) COPYRIGHT *******************************
* File Name : rf_phy.h
* Author : WCH
* Version : V1.0
* Date : 2018/11/12
* Description :
*********************************************************************************
* Copyright (c) 2021 Nanjing Qinheng Microelectronics Co., Ltd.
* Attention: This software (modified or not) and binary are used for
* microcontroller manufactured by Nanjing Qinheng Microelectronics.
*******************************************************************************/
#ifndef CENTRAL_H
#define CENTRAL_H
#ifdef __cplusplus
extern "C" {
#endif
#define SBP_RF_START_DEVICE_EVT 1
#define SBP_RF_PERIODIC_EVT 2
#define SBP_RF_RF_RX_EVT 4
//If you add this macro when configured LLEMODE, the first byte received is the raw data, otherwise the RSSI value
#define LLE_MODE_ORIGINAL_RX (0x80)
extern void RF_Init(void);
#ifdef __cplusplus
}
#endif
#endif