Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
eeprom_cust.h
- Committer:
- hi1000
- Date:
- 2019-09-24
- Revision:
- 19:0356e54240cc
- Parent:
- 17:faa4d4976d22
File content as of revision 19:0356e54240cc:
#if 0 #define EEPROM_ADDR 0x0 // I2c EEPROM address is 0x00 #ifdef STM32F207xx #define SDA PB_9 // I2C SDA pin #define SCL PB_8 // I2C SCL pin #endif #ifdef STM32F303xE #ifdef OWN_SOLDER_BOARD #define SDA PC_9//D2//D2//PB_9 //PF_0 // I2C SDA pin #define SCL D7//D8//D8//PB_8 //PF_1 // I2C SCL pin #endif #ifdef YODA2 #define SDA PA_10//D2//D2//PB_9 //PF_0 // I2C SDA pin #define SCL PA_9//D8//D8//PB_8 //PF_1 // I2C SCL pin #endif #endif #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) #define MAX(X,Y) ((X) > (Y) ? (X) : (Y)) #define EEPROM_DEVICE_ADDRESS_ADDRESS 0x40 #define DEVICE_DEFAULT_ADDRESS 12 #endif