Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
+ Collaboration diagram for Variables:

Variables

volatile struct TRAP_LOGGER_s traplog
 data structure used as buffer for trap monitoring More...
 

Detailed Description

This chapter provides detailed information about the public variables provided by the fault handler library.

Variable Documentation

◆ traplog

struct TRAP_LOGGER_s traplog

data structure used as buffer for trap monitoring

Persistent variable used to capture trap events.

The global variable 'traplog' is used to capture the status of the CPU RESET and Interrupt registers in case of an uninterruptible error event. This information will be preserved during a soft CPU reset and will be available afterwards for analysis.

Definition at line 1 of file drv_trap_handler.c.