bosko lekovic
/
EthToCom_11
nova proba
DataFlash/flashDataBlock.h@22:11279d24a105, 2020-06-11 (annotated)
- Committer:
- bosko001
- Date:
- Thu Jun 11 10:41:11 2020 +0200
- Revision:
- 22:11279d24a105
- Parent:
- 5:c9a908749d4c
uradjen soft reset
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 |