文件名称:Mylib

  • 所属分类:
  • 嵌入式/单片机编程
  • 资源属性:
  • 上传时间:
  • 2017-12-27
  • 文件大小:
  • 234kb
  • 下载次数:
  • 0次
  • 提 供 者:
  • Lloy****
  • 相关连接:
  • 下载说明:
  • 别用迅雷下载,失败请重下,重下不扣分!

介绍说明--下载内容均来自于网络,请自行研究使用

#include <util/delay.h>

typedef unsigned char byte;
typedef unsigned int word;

class SPI_SX1278 
{
public:
  SPI_SX1278();
  virtual ~SPI_SX1278();
  //-----------------------------
  word SymbolTime;//one symbol time,the unit is us
  
  byte spiRead(byte addr);//read register
  void spiWrite(byte addr,byte val);// write value to the register
  void spi_MultiRead(byte addr,byte *p,byte len);// read multiple byte ,the first address is addr
  void spi_MultiWrite(byte addr,byte *p,int len);// write multiple byte ,the first address is addr
  void delay_us(int us);// delay us
  void spi_readFIFO(byte *p,byte len); // read fifo
  void spi_writeFIFO(byte *p,byte len);// write fifo

};
相关搜索: keil

(系统自动生成,下载前可以参看下载内容)

下载文件列表

文件名大小更新时间
Mylib\CMSIS\core_cm3.c 17273 2010-06-07
Mylib\CMSIS\core_cm3.h 85714 2011-02-09
Mylib\CMSIS\stm32f10x.h 633941 2011-03-10
Mylib\CMSIS\system_stm32f10x.c 36557 2011-03-10
Mylib\CMSIS\system_stm32f10x.h 2085 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\misc.h 8982 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_adc.h 21690 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_bkp.h 7555 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_can.h 27559 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_cec.h 6573 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_crc.h 2162 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_dac.h 15233 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_dbgmcu.h 3818 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_dma.h 20754 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_exti.h 6824 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_flash.h 25445 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_fsmc.h 27016 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_gpio.h 20175 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_gpio.h_cbf 169 2014-07-06
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_i2c.h 30029 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_iwdg.h 3828 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_pwr.h 4383 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_rcc.h 30452 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_rtc.h 3857 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_sdio.h 21863 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_spi.h 17725 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_tim.h 52427 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_usart.h 16548 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc\stm32f10x_wwdg.h 2966 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\misc.c 7046 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_adc.c 47201 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_bkp.c 8463 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_can.c 45103 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_cec.c 11656 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_crc.c 3347 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_dac.c 19087 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_dbgmcu.c 5149 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_dma.c 29607 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_exti.c 6959 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_flash.c 62551 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_fsmc.c 35484 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_gpio.c 23221 2011-03-11
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_i2c.c 45781 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_iwdg.c 4916 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_pwr.c 8759 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_rcc.c 51271 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_rtc.c 8598 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_sdio.c 28933 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_spi.c 30224 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_tim.c 109159 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_usart.c 38308 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\src\stm32f10x_wwdg.c 5735 2011-03-10
Mylib\STM32F10x_StdPeriph_Driver_a\inc 0 2015-10-19
Mylib\STM32F10x_StdPeriph_Driver_a\src 0 2015-10-19
Mylib\CMSIS 0 2015-10-19
Mylib\STM32F10x_StdPeriph_Driver_a 0 2015-10-19
Mylib 0 2015-10-19

相关说明

  • 本站资源为会员上传分享交流与学习,如有侵犯您的权益,请联系我们删除.
  • 本站是交换下载平台,提供交流渠道,下载内容来自于网络,除下载问题外,其它问题请自行百度更多...
  • 请直接用浏览器下载本站内容,不要使用迅雷之类的下载软件,用WinRAR最新版进行解压.
  • 如果您发现内容无法下载,请稍后再次尝试;或者到消费记录里找到下载记录反馈给我们.
  • 下载后发现下载的内容跟说明不相乎,请到消费记录里找到下载记录反馈给我们,经确认后退回积分.
  • 如下载前有疑问,可以通过点击"提供者"的名字,查看对方的联系方式,联系对方咨询.

相关评论

暂无评论内容.

发表评论

*主  题:
*内  容:
*验 证 码:

源码中国 www.ymcn.org