Macros | Functions
reset.h File Reference
#include <msp.h>
#include <stdint.h>

Go to the source code of this file.

Macros

#define RESET_KEY   0x6900
 
#define RESET_HARD_RESET   RSTCTL_RESET_REQ_HARD_REQ
 
#define RESET_SOFT_RESET   RSTCTL_RESET_REQ_SOFT_REQ
 
#define RESET_SRC_0   RSTCTL_HARDRESET_CLR_SRC0
 
#define RESET_SRC_1   RSTCTL_HARDRESET_CLR_SRC1
 
#define RESET_SRC_2   RSTCTL_HARDRESET_CLR_SRC2
 
#define RESET_SRC_3   RSTCTL_HARDRESET_CLR_SRC3
 
#define RESET_SRC_4   RSTCTL_HARDRESET_CLR_SRC4
 
#define RESET_SRC_5   RSTCTL_HARDRESET_CLR_SRC5
 
#define RESET_SRC_6   RSTCTL_HARDRESET_CLR_SRC6
 
#define RESET_SRC_7   RSTCTL_HARDRESET_CLR_SRC7
 
#define RESET_SRC_8   RSTCTL_HARDRESET_CLR_SRC8
 
#define RESET_SRC_9   RSTCTL_HARDRESET_CLR_SRC9
 
#define RESET_SRC_10   RSTCTL_HARDRESET_CLR_SRC10
 
#define RESET_SRC_11   RSTCTL_HARDRESET_CLR_SRC11
 
#define RESET_SRC_12   RSTCTL_HARDRESET_CLR_SRC12
 
#define RESET_SRC_13   RSTCTL_HARDRESET_CLR_SRC13
 
#define RESET_SRC_14   RSTCTL_HARDRESET_CLR_SRC14
 
#define RESET_SRC_15   RSTCTL_HARDRESET_CLR_SRC15
 
#define RESET_VCCDET   RSTCTL_PSSRESET_CLR_BGREF
 
#define RESET_SVSH_TRIP   RSTCTL_PSSRESET_CLR_SVSMH
 
#define RESET_BGREF_BAD   RSTCTL_PSSRESET_CLR_BGREF
 
#define RESET_LPM35   RSTCTL_PCMRESET_CLR_LPM35
 
#define RESET_LPM45   RSTCTL_PCMRESET_CLR_LPM45
 

Functions

void ResetCtl_initiateSoftReset (void)
 
void ResetCtl_initiateSoftResetWithSource (uint32_t source)
 
uint32_t ResetCtl_getSoftResetSource (void)
 
void ResetCtl_clearSoftResetSource (uint32_t mask)
 
void ResetCtl_initiateHardReset (void)
 
void ResetCtl_initiateHardResetWithSource (uint32_t source)
 
uint32_t ResetCtl_getHardResetSource (void)
 
void ResetCtl_clearHardResetSource (uint32_t mask)
 
uint32_t ResetCtl_getPSSSource (void)
 
void ResetCtl_clearPSSFlags (void)
 
uint32_t ResetCtl_getPCMSource (void)
 
void ResetCtl_clearPCMFlags (void)
 

Copyright 2016, Texas Instruments Incorporated