stm32: flash: move clear all status flags to single common header
We've got a "f" flash file for common apis now, use it.
This commit is contained in:
parent
a949b223c3
commit
c272ea410e
@ -29,4 +29,11 @@ BEGIN_DECLS
|
||||
*/
|
||||
void flash_clear_eop_flag(void);
|
||||
|
||||
/**
|
||||
* Clear all status flags.
|
||||
* The number of bits can vary across families.
|
||||
*/
|
||||
void flash_clear_status_flags(void);
|
||||
|
||||
|
||||
END_DECLS
|
@ -104,7 +104,6 @@ BEGIN_DECLS
|
||||
|
||||
void flash_clear_pgerr_flag(void);
|
||||
void flash_clear_wrprterr_flag(void);
|
||||
void flash_clear_status_flags(void);
|
||||
uint32_t flash_get_status_flags(void);
|
||||
void flash_wait_for_last_operation(void);
|
||||
void flash_program_word(uint32_t address, uint32_t data);
|
||||
|
@ -75,7 +75,6 @@
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
void flash_clear_status_flags(void);
|
||||
void flash_wait_for_last_operation(void);
|
||||
|
||||
END_DECLS
|
||||
|
@ -164,7 +164,6 @@ void flash_clear_pgaerr_flag(void);
|
||||
void flash_art_enable(void);
|
||||
void flash_art_disable(void);
|
||||
void flash_art_reset(void);
|
||||
void flash_clear_status_flags(void);
|
||||
void flash_erase_all_sectors(uint32_t program_size);
|
||||
void flash_erase_sector(uint8_t sector, uint32_t program_size);
|
||||
void flash_program_double_word(uint32_t address, uint64_t data);
|
||||
|
@ -227,7 +227,6 @@ void flash_wait_for_last_operation(void);
|
||||
void flash_clear_pgserr_flag(void);
|
||||
void flash_clear_pgaerr_flag(void);
|
||||
void flash_clear_wrperr_flag(void);
|
||||
void flash_clear_status_flags(void);
|
||||
void flash_lock_option_bytes(void);
|
||||
void flash_program_word(uint32_t address, uint32_t data);
|
||||
void flash_program(uint32_t address, uint8_t *data, uint32_t len);
|
||||
|
Loading…
x
Reference in New Issue
Block a user