diff options
Diffstat (limited to 'cc3200/hal/prcm.h')
-rw-r--r-- | cc3200/hal/prcm.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/cc3200/hal/prcm.h b/cc3200/hal/prcm.h index a00bf9d774..110d8326ea 100644 --- a/cc3200/hal/prcm.h +++ b/cc3200/hal/prcm.h @@ -193,16 +193,20 @@ unsigned char ulRstReg; #define PRCM_ADC 0x000000FF //***************************************************************************** +// User bits in the PRCM persistent registers +//***************************************************************************** +#define PRCM_SAFE_BOOT_BIT 30 +#define PRCM_WDT_RESET_BIT 29 +#define PRCM_FIRST_BOOT_BIT 28 + +//***************************************************************************** // // API Function prototypes // //***************************************************************************** -extern void PRCMRequestSafeBoot(void); -extern void PRCMClearSafeBootRequest(void); -extern tBoolean PRCMIsSafeBootRequested(void); -extern void PRCMSignalWDTReset(void); -extern void PRCMClearWDTResetSignal(void); -extern tBoolean PRCMWasResetBecauseOfWDT(void); +extern void PRCMSetSpecialBit(unsigned char bit); +extern void PRCMClearSpecialBit(unsigned char bit); +extern tBoolean PRCMGetSpecialBit(unsigned char bit); extern void PRCMSOCReset(void); extern void PRCMMCUReset(tBoolean bIncludeSubsystem); extern unsigned long PRCMSysResetCauseGet(void); |