mirror of
https://github.com/trezor/trezor-firmware.git
synced 2024-12-29 17:48:10 +00:00
16 lines
422 B
C
16 lines
422 B
C
#ifndef BOARDLOADER_LOWLEVEL_H
|
|
#define BOARDLOADER_LOWLEVEL_H
|
|
|
|
#include "secbool.h"
|
|
|
|
uint32_t flash_wait_and_clear_status_flags(void);
|
|
secbool flash_check_option_bytes(void);
|
|
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);
|
|
void periph_init(void);
|
|
secbool reset_flags_init(void);
|
|
|
|
#endif // BOARDLOADER_LOWLEVEL_H
|