Macros | Functions
reset.h File Reference
#include <msp432.h>
#include <stdint.h>
#include "register_remap.h"

Go to the source code of this file.

Macros

#define RESET_KEY   0x6900
 
#define RESET_HARD_RESET   RSTCTL_RESETREQ_HRD_REQ
 
#define RESET_SOFT_RESET   RSTCTL_RESETREQ_SFT_REQ
 
#define RESET_SRC_0   RSTCTL_HRDRESETSTAT_SRC0
 
#define RESET_SRC_1   RSTCTL_HRDRESETSTAT_SRC1
 
#define RESET_SRC_2   RSTCTL_HRDRESETSTAT_SRC2
 
#define RESET_SRC_3   RSTCTL_HRDRESETSTAT_SRC3
 
#define RESET_SRC_4   RSTCTL_HRDRESETSTAT_SRC4
 
#define RESET_SRC_5   RSTCTL_HRDRESETSTAT_SRC5
 
#define RESET_SRC_6   RSTCTL_HRDRESETSTAT_SRC6
 
#define RESET_SRC_7   RSTCTL_HRDRESETSTAT_SRC7
 
#define RESET_SRC_8   RSTCTL_HRDRESETSTAT_SRC8
 
#define RESET_SRC_9   RSTCTL_HRDRESETSTAT_SRC9
 
#define RESET_SRC_10   RSTCTL_HRDRESETSTAT_SRC10
 
#define RESET_SRC_11   RSTCTL_HRDRESETSTAT_SRC11
 
#define RESET_SRC_12   RSTCTL_HRDRESETSTAT_SRC12
 
#define RESET_SRC_13   RSTCTL_HRDRESETSTAT_SRC13
 
#define RESET_SRC_14   RSTCTL_HRDRESETSTAT_SRC14
 
#define RESET_SRC_15   RSTCTL_HRDRESETSTAT_SRC15
 
#define RESET_VCCDET   RSTCTL_PSSRSTSTAT_BGREF
 
#define RESET_SVSH_TRIP   RSTCTL_PSSRSTSTAT_SVSH
 
#define RESET_SVSL_TRIP   RSTCTL_PSSRSTSTAT_SVSL
 
#define RESET_BGREF_BAD   RSTCTL_PSSRSTSTAT_BGREF
 
#define RESET_SD0   RSTCTL_PCMRSTSTAT_LPM35
 
#define RESET_SD1   RSTCTL_PCMRSTSTAT_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 2014, Texas Instruments Incorporated