stm32f3: flash: add prefetch helpers
Should be added to f2/f4 as well, but the bit definitions are different.
This commit is contained in:
@@ -67,6 +67,14 @@
|
||||
#define FLASH_CR_MER (1 << 2)
|
||||
#define FLASH_CR_PER (1 << 1)
|
||||
#define FLASH_CR_PG (1 << 0)
|
||||
|
||||
BEGIN_DECLS
|
||||
|
||||
void flash_prefetch_enable(void);
|
||||
void flash_prefetch_disable(void);
|
||||
|
||||
END_DECLS
|
||||
|
||||
/**@}*/
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user