資源簡介
自己用的SX1278程序 非常完整 測試沒問題的 可以放心使用哈

代碼片段和文件信息
/**
??********************************??STM32F10x??*********************************
??*?@文件名?????:?main.c
??*?@作者???????:?sun
??*?@庫版本?????:?V3.5.0
??*?@文件版本???:?V1.0.0
??*?@日期???????:?2016年05月09日
??*?@摘要???????:?
??******************************************************************************/
/*----------------------------------------------------------------------------
??更新日志:
??----------------------------------------------------------------------------*/
/*?包含的頭文件?--------------------------------------------------------------*/
#include?“bsp.h“
#include?“spi.h“
#include?“timer.h“
#include?“usart.h“
#include?“radio.h“
#include?“LoraUsart.h“
#include?“systick.h“
#include?“LoraComm.h“
/************************************************
//程序功能定義一次只能選擇一個
*************************************************/
/************************************************
函數名稱?:?System_Initializes
功????能?:?系統初始化
參????數?:?無
返?回?值?:?無
作????者?:?sun
*************************************************/
void?System_Initializes(void)
{
??BSP_Initializes();
??SPI_Initializes();
??TIMER_Initializes();
??USART_Initializes();
}
/************************************************
函數名稱?:?main
功????能?:?主函數入口
參????數?:?無
返?回?值?:?int
作????者?:?sun
*************************************************/
int?main(void)
{
uint8_t?temp?=?0;
??System_Initializes();
Radio?=?RadioDriverInit(?);???? //無線射頻模塊函數定義
temp?=?Radio->Init(?);???????????????? //無線射頻模塊初始化
if(temp?==?0)
{
SysReboot();
}
while(1)
{
UsartToLora();????????????????????????????//串口透傳
?}
}
/****?Copyright?(C)2016?sun.?All?Rights?Reserved?****?END?OF?FILE?****/
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????1828??2018-01-15?22:49??STM32F103_SX127x\App\main.c
?????文件???????3259??2016-05-04?11:20??STM32F103_SX127x\App\stm32f10x_conf.h
?????文件???????4207??2017-09-23?21:11??STM32F103_SX127x\App\stm32f10x_it.c
?????文件???????2086??2014-11-18?21:47??STM32F103_SX127x\App\stm32f10x_it.h
?????文件???????3527??2017-09-23?22:57??STM32F103_SX127x\Bsp\bsp.c
?????文件???????1221??2017-09-23?22:57??STM32F103_SX127x\Bsp\bsp.h
?????文件???????3248??2017-09-24?14:25??STM32F103_SX127x\Bsp\spi.c
?????文件???????1380??2017-09-23?22:57??STM32F103_SX127x\Bsp\spi.h
?????文件???????1085??2017-09-23?21:02??STM32F103_SX127x\Bsp\systick.c
?????文件????????205??2017-09-23?21:02??STM32F103_SX127x\Bsp\systick.h
?????文件???????2436??2017-09-23?22:57??STM32F103_SX127x\Bsp\timer.c
?????文件???????1285??2017-09-23?22:57??STM32F103_SX127x\Bsp\timer.h
?????文件???????6854??2017-09-23?23:49??STM32F103_SX127x\Bsp\usart.c
?????文件???????1518??2017-09-23?23:30??STM32F103_SX127x\Bsp\usart.h
?????文件??????????2??2017-09-23?20:43??STM32F103_SX127x\Doc\ReadMe.txt
?????文件?????130468??2017-09-24?14:30??STM32F103_SX127x\Jli
?????文件????????650??2017-09-23?21:15??STM32F103_SX127x\Jli
?????文件??????17273??2010-06-07?10:25??STM32F103_SX127x\Libraries\CMSIS\CoreSupport\core_cm3.c
?????文件??????85714??2011-02-09?14:59??STM32F103_SX127x\Libraries\CMSIS\CoreSupport\core_cm3.h
?????文件???????8331??2013-06-24?11:04??STM32F103_SX127x\Libraries\CMSIS\CoreSupport\stdint.h
?????文件??????15766??2011-03-10?10:52??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_cl.s
?????文件??????15503??2011-03-10?10:52??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_hd.s
?????文件??????15692??2011-03-10?10:52??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_hd_vl.s
?????文件??????12376??2011-03-10?10:52??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_ld.s
?????文件??????13656??2011-03-10?10:52??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_ld_vl.s
?????文件??????12765??2011-03-10?10:52??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_md.s
?????文件??????14073??2011-03-10?10:51??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_md_vl.s
?????文件??????15955??2011-03-10?10:51??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\startup\startup_stm32f10x_xl.s
?????文件?????633937??2014-11-18?21:47??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\stm32f10x.h
?????文件??????36560??2014-11-19?17:02??STM32F103_SX127x\Libraries\CMSIS\DeviceSupport\system_stm32f10x.c
............此處省略184個文件信息
- 上一篇:CFX官方幫助文檔578頁全
- 下一篇:最新ex4 to mq4破解軟件
評論
共有 條評論