• 大小: 381KB
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2021-01-01
  • 语言: 其他
  • 标签: STM32  IIC  I2C  KS103  

资源简介

0.我使用的是F103VET6,但软件IIC原理都是一样的,改引脚配置后可方便移植 1.连接引脚前,可以只连接VCC和GND查看模块当前地址:模块上的LED指示灯会渐亮,然后就是快闪(1)和慢闪(0),将值记录下来,用计算器转换一下就是当前的地址值了

资源截图

代码片段和文件信息

/**************************************************************************//**
 * @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 

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2019-08-04 14:36  Libraries\
     目录           0  2019-08-04 14:36  Libraries\CMSIS\
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\CoreSupport\
     文件       17273  2010-06-07 10:25  Libraries\CMSIS\CM3\CoreSupport\core_cm3.c
     文件       85714  2011-02-09 14:59  Libraries\CMSIS\CM3\CoreSupport\core_cm3.h
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\DeviceSupport\
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\DeviceSupport\ST\
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\
     文件       15761  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_cl.s
     文件       15498  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_hd.s
     文件       12371  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld.s
     文件       13651  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_ld_vl.s
     文件       12760  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md.s
     文件       14068  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_md_vl.s
     文件       15950  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\arm\startup_stm32f10x_xl.s
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\
     文件       12943  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_cl.s
     文件       13042  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_hd.s
     文件        9698  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld.s
     文件       10445  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_ld_vl.s
     文件       10154  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md.s
     文件       10941  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_md_vl.s
     文件       13143  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\gcc_ride7\startup_stm32f10x_xl.s
     目录           0  2019-08-04 14:36  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\
     文件       16629  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_cl.s
     文件       16231  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_hd.s
     文件       12653  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld.s
     文件       12952  2010-04-23 10:40  Libraries\CMSIS\CM3\DeviceSupport\ST\STM32F10x\startup\iar\startup_stm32f10x_ld_vl.s
............此处省略84个文件信息

评论

共有 条评论