bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
flashDataBlock.h@4:7abcf4543282, 2020-04-11 (annotated)
- Committer:
- bosko001
- Date:
- Sat Apr 11 17:11:38 2020 +0000
- Revision:
- 4:7abcf4543282
- Parent:
- DataFlash/flashDataBlock.h@3:1196befeace0
dxml bug removed
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 |