This software component is provided to you as part of a software package and
applicable license terms are in the Package_license file. If you received this
software component outside of a package or without applicable license terms,
the terms of the SLA0044 license shall apply and are fully reproduced below:
SLA0044 Rev5/February 2018
Software license agreement
ULTIMATE LIBERTY SOFTWARE LICENSE AGREEMENT
BY INSTALLING, COPYING, DOWNLOADING, ACCESSING OR OTHERWISE USING THIS SOFTWARE
OR ANY PART THEREOF (AND THE RELATED DOCUMENTATION) FROM STMICROELECTRONICS
INTERNATIONAL N.V, SWISS BRANCH AND/OR ITS AFFILIATED COMPANIES
(STMICROELECTRONICS), THE RECIPIENT, ON BEHALF OF HIMSELF OR HERSELF, OR ON
BEHALF OF ANY ENTITY BY WHICH SUCH RECIPIENT IS EMPLOYED AND/OR ENGAGED AGREES
TO BE BOUND BY THIS SOFTWARE LICENSE AGREEMENT.
Under STMicroelectronics� intellectual property rights, the redistribution,
reproduction and use in source and binary forms of the software or any part
thereof, with or without modification, are permitted provided that the following
conditions are met:
1. Redistribution of source code (modified or not) must retain any copyright
notice, this list of conditions and the disclaimer set forth below as items 10
and 11.
2. Redistributions in binary form, except as embedded into microcontroller or
microprocessor device manufactured by or for STMicroelectronics or a software
update for such device, must reproduce any copyright notice provided with the
binary code, this list of conditions, and the disclaimer set forth below as
items 10 and 11, in documentation and/or other materials provided with the
distribution.
3. Neither the name of STMicroelectronics nor the names of other contributors to
this software may be used to endorse or promote products derived from this
software or part thereof without specific written permission.
4. This software or any part thereof, including modifications and/or derivative
works of this software, must be used and execute solely and exclusively on or in
combination with a microcontroller or microprocessor device manufactured by or
for STMicroelectronics.
5. No use, reproduction or redistribution of this software partially or totally
may be done in any manner that would subject this software to any Open Source
Terms. �Open Source Terms� shall mean any open source license which requires as
part of distribution of software that the source code of such software is
distributed therewith or otherwise made available, or open source license that
substantially complies with the Open Source definition specified at
www.opensource.org and any other comparable open source license such as for
example GNU General Public License (GPL), Eclipse Public License (EPL), Apache
Software License, BSD license or MIT license.
6. STMicroelectronics has no obligation to provide any maintenance, support or
updates for the software.
7. The software is and will remain the exclusive property of STMicroelectronics
and its licensors. The recipient will not take any action that jeopardizes
STMicroelectronics and its licensors' proprietary rights or acquire any rights
in the software, except the limited rights specified hereunder.
8. The recipient shall comply with all applicable laws and regulations affecting
the use of the software or any part thereof including any applicable export
control law or regulation.
9. Redistribution and use of this software or any part thereof other than as
permitted under this license is void and will automatically terminate your
rights under this license.
10. THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS, WHICH ARE
DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL
STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
11. EXCEPT AS EXPRESSLY PERMITTED HEREUNDER, NO LICENSE OR OTHER RIGHTS, WHETHER
EXPRESS OR IMPLIED, ARE GRANTED UNDER ANY PATENT OR OTHER INTELLECTUAL PROPERTY
RIGHTS OF STMICROELECTRONICS OR ANY THIRD PARTY.
没有合适的资源?快使用搜索试试~ 我知道了~
【STM32】标准库-I2C-DMA收发数据-读写AT24C02-仿printf和scanf输入输出
共128个文件
h:58个
c:56个
dbgconf:4个
需积分: 5 35 下载量 124 浏览量
2022-07-01
22:07:33
上传
评论 2
收藏 619KB ZIP 举报
温馨提示
采用STM32F429IGT6单片机,KeilMDK5.32版本 使用SysTick系统滴答定时器进行延时 LED_R、LED_G、LED_B分别为PH10,PH11,PH12 Key1为PA0,Key2为PC13 KEIL5下载配置有FLASH与SRAM 收发共用一个缓冲区 I2C使用DMA与AT24C02通信,Tx中,利用DMA传输数据,但是起始位,设备地址,读写地址采用的是阻塞式发送,数据则是采用DMA传输;注意点:采用DMA发送应该等到BTF(发送寄存器空,移位寄存器也为空)事件后设置停止位,不可以在DMA传输完成中断中设置停止位,因为此时正在发送最后一个字节,故开启BTF中断(I2C_EV),在该中断服务函数中发送停止位并关闭I2C的DMA传输使能。 Rx中,利用DMA传输数据,但是起始位,设备地址,AT24C02写入地址采用的是阻塞式发送,数据则是采用DMA传输;注意点:在DMA传输完成中断中发送停止位,并关闭I2C的DMA传输使能,I2C主接收,写读转换中再次发送起始位前,第一次发送设备地址字节后,应检测BTF 仿printf写入发送缓冲区前,应检查上一次通信是否结束
资源详情
资源评论
资源推荐
收起资源包目录
【STM32】标准库-I2C-DMA收发数据-读写AT24C02-仿printf和scanf输入输出 (128个子文件)
Demo.uvguix.10854 175KB
keilkill.bat 401B
stm32f4xx_rcc.c 133KB
stm32f4xx_tim.c 121KB
stm32f4xx_rtc.c 100KB
stm32f4xx_dfsdm.c 84KB
stm32f4xx_adc.c 67KB
stm32f4xx_can.c 65KB
stm32f4xx_flash.c 62KB
stm32f4xx_fmc.c 61KB
stm32f4xx_dsi.c 60KB
system_stm32f4xx.c 59KB
stm32f4xx_cryp_aes.c 56KB
stm32f4xx_fmpi2c.c 56KB
stm32f4xx_usart.c 56KB
stm32f4xx_i2c.c 53KB
stm32f4xx_spi.c 51KB
stm32f4xx_dma.c 51KB
stm32f4xx_sai.c 48KB
stm32f4xx_fsmc.c 45KB
stm32f4xx_pwr.c 42KB
stm32f4xx_ltdc.c 38KB
stm32f4xx_sdio.c 38KB
stm32f4xx_cryp.c 34KB
stm32f4xx_lptim.c 33KB
stm32f4xx_qspi.c 31KB
stm32f4xx_dma2d.c 26KB
stm32f4xx_dac.c 26KB
stm32f4xx_hash.c 26KB
stm32f4xx_gpio.c 24KB
stm32f4xx_cec.c 24KB
stm32f4xx_dcmi.c 18KB
stm32f4xx_spdifrx.c 17KB
stm32f4xx_syscfg.c 16KB
Flash&SPI.c 14KB
stm32f4xx_rng.c 14KB
AT24C02&IIC.c 13KB
ADC.c 11KB
misc.c 11KB
stm32f4xx_cryp_tdes.c 10KB
stm32f4xx_wwdg.c 10KB
stm32f4xx_it.c 10KB
stm32f4xx_cryp_des.c 9KB
stm32f4xx_exti.c 9KB
stm32f4xx_hash_sha1.c 9KB
stm32f4xx_hash_md5.c 9KB
TIM.c 9KB
stm32f4xx_iwdg.c 9KB
USART.c 7KB
stm32f4xx_dbgmcu.c 6KB
stm32f4xx_flash_ramfunc.c 5KB
RTC.c 4KB
PWR.c 4KB
main.c 3KB
stm32f4xx_crc.c 3KB
KEY&EXTI.c 2KB
LED.c 610B
CRC.c 123B
Target_1_STM32F429IGTx.dbgconf 3KB
Demo_STM32F429IGTx.dbgconf 3KB
SRAM_STM32F429IGTx.dbgconf 3KB
Demo_SRAM_STM32F429IGTx.dbgconf 3KB
stm32f4xx.h 918KB
core_cm4.h 112KB
stm32f4xx_tim.h 50KB
stm32f4xx_rcc.h 49KB
stm32f4xx_dfsdm.h 45KB
stm32f4xx_fmc.h 43KB
stm32f4xx_dsi.h 40KB
stm32f4xx_rtc.h 39KB
stm32f4xx_adc.h 32KB
stm32f4xx_i2c.h 31KB
stm32f4xx_gpio.h 28KB
stm32f4xx_dma.h 28KB
core_cmInstr.h 27KB
stm32f4xx_sai.h 27KB
stm32f4xx_can.h 27KB
stm32f4xx_fsmc.h 26KB
stm32f4xx_flash.h 24KB
core_cmSimd.h 22KB
stm32f4xx_sdio.h 22KB
stm32f4xx_ltdc.h 20KB
stm32f4xx_spi.h 20KB
stm32f4xx_qspi.h 19KB
stm32f4xx_dma2d.h 19KB
stm32f4xx_fmpi2c.h 18KB
core_cmFunc.h 18KB
stm32f4xx_usart.h 17KB
stm32f4xx_lptim.h 17KB
stm32f4xx_dac.h 14KB
stm32f4xx_cryp.h 14KB
stm32f4xx_syscfg.h 14KB
stm32f4xx_dcmi.h 12KB
stm32f4xx_cec.h 12KB
stm32f4xx_spdifrx.h 11KB
stm32f4xx_hash.h 9KB
stm32f4xx_pwr.h 9KB
stm32f4xx_exti.h 7KB
misc.h 6KB
stm32f4xx_conf.h 5KB
共 128 条
- 1
- 2
熠熠L
- 粉丝: 145
- 资源: 88
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 【深度学习专栏】ch05配套资源
- LCD1602自留备用,侵权删
- 基于Python的申请信用评分卡模型分析项目源码 (高分项目)
- Multisim仿真可编程彩灯控制器电路设计及其实现-含详细步骤和代码
- 漂亮的收款打赏要饭网HTML页面源码.zip
- HTTP与HTTPS协议对比及其安全性分析
- 动力电极耳压边除毛刺机(sw17可编辑+工程图+BOM)全套技术资料100%好用.zip
- 中文学习系统:用户体验与界面设计
- Python绘制圣诞树:文本和图形实现
- 方型锂电池卷绕机sw14可编辑全套技术资料100%好用.zip
- 学生宿舍管理系统:集成技术与住宿服务优化
- 大一C语言项目实践-小游戏集成开发系统
- 使用HTML、CSS和JavaScript实现动态3D圣诞树效果
- 基于STM32单片机的激光雕刻机控制系统设计-含详细步骤和代码
- 工业机械手ABB CRB1100(step)全套技术资料100%好用.zip
- C++语言实现动态圣诞树绘制
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0