2017-10-31 06:35:41 -07:00
|
|
|
#ifndef BOARDLOADER_LOWLEVEL_H
|
|
|
|
#define BOARDLOADER_LOWLEVEL_H
|
2017-10-11 14:53:29 -07:00
|
|
|
|
2017-10-26 14:51:39 -07:00
|
|
|
#include "secbool.h"
|
2017-10-14 03:44:36 -07:00
|
|
|
|
2017-10-31 06:35:41 -07:00
|
|
|
uint32_t flash_wait_and_clear_status_flags(void);
|
2017-10-26 14:51:39 -07:00
|
|
|
secbool flash_check_option_bytes(void);
|
2017-10-31 06:35:41 -07: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 02:44:53 -07:00
|
|
|
void periph_init(void);
|
2017-12-09 05:36:02 -08:00
|
|
|
secbool reset_flags_check(void);
|
2017-10-11 14:53:29 -07:00
|
|
|
|
2017-10-31 06:35:41 -07:00
|
|
|
#endif // BOARDLOADER_LOWLEVEL_H
|