2017-10-31 13:35:41 +00:00
|
|
|
#ifndef BOARDLOADER_LOWLEVEL_H
|
|
|
|
#define BOARDLOADER_LOWLEVEL_H
|
2017-10-11 21:53:29 +00:00
|
|
|
|
2017-10-26 21:51:39 +00:00
|
|
|
#include "secbool.h"
|
2017-10-14 10:44:36 +00:00
|
|
|
|
2017-10-31 13:35:41 +00:00
|
|
|
uint32_t flash_wait_and_clear_status_flags(void);
|
2017-10-26 21:51:39 +00:00
|
|
|
secbool flash_check_option_bytes(void);
|
2017-10-31 13:35:41 +00:00
|
|
|
void flash_lock_option_bytes(void);
|
|
|
|
void flash_unlock_option_bytes(void);
|
|
|
|
uint32_t flash_set_option_bytes(void);
|
|
|
|
secbool flash_configure_option_bytes(void);
|
2017-10-17 09:44:53 +00:00
|
|
|
void periph_init(void);
|
2017-10-26 21:51:39 +00:00
|
|
|
secbool reset_flags_init(void);
|
2017-10-11 21:53:29 +00:00
|
|
|
|
2017-10-31 13:35:41 +00:00
|
|
|
#endif // BOARDLOADER_LOWLEVEL_H
|