• 大小: 3.90M
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2021-02-22
  • 语言: C/C++
  • 标签: STM32  IC  硬件  

资源简介

STM32F0硬件IIC

资源截图

代码片段和文件信息

/******************** (C) COPYRIGHT  源地工作室 ********************************
 * 文件名  :i2c.c
 * 描述    :初始化IIC及一些基本的操作
 * 作者    :zhuoyingxingyu
 * 淘宝    :源地工作室http://vcc-gnd.taobao.com/
 * 论坛地址:极客园地-嵌入式开发论坛http://vcc-gnd.com/
 * 版本更新: 2017-04-20
 * 硬件连接  :PF6->SCL and PF7->SDA 
 * 调试方式:J-link-OB
********************************************************************************/

//头文件
#include “i2c.h“
#include “usart.h“


/* Private typedef -----------------------------------------------------------*/
/* Private define ------------------------------------------------------------*/
/* Private macro -------------------------------------------------------------*/
/* Private variables ---------------------------------------------------------*/
__IO uint16_t  sEEAddress = 0;   
__IO uint32_t  sEETimeout = sEE_LONG_TIMEOUT;
__IO uint16_t  sEEDataNum;

/* Private function prototypes -----------------------------------------------*/
/* Private functions --------------------

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

     文件      21989  2017-05-15 13:03  YD-I2C(硬件)实验\BSP\i2c.c

     文件       5101  2017-05-15 12:57  YD-I2C(硬件)实验\BSP\i2c.h

     文件       2215  2017-05-12 18:25  YD-I2C(硬件)实验\BSP\led.c

     文件        852  2015-12-08 17:24  YD-I2C(硬件)实验\BSP\led.h

     文件        921  2015-12-12 20:27  YD-I2C(硬件)实验\BSP\systick.c

     文件        164  2015-09-08 21:14  YD-I2C(硬件)实验\BSP\systick.h

     文件       3001  2017-05-12 19:12  YD-I2C(硬件)实验\BSP\usart.c

     文件        552  2015-12-12 10:39  YD-I2C(硬件)实验\BSP\usart.h

     文件       1427  2014-01-16 23:22  YD-I2C(硬件)实验\config\stm32f0xx_flash.icf

     文件        685  2017-05-15 13:01  YD-I2C(硬件)实验\doc\readme.txt

     文件          0  2013-09-02 21:55  YD-I2C(硬件)实验\doc\新建文本文档.txt

     文件      51511  2012-03-23 12:36  YD-I2C(硬件)实验\Libraries\CMSIS\CMSIS END USER LICENCE AGREEMENT.pdf

     文件       4676  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\arm_common_tables.h

     文件       3666  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\arm_const_structs.h

     文件     242444  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\arm_math.h

     文件      33042  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_cm0.h

     文件      40429  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_cm0plus.h

     文件      99832  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_cm3.h

     文件     109142  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_cm4.h

     文件      22735  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_cm4_simd.h

     文件      17146  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_cmFunc.h

     文件      20513  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_cmInstr.h

     文件      41744  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_sc000.h

     文件      98211  2014-01-16 23:23  YD-I2C(硬件)实验\Libraries\CMSIS\Include\core_sc300.h

     文件       5417  2012-03-23 12:36  YD-I2C(硬件)实验\Libraries\CMSIS\index.htm

     文件       1370  2012-03-23 12:36  YD-I2C(硬件)实验\Libraries\CMSIS\README.txt

     文件     409949  2014-01-16 23:27  YD-I2C(硬件)实验\Libraries\CMSIS\ST\STM32F0xx\Include\stm32f0xx.h

     文件       2222  2014-01-16 23:27  YD-I2C(硬件)实验\Libraries\CMSIS\ST\STM32F0xx\Include\system_stm32f0xx.h

     文件      15743  2012-03-23 12:36  YD-I2C(硬件)实验\Libraries\CMSIS\ST\STM32F0xx\Release_Notes.html

     文件      10068  2014-01-16 23:27  YD-I2C(硬件)实验\Libraries\CMSIS\ST\STM32F0xx\Source\Templates\arm\startup_stm32f030.s

............此处省略215个文件信息

评论

共有 条评论