1 / 7
文档名称:

STM32读写EEPROM.doc

格式:doc   页数:7页
下载后只包含 1 个 DOC 格式的文档,没有任何的图纸或源代码,查看文件列表

如果您已付费下载过本站文档,您可以点这里二次下载

STM32读写EEPROM.doc

上传人:xxj16588 2016/3/13 文件大小:0 KB

下载得到文件列表

STM32读写EEPROM.doc

文档介绍

文档介绍:/* Configure I2C1 pins: SCL and SDA */ GPIO_InitStructure . GPIO_Pin = GPIO_Pin_6 | GPIO_Pin_7 ; GPIO_InitStructure . GPIO_Speed = GPIO_Speed_50MHz ; GPIO_InitStructure . GPIO_Mode = GPIO_Mode_Out_OD ; GPIO_Init ( GPIOB ,& GPIO_InitStructure ); ================================= /*********************************************************************** ******** * File Name : * Author : MCD Application Team * Version : * Date : 06/13/2008 * Description : Header for module ************************************************************************ *******/ /* Define to prevent recursive inclusion ------------------------------------ */ #ifndef __I2C_FRAM_H #define __I2C_FRAM_H /* Includes ------------------------------------------------------------------*/ #include "" /* Exported types ------------------------------------------------------------*/ /* Exported constants --------------------------------------------------------*/ /* Exported macro ------------------------------------------------------------*/ /* Exported functions ------------------------------------------------------- */ bool I2C_FRAM_BufferWrite ( u8 * pBuffer , u16 WriteAddr , u16 NumByteToWrite ); bool I2C_FRAM_BufferRead ( u8 * pBuffer , u16 ReadAddr , u16 NumByteToRead ); #endif /* __I2C_FRAM_H */ ================================= /*******************************************