bosko lekovic
/
EthToCom_11
nova proba
DataFlash/flashDataBlock.h@3:1196befeace0, 2020-04-08 (annotated)
- Committer:
- bosko001
- Date:
- Wed Apr 08 08:41:16 2020 +0000
- Revision:
- 3:1196befeace0
ver 04 od 8.4.20
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 | 3:1196befeace0 | 14 | void 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 |