Digital Power Starter Kit 3 Firmware  DM330017-3, Rev.3.0
dsPIC33C Buck Converter Peak Current Mode Control Example
+ Collaboration diagram for Defines and Macros:
void _AltHardTrapError (void)
 
void _AltSoftTrapError (void)
 
void _AltOscillatorFail (void)
 
void _AltAddressError (void)
 
void _AltStackError (void)
 
void _AltMathError (void)
 
#define TRAP_DMA_SUPPORT   0
 Device does not support DMA. More...
 
#define FAULT_OBJECT_CPU_RESET_TRIGGER_BIT_MASK   0b0000000000000001
 This define is used to filter the fault object CPU reset trigger. More...
 
#define CPU_RESET_TRIGGER_LOW_BIT_MASK   0b00000000000000011011101110000000
 This define is used to filter on critical fault conditions used to trigger a CPU reset. More...
 

Detailed Description

This chapter provides detailed information about the public defines and macros provided by the fault handler library.

Macro Definition Documentation

◆ CPU_RESET_TRIGGER_LOW_BIT_MASK

#define CPU_RESET_TRIGGER_LOW_BIT_MASK   0b00000000000000011011101110000000

This define is used to filter on critical fault conditions used to trigger a CPU reset.

Definition at line 81 of file drv_trap_handler.h.

◆ FAULT_OBJECT_CPU_RESET_TRIGGER_BIT_MASK

#define FAULT_OBJECT_CPU_RESET_TRIGGER_BIT_MASK   0b0000000000000001

This define is used to filter the fault object CPU reset trigger.

Definition at line 80 of file drv_trap_handler.h.

◆ TRAP_DMA_SUPPORT

TRAP_DMA_SUPPORT   0

Device does not support DMA.

defining trap-ID for primary and secondary vectors

Definition at line 76 of file drv_trap_handler.h.

Function Documentation

◆ _AltAddressError()

void _AltAddressError ( void  )

Definition at line 300 of file drv_trap_handler.c.

+ Here is the call graph for this function:

◆ _AltHardTrapError()

void _AltHardTrapError ( void  )

Definition at line 288 of file drv_trap_handler.c.

+ Here is the call graph for this function:

◆ _AltMathError()

void _AltMathError ( void  )

Definition at line 308 of file drv_trap_handler.c.

+ Here is the call graph for this function:

◆ _AltOscillatorFail()

void _AltOscillatorFail ( void  )

Definition at line 296 of file drv_trap_handler.c.

+ Here is the call graph for this function:

◆ _AltSoftTrapError()

void _AltSoftTrapError ( void  )

Definition at line 292 of file drv_trap_handler.c.

+ Here is the call graph for this function:

◆ _AltStackError()

void _AltStackError ( void  )

Definition at line 304 of file drv_trap_handler.c.

+ Here is the call graph for this function: