bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
DataFlash/flashDataBlock.h@26:c14d034d7459, 2020-07-10 (annotated)
- Committer:
- bosko001
- Date:
- Fri Jul 10 11:33:05 2020 +0200
- Revision:
- 26:c14d034d7459
- Parent:
- 22:11279d24a105
ispituje se na terenu
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 |