53 #include <ti/devices/msp432p4xx/inc/msp.h>
61 #define RESET_KEY 0x6900
62 #define RESET_HARD_RESET RSTCTL_RESET_REQ_HARD_REQ
63 #define RESET_SOFT_RESET RSTCTL_RESET_REQ_SOFT_REQ
65 #define RESET_SRC_0 RSTCTL_HARDRESET_CLR_SRC0
66 #define RESET_SRC_1 RSTCTL_HARDRESET_CLR_SRC1
67 #define RESET_SRC_2 RSTCTL_HARDRESET_CLR_SRC2
68 #define RESET_SRC_3 RSTCTL_HARDRESET_CLR_SRC3
69 #define RESET_SRC_4 RSTCTL_HARDRESET_CLR_SRC4
70 #define RESET_SRC_5 RSTCTL_HARDRESET_CLR_SRC5
71 #define RESET_SRC_6 RSTCTL_HARDRESET_CLR_SRC6
72 #define RESET_SRC_7 RSTCTL_HARDRESET_CLR_SRC7
73 #define RESET_SRC_8 RSTCTL_HARDRESET_CLR_SRC8
74 #define RESET_SRC_9 RSTCTL_HARDRESET_CLR_SRC9
75 #define RESET_SRC_10 RSTCTL_HARDRESET_CLR_SRC10
76 #define RESET_SRC_11 RSTCTL_HARDRESET_CLR_SRC11
77 #define RESET_SRC_12 RSTCTL_HARDRESET_CLR_SRC12
78 #define RESET_SRC_13 RSTCTL_HARDRESET_CLR_SRC13
79 #define RESET_SRC_14 RSTCTL_HARDRESET_CLR_SRC14
80 #define RESET_SRC_15 RSTCTL_HARDRESET_CLR_SRC15
82 #define RESET_VCCDET RSTCTL_PSSRESET_STAT_VCCDET
83 #define RESET_SVSH_TRIP RSTCTL_PSSRESET_STAT_SVSMH
84 #define RESET_BGREF_BAD RSTCTL_PSSRESET_STAT_BGREF
86 #define RESET_LPM35 RSTCTL_PCMRESET_STAT_LPM35
87 #define RESET_LPM45 RSTCTL_PCMRESET_STAT_LPM45
338 #endif // __RESET_H__
void ResetCtl_clearSoftResetSource(uint32_t mask)
Definition: reset.c:50
void ResetCtl_clearHardResetSource(uint32_t mask)
Definition: reset.c:70
uint32_t ResetCtl_getHardResetSource(void)
Definition: reset.c:65
void ResetCtl_initiateSoftResetWithSource(uint32_t source)
Definition: reset.c:40
void ResetCtl_initiateHardReset(void)
Definition: reset.c:55
uint32_t ResetCtl_getPCMSource(void)
Definition: reset.c:85
uint32_t ResetCtl_getSoftResetSource(void)
Definition: reset.c:45
void ResetCtl_initiateHardResetWithSource(uint32_t source)
Definition: reset.c:60
void ResetCtl_clearPSSFlags(void)
Definition: reset.c:80
void ResetCtl_initiateSoftReset(void)
Definition: reset.c:35
uint32_t ResetCtl_getPSSSource(void)
Definition: reset.c:75
void ResetCtl_clearPCMFlags(void)
Definition: reset.c:90