diff options
| author | danicampora | 2015-03-14 09:59:47 +0100 |
|---|---|---|
| committer | danicampora | 2015-03-14 10:08:47 +0100 |
| commit | 2c103d5200ec513dc0e5ffb9925a345a5ffaad06 (patch) | |
| tree | aeae3f1d9524cc875df53f06924ff4ce2f5e2dff /cc3200/misc/mperror.h | |
| parent | d432bcb9acb7105274c10c6b4bee3736a1a690b5 (diff) | |
cc3200: Rewrite the PRCM RTC functionality methods.
This allows to use the On-Chip retention registers for both the
RTC and to share notification flags between the bootloader and the
application. The two flags being shared right now are the "safe boot"
request and the WDT reset cause. we still have 2 more bits free for
future use.
Diffstat (limited to 'cc3200/misc/mperror.h')
| -rw-r--r-- | cc3200/misc/mperror.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cc3200/misc/mperror.h b/cc3200/misc/mperror.h index 1cc043fe9..06dd54949 100644 --- a/cc3200/misc/mperror.h +++ b/cc3200/misc/mperror.h @@ -35,12 +35,9 @@ extern const mp_obj_base_t pyb_heartbeat_obj; extern void NORETURN __fatal_error(const char *msg); void mperror_init0 (void); -void mperror_check_reset_cause (void); +void mperror_bootloader_check_reset_cause (void); void mperror_deinit_sfe_pin (void); void mperror_signal_error (void); -void mperror_request_safe_boot (void); -void mperror_clear_safe_boot (void); -bool mperror_safe_boot_requested (void); void mperror_enable_heartbeat (void); void mperror_disable_heartbeat (void); void mperror_heartbeat_signal (void); |
