bosko lekovic
/
EthToCom_11
nova proba
DataFlash/flashDataBlock.h@28:49bafc8bb056, 2021-01-18 (annotated)
- Committer:
- Bosko Lekovic
- Date:
- Mon Jan 18 14:46:46 2021 +0100
- Revision:
- 28:49bafc8bb056
- Parent:
- 22:11279d24a105
novije
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bosko001 | 3:1196befeace0 | 1 | #ifndef FLASHDATABLOCK_H |
bosko001 | 3:1196befeace0 | 2 | #define FLASHDATABLOCK_H |
bosko001 | 3:1196befeace0 | 3 | |
bosko001 | 3:1196befeace0 | 4 | |
bosko001 | 3:1196befeace0 | 5 | |
bosko001 | 3:1196befeace0 | 6 | |
bosko001 | 3:1196befeace0 | 7 | #define FLASH_ADDRESS 0xfe000 |
bosko001 | 3:1196befeace0 | 8 | #define BLOCK_VALUE 0x1000 |
bosko001 | 3:1196befeace0 | 9 | |
bosko001 | 3:1196befeace0 | 10 | #define BUF_DIM 5 |
bosko001 | 3:1196befeace0 | 11 | |
bosko001 | 3:1196befeace0 | 12 | |
bosko001 | 3:1196befeace0 | 13 | |
bosko001 | 22:11279d24a105 | 14 | int init_fdb( void ); |
bosko001 | 3:1196befeace0 | 15 | void deinit_fdb( void ); |
bosko001 | 3:1196befeace0 | 16 | |
bosko001 | 3:1196befeace0 | 17 | int write_byte_in_flash( int adr, char val ); |
bosko001 | 3:1196befeace0 | 18 | |
bosko001 | 3:1196befeace0 | 19 | int write_niz_in_flash( int adr, char *niz, int nizdim ); |
bosko001 | 3:1196befeace0 | 20 | int read_fdb( int rel_adr, char *buffer, int val ); |
bosko001 | 3:1196befeace0 | 21 | |
bosko001 | 3:1196befeace0 | 22 | #endif |