Details | Last modification | View Log | SVN | RSS feed
| Rev | Author | Line No. | Line |
|---|---|---|---|
| 228 | andfri | 1 | #ifndef FLASH_H_ |
| 2 | #define FLASH_H_ |
||
| 3 | |||
| 4 | #define BOOTLOADER __attribute__ ((section (".bootloader"))) |
||
| 5 | |||
| 6 | //--------------------------------------------------------------------------- |
||
| 7 | // Function prototypes for flash modifying functions |
||
| 8 | |||
| 9 | void flash_init(void); |
||
| 10 | void flash_write_word(uint16_t addr, uint16_t word) BOOTLOADER; |
||
| 253 | andfri | 11 | void flash_flush_buffer(void) BOOTLOADER; |
| 228 | andfri | 12 | |
| 13 | #endif /*FLASH_H_*/ |