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

Variables

volatile struct FAULT_OBJECT_s fltObjectClear
 Clears the fault objects. More...
 

Detailed Description

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

Variable Documentation

◆ fltObjectClear

FAULT_OBJECT_s fltObjectClear
Initial value:
=
{
.Status.bits.CompareType = FLTCMP_NONE,
.Status.bits.Enabled = false,
.Status.bits.FaultActive = true,
.Status.bits.FaultStatus = true,
.Counter = 0,
.SourceObject.ptrObject = NULL,
.SourceObject.bitMask = 0xFFFF,
.ReferenceObject.ptrObject = NULL,
.ReferenceObject.bitMask = 0xFFFF,
.TripResponse.compareThreshold = 0,
.TripResponse.eventThreshold = 0,
.TripResponse.ptrResponseFunction = NULL,
.RecoveryResponse.compareThreshold = 0,
.RecoveryResponse.eventThreshold = 0,
.RecoveryResponse.ptrResponseFunction = NULL,
}

Clears the fault objects.

The fltObjectClear object is used during pre-initialization of user-defined fault pbjects, clearing all settings and setting the FaultActive and FaultStatus fault object status flag bts.

Definition at line 1 of file drv_fault_handler.c.