Rev 17 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 17 | Rev 18 | ||
|---|---|---|---|
| Line 45... | Line 45... | ||
| 45 | extern FlashPage_t FlashPage[2]; |
45 | extern FlashPage_t FlashPage[2]; |
| 46 | 46 | ||
| 47 | 47 | ||
| 48 | typedef uint16_t FLASH_Status; |
48 | typedef uint16_t FLASH_Status; |
| 49 | 49 | ||
| 50 | /* EEPROM start address in Flash */ |
- | |
| 51 | #define EEPROM_START_ADDRESS ((uint32_t)0x08010000) /* EEPROM emulation start address: |
- | |
| 52 | after 64KByte of used Flash memory */ |
- | |
| 53 | 50 | ||
| 54 | /* Pages 0 and 1 base and end addresses */ |
51 | /* Pages 0 and 1 base and end addresses */ |
| 55 | #define PAGE0_BASE_ADDRESS ((uint32_t)(&FlashPage[0])) |
52 | #define PAGE0_BASE_ADDRESS ((uint32_t)(&FlashPage[0])) |
| 56 | #define PAGE0_END_ADDRESS ((uint32_t)(&FlashPage[0] + (PAGE_SIZE - 1))) |
53 | #define PAGE0_END_ADDRESS ((uint32_t)(&FlashPage[0] + (PAGE_SIZE - 1))) |
| 57 | 54 | ||