Bar Logo 3.8/7.6 kw Totem pole Demonstration Application (Part-No. (not specified))
 
Content
     
Loading...
Searching...
No Matches

This is the generated driver source file for RESET driver. More...

#include <stdbool.h>
#include <stdint.h>
#include <xc.h>
#include "../reset.h"
+ Include dependency graph for reset.c:

Go to the source code of this file.

Functions

static bool RESET_CauseFromTrap (uint16_t resetCause)
 RESET cause from trap.
 
static bool RESET_CauseFromIllegalOpcode (uint16_t resetCause)
 RESET cause from Illegal Opcode

 
static bool RESET_CauseFromConfigurationMismatch (uint16_t resetCause)
 RESET cause from Configuration Mismatch

 
static bool RESET_CauseFromExternal (uint16_t resetCause)
 RESET cause from External

 
static bool RESET_CauseFromSoftware (uint16_t resetCause)
 RESET cause from Software

 
static bool RESET_CauseFromWatchdogTimer (uint16_t resetCause)
 RESET cause from Watchdog Time

 
static void RESET_CauseClear (enum RESET_MASKS resetFlagMask)
 RESET cause from Clear

 
uint16_t RESET_CauseGet (void)
 Returns the cause of previous reset.
 
void RESET_CauseHandler (void)
 It handles the reset cause by clearing the cause register values. This is a weak attribute function. The user can override and implement the same function without weak attribute.
 
void RESET_CauseClearAll (void)
 Clears the Reset Cause register.
 

Detailed Description

RESET Generated Driver Source File

Definition in file reset.c.

Function Documentation

◆ RESET_CauseClear()

static void RESET_CauseClear ( enum RESET_MASKS resetFlagMask)
static

RESET cause from Clear

Definition at line 153 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.