资源简介
stm32-sx1278-lora驱动程序,Mdk5直接编译,工程文件,亲测可用。2个模块,2个单片机,烧录同样程序即可互相收发(会通过串口1打印接收到的数据)
代码片段和文件信息
/**************************************************************************//**
* @file core_cm3.c
* @brief CMSIS Cortex-M3 Core Peripheral Access layer Source File
* @version V1.30
* @date 30. October 2009
*
* @note
* Copyright (C) 2009 ARM Limited. All rights reserved.
*
* @par
* ARM Limited (ARM) is supplying this software for use with Cortex-M
* processor based microcontrollers. This file can be freely distributed
* within development tools that are supporting such ARM based processors.
*
* @par
* THIS SOFTWARE IS PROVIDED “AS IS“. NO WARRANTIES WHETHER EXPRESS IMPLIED
* OR STATUTORY INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE APPLY TO THIS SOFTWARE.
* ARM SHALL NOT IN ANY CIRCUMSTANCES BE LIABLE FOR SPECIAL INCIDENTAL OR
* CONSEQUENTIAL DAMAGES FOR ANY REASON WHATSOEVER.
*
******************************************************************************/
#include
/* define compiler specific symbols */
#if defined ( __CC_ARM )
#define __ASM __asm /*!< asm keyword for ARM Compiler */
#define __INLINE __inline /*!< inline keyword for ARM Compiler */
#elif defined ( __ICCARM__ )
#define __ASM __asm /*!< asm keyword for IAR Compiler */
#define __INLINE inline /*!< inline keyword for IAR Compiler. Only avaiable in High optimization mode! */
#elif defined ( __GNUC__ )
#define __ASM __asm /*!< asm keyword for GNU Compiler */
#define __INLINE inline /*!< inline keyword for GNU Compiler */
#elif defined ( __TASKING__ )
#define __ASM __asm /*!< asm keyword for TASKING Compiler */
#define __INLINE inline /*!< inline keyword for TASKING Compiler */
#endif
/* ################### Compiler specific Intrinsics ########################### */
#if defined ( __CC_ARM ) /*------------------RealView Compiler -----------------*/
/* ARM armcc specific functions */
/**
* @brief Return the Process Stack Pointer
*
* @return ProcessStackPointer
*
* Return the actual process stack pointer
*/
__ASM uint32_t __get_PSP(void)
{
mrs r0 psp
bx lr
}
/**
* @brief Set the Process Stack Pointer
*
* @param topOfProcStack Process Stack Pointer
*
* Assign the value ProcessStackPointer to the MSP
* (process stack pointer) Cortex processor register
*/
__ASM void __set_PSP(uint32_t topOfProcStack)
{
msr psp r0
bx lr
}
/**
* @brief Return the Main Stack Pointer
*
* @return Main Stack Pointer
*
* Return the curren
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 17273 2010-06-07 10:25 stm32f103ret6_sx1278\CMSIS\core_cm3.c
文件 85714 2011-02-09 14:59 stm32f103ret6_sx1278\CMSIS\core_cm3.h
文件 633941 2017-04-01 10:51 stm32f103ret6_sx1278\CMSIS\stm32f10x.h
文件 633941 2011-03-10 10:51 stm32f103ret6_sx1278\CMSIS\stm32f10x.h~RF58f44a0.TMP
文件 2085 2011-03-10 10:51 stm32f103ret6_sx1278\CMSIS\system_stm32f10x.h
文件 6956 2015-12-10 17:06 stm32f103ret6_sx1278\DebugConfig\Target_1_STM32F103RE.dbgconf
文件 631 2017-04-14 21:40 stm32f103ret6_sx1278\Driver\led.c
文件 587 2017-04-14 21:42 stm32f103ret6_sx1278\Driver\led.h
文件 14689 2017-04-16 11:08 stm32f103ret6_sx1278\Driver\lora.c
文件 6424 2017-04-14 20:33 stm32f103ret6_sx1278\Driver\lora.h
文件 3286 2017-04-13 23:40 stm32f103ret6_sx1278\Driver\soft_timer.c
文件 1274 2017-04-13 23:01 stm32f103ret6_sx1278\Driver\soft_timer.h
文件 3393 2017-04-12 14:03 stm32f103ret6_sx1278\Driver\spi.c
文件 220 2017-04-01 16:23 stm32f103ret6_sx1278\Driver\spi.h
文件 1009 2017-04-14 10:09 stm32f103ret6_sx1278\Driver\systick.c
文件 415 2017-04-14 09:56 stm32f103ret6_sx1278\Driver\systick.h
文件 6100 2017-04-14 11:24 stm32f103ret6_sx1278\Driver\uart.c
文件 967 2017-04-14 10:16 stm32f103ret6_sx1278\Driver\uart.h
文件 8982 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\misc.h
文件 21690 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_adc.h
文件 7555 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_bkp.h
文件 27559 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_can.h
文件 6573 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_cec.h
文件 2162 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_crc.h
文件 15233 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_dac.h
文件 3818 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_dbgmcu.h
文件 20754 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_dma.h
文件 6824 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_exti.h
文件 25445 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_flash.h
文件 27016 2011-03-10 10:47 stm32f103ret6_sx1278\FWLIB\inc\stm32f10x_fsmc.h
............此处省略134个文件信息
- 上一篇:lpc2136中文数据手册
- 下一篇:redux devtools
相关资源
- STM32F103RCT6 12864液晶驱动
- UM0492_STM32F103XX_永磁同步电机_PMSM_FOC软
- stm32f103双串口收发结构体版本.zip
- 基于stm32制作的电子体重秤源码
- STM32驱动新西达2212无刷电机程序
- 基于stm32的超声波测距串口输出US100模
- STM32F103RCT6程序例
- 基于物联网的多功能电子药箱
- 通过STM32F407对BH1750光照度传感器采集
- STM32F系列IO控制WS2812B
- stm32-103c8x -定时器4路freq可变
- STM32F103中文教程及参考手册
- STM32F103C8T6每隔20s驱动DS18B20测温_OLED
- STM32 驱动SD卡 SPI协议
- 基于STM32的电子秤-HX711模块-OLED显示
- STM32F103C8T6 NRF24L01 无线收发程序
- 基于STM32的SPWM输出
- 基于STM32F103输出两相正弦波方波三角
- 基于stm32f103c8t6温湿度显示屏.rar
- stm32的foc库 2.0,全部未删减,内含用
- STM32F10x中文教程及参考手册
- libusb上位机和stm32下位机源代码
- fatfs__stm32例程
- mini_stm32开发板原理图及PCB图源文件
- 基于STM32和STM8的医疗电子方案
- stm32 +TF
- STM32F103C8T6 stm32CubeMx HAL程序
- STM32-SI4463
- STM32F103C8T6开发板原理图&源程序&资料
- FreeModbus+RT-Thead+STM32+Master主机V1.1
评论
共有 条评论