资源简介
实现I2C正确读写AT24C02,基于STM32 CUBE,读写使用HAL_I2C_Mem_Write,HAL_I2C_Mem_Read,写函数需单个字节写入。
代码片段和文件信息
/**
******************************************************************************
* @file system_stm32f1xx.c
* @author MCD Application Team
* @version V4.1.0
* @date 29-April-2016
* @brief CMSIS Cortex-M3 Device Peripheral Access layer System Source File.
*
* 1. This file provides two functions and one global variable to be called from
* user application:
* - SystemInit(): Setups the system clock (System clock source PLL Multiplier
* factors AHB/APBx prescalers and Flash settings).
* This function is called at startup just after reset and
* before branch to main program. This call is made inside
* the “startup_stm32f1xx_xx.s“ file.
*
* - SystemCoreClock variable: Contains the core clock (HCLK) it can be used
* by the user application to setup the SysTick
* timer or configure other parameters.
*
* - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
* be called whenever the core clock is changed
* during program execution.
*
* 2. After each device reset the HSI (8 MHz) is used as system clock source.
* Then SystemInit() function is called in “startup_stm32f1xx_xx.s“ file to
* configure the system clock before to branch to main program.
*
* 4. The default value of HSE crystal is set to 8 MHz (or 25 MHz depending on
* the product used) refer to “HSE_VALUE“.
* When HSE is used as system clock source directly or through PLL and you
* are using different crystal you have to adapt the HSE value to your own
* configuration.
*
******************************************************************************
* @attention
*
* © COPYRIGHT(c) 2016 STMicroelectronics
*
* Redistribution and use in source and binary forms with or without modification
* are permitted provided that the following conditions are met:
* 1. Redistributions of source code must retain the above copyright notice
* this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright notice
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
* 3. Neither the name of STMicroelectronics nor the names of its contributors
* may be used to endorse or promote products derived from this software
* without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS “AS IS“
* AND ANY EXPRESS OR IMPLIED WARRANTIES INCLUDING BUT NOT LIMITED TO THE
* IMPLIED WARRANTIE
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 4053 2017-07-24 17:11 Ex_I2C_Eeprom\.mxproject
文件 542970 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xb.h
文件 587973 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f100xe.h
文件 492587 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101x6.h
文件 502788 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xb.h
文件 580299 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xe.h
文件 597371 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f101xg.h
文件 585549 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102x6.h
文件 594987 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f102xb.h
文件 917060 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103x6.h
文件 927261 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xb.h
文件 1013638 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xe.h
文件 1027719 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f103xg.h
文件 1300804 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f105xc.h
文件 1381619 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f107xc.h
文件 8815 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\stm32f1xx.h
文件 3335 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Include\system_stm32f1xx.h
文件 15094 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xb.s
文件 16682 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f100xe.s
文件 12531 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101x6.s
文件 12904 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xb.s
文件 15016 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xe.s
文件 15775 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f101xg.s
文件 12853 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f102x6.s
文件 13238 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f102xb.s
文件 13416 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103x6.s
文件 13801 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xb.s
文件 16358 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xe.s
文件 16812 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f103xg.s
文件 16620 2017-07-12 17:23 Ex_I2C_Eeprom\Drivers\CMSIS\Device\ST\STM32F1xx\Source\Templates\arm\startup_stm32f105xc.s
............此处省略557个文件信息
相关资源
- stm32f103.SchDoc
- STM32F103 USART+DMA
- 基于STM32F103C8单片机的晶联讯电子JL
- STM32F103实现OV7670摄像头显示
- STM32F103VCT6TR - High-density performance lin
- stm32f103 虚拟U盘,调试成功的
- 基于stm32F103vct6的SD卡FATFS文件系统移植
- STM32F103启动文件HD;MD
- DHT10_I2C驱动.zip
- ioncube_loaders_lin_x86-64.tar.bz2
- I2C串行EEPROM应用系统的健壮性设计
- 基于STM32F103的实时时钟程序,采用D
- 电子-GravityI2C3.7V锂电池电量计stm32L1
- STM32F103系列PWM输出应用之纸短情长音
- 装柜软件 CubeIQ 3.3 破解版
- STM32F103移植FreeModbus实现modbus主机.zi
- 基于STM32F103C8T6的循迹避障小车完成
- 基于STM32+TM1638芯片的共阳极数码管驱
- arduino主机,stm8从机。I2C测试 。每次
- stm32f103AES加密 cbc模式
- 10位ADC转换器AD5612(stm32_IO口模拟I2C)
- 中国移动 M5310 模组资料 DEMO 例程- S
- 光立方3D8 2803+573.源程序 HEX C 仿真电路
- STM32F103移植rt-thread
- (带有源代码)基于FPGA的模拟I2C接口
- PCA9685驱动STM32F103
- stm32f103c8t6-max31865-pt100测温
- stm32F103C8外部flash图片显示
- STM32F103 ADC测电压 代码
- stm32f103测量pm2.5源码
评论
共有 条评论