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@9:486f65124378, 2019-04-06 (annotated)
- Committer:
- hi1000
- Date:
- Sat Apr 06 04:06:53 2019 +0000
- Revision:
- 9:486f65124378
- Parent:
- 7:e0c7e624c5fa
- Child:
- 11:8702316d7fc8
Test EEPROM
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
hi1000 | 7:e0c7e624c5fa | 1 | #define EEPROM_ADDR 0x0 // I2c EEPROM address is 0x00 |
hi1000 | 9:486f65124378 | 2 | #ifdef STM32F207xx |
hi1000 | 7:e0c7e624c5fa | 3 | #define SDA PB_9 // I2C SDA pin |
hi1000 | 7:e0c7e624c5fa | 4 | #define SCL PB_8 // I2C SCL pin |
hi1000 | 9:486f65124378 | 5 | #endif |
hi1000 | 9:486f65124378 | 6 | |
hi1000 | 9:486f65124378 | 7 | #ifdef STM32F303xE |
hi1000 | 9:486f65124378 | 8 | #define SDA PF_0 // I2C SDA pin |
hi1000 | 9:486f65124378 | 9 | #define SCL PF_1 // I2C SCL pin |
hi1000 | 9:486f65124378 | 10 | #endif |
hi1000 | 7:e0c7e624c5fa | 11 | |
hi1000 | 7:e0c7e624c5fa | 12 | #define MIN(X,Y) ((X) < (Y) ? (X) : (Y)) |
hi1000 | 7:e0c7e624c5fa | 13 | #define MAX(X,Y) ((X) > (Y) ? (X) : (Y)) |