Reset driver using dsPIC MCUs.
More...
|
file | reset_types.h |
| This is the generated driver types header file for the RESET driver.
|
|
file | reset.c |
| This is the generated driver source file for RESET driver.
|
|
◆ RESET_CauseClear()
static void RESET_CauseClear |
( |
enum RESET_MASKS |
resetFlagMask | ) |
|
|
static |
RESET cause from Clear
Definition at line 153 of file reset.c.
◆ RESET_CauseClearAll()
void RESET_CauseClearAll |
( |
void |
| ) |
|
- Parameters
-
- Returns
- none
Definition at line 198 of file reset.c.
◆ RESET_CauseFromConfigurationMismatch()
static bool RESET_CauseFromConfigurationMismatch |
( |
uint16_t |
resetCause | ) |
|
|
static |
RESET cause from Configuration Mismatch
Definition at line 85 of file reset.c.
◆ RESET_CauseFromExternal()
static bool RESET_CauseFromExternal |
( |
uint16_t |
resetCause | ) |
|
|
static |
RESET cause from External
Definition at line 102 of file reset.c.
◆ RESET_CauseFromIllegalOpcode()
static bool RESET_CauseFromIllegalOpcode |
( |
uint16_t |
resetCause | ) |
|
|
static |
RESET cause from Illegal Opcode
Definition at line 68 of file reset.c.
◆ RESET_CauseFromSoftware()
static bool RESET_CauseFromSoftware |
( |
uint16_t |
resetCause | ) |
|
|
static |
RESET cause from Software
Definition at line 119 of file reset.c.
◆ RESET_CauseFromTrap()
static bool RESET_CauseFromTrap |
( |
uint16_t |
resetCause | ) |
|
|
static |
RESET cause from trap
Definition at line 51 of file reset.c.
◆ RESET_CauseFromWatchdogTimer()
static bool RESET_CauseFromWatchdogTimer |
( |
uint16_t |
resetCause | ) |
|
|
static |
RESET cause from Watchdog Time
Definition at line 136 of file reset.c.
◆ RESET_CauseGet()
uint16_t RESET_CauseGet |
( |
void |
| ) |
|
- Precondition
- This function should be called before any use of CLRWDT since it has a side-effect of clearing the appropriate bits in the register showing reset cause.
- Parameters
-
- Returns
- Returns a value corresponding to a possible cause for reset.
Definition at line 158 of file reset.c.
◆ RESET_CauseHandler()
void RESET_CauseHandler |
( |
void |
| ) |
|