comparison Discovery/Inc/externLogbookFlash.h @ 470:dd0d0952ef35

Merged in Ideenmodellierer/ostc4/Improve_Logtansfer (pull request #42) Improve Logtansfer
author heinrichsweikamp <bitbucket@heinrichsweikamp.com>
date Wed, 15 Apr 2020 07:01:11 +0000
parents 538eb1c976e9
children eb2060caca7d
comparison
equal deleted inserted replaced
462:dddfe7917131 470:dd0d0952ef35
139 uint32_t ext_flash_read_dive_raw_with_double_header_1K(uint8_t *data, uint32_t max_size, uint8_t StepBackwards); 139 uint32_t ext_flash_read_dive_raw_with_double_header_1K(uint8_t *data, uint32_t max_size, uint8_t StepBackwards);
140 140
141 void ext_flash_read_header_memory(uint8_t *data); 141 void ext_flash_read_header_memory(uint8_t *data);
142 void ext_flash_write_header_memory(uint8_t *data); 142 void ext_flash_write_header_memory(uint8_t *data);
143 143
144 void ext_flash_read_sample_memory(uint8_t *data,uint16_t blockId);
145 void ext_flash_write_sample_memory(uint8_t *data,uint16_t blockId);
146
144 void ext_flash_erase_logbook(void); 147 void ext_flash_erase_logbook(void);
145 void ext_flash_erase_chip(void); 148 void ext_flash_erase_chip(void);
146 void ext_flash_erase_firmware(void); 149 void ext_flash_erase_firmware(void);
147 void ext_flash_erase_firmware2(void); 150 void ext_flash_erase_firmware2(void);
148 void ext_flash_disable_protection_for_logbook(void); 151 void ext_flash_disable_protection_for_logbook(void);
163 166
164 uint16_t ext_flash_repair_SPECIAL_dive_numbers_starting_count_with(uint16_t startCount); 167 uint16_t ext_flash_repair_SPECIAL_dive_numbers_starting_count_with(uint16_t startCount);
165 168
166 uint32_t ext_flash_AnalyseSampleBuffer(char *pstrResult); 169 uint32_t ext_flash_AnalyseSampleBuffer(char *pstrResult);
167 void ext_flash_CloseSector(void); 170 void ext_flash_CloseSector(void);
168 void ext_flash_invalidate_sample_index(uint32_t sectorStart); 171
172 uint32_t ext_flash_read_profilelength_small_header(uint32_t smallHeaderAddr);
173 uint8_t ext_flash_SampleOverrunValid(void);
174
169 175
170 #endif /* EXTERN_LOGBOOK_FLASH_H */ 176 #endif /* EXTERN_LOGBOOK_FLASH_H */