bosko lekovic
/
ETHtoCOM_10
nova verzija tcp+udp->serial com
DataFlash/flashDataBlock.h
- Committer:
- bosko001
- Date:
- 2020-07-10
- Revision:
- 26:c14d034d7459
- Parent:
- 22:11279d24a105
File content as of revision 26:c14d034d7459:
#ifndef FLASHDATABLOCK_H #define FLASHDATABLOCK_H #define FLASH_ADDRESS 0xfe000 #define BLOCK_VALUE 0x1000 #define BUF_DIM 5 int init_fdb( void ); void deinit_fdb( void ); int write_byte_in_flash( int adr, char val ); int write_niz_in_flash( int adr, char *niz, int nizdim ); int read_fdb( int rel_adr, char *buffer, int val ); #endif