Digital Power Starter Kit 3 Firmware
dsPIC33C Buck Converter Voltage Mode Control Example
FLT_OBJECT_STATUS_s Struct Reference

This data structure defines the fault object status. More...

#include <fault_handler/drivers/drv_fault_handler.h>

+ Inheritance diagram for FLT_OBJECT_STATUS_s:
+ Collaboration diagram for FLT_OBJECT_STATUS_s:

Data Fields

union {
   volatile uint16_t   value
 
}; 
 
volatile bool FaultStatus: 1
 Bit 0: Flag bit indicating if FAULT has been tripped. More...
 
volatile bool FaultActive: 1
 Bit 1: Flag bit indicating if fault condition has been detected but FAULT has not been tripped yet. More...
 
volatile unsigned: 6
 Bit <7:2>: (reserved) More...
 
enum FLT_COMPARE_TYPE_e CompareType: 3
 Bit <10:8>: Fault check comparison type control bits. More...
 
volatile bool Enabled: 1
 Bit 15: Control bit enabling/disabling monitoring of the fault object. More...
 
- Data Fields inherited from FAULT_OBJECT_s
volatile struct FLT_OBJECT_STATUS_s Status
 Status word of this fault object. More...
 
volatile uint16_t Counter
 Fault event counter (controlled by FAULT HANDLER) More...
 
volatile struct FLT_COMPARE_OBJECT_s SourceObject
 Object which should be monitored. More...
 
volatile struct FLT_COMPARE_OBJECT_s ReferenceObject
 Reference object the source should be compared with. More...
 
volatile struct FLT_EVENT_RESPONSE_s TripResponse
 Settings defining the fault trip event. More...
 
volatile struct FLT_EVENT_RESPONSE_s RecoveryResponse
 Settings defining the fault recovery event. More...
 

Detailed Description

This data structure defines the fault object status.

Definition at line 80 of file drv_fault_handler.h.

Field Documentation

◆ @1

union { ... }

◆ CompareType

enum FLT_COMPARE_TYPE_e CompareType

Bit <10:8>: Fault check comparison type control bits.

Definition at line 86 of file drv_fault_handler.h.

◆ Enabled

volatile bool Enabled

Bit 15: Control bit enabling/disabling monitoring of the fault object.

Definition at line 89 of file drv_fault_handler.h.

◆ FaultActive

volatile bool FaultActive

Bit 1: Flag bit indicating if fault condition has been detected but FAULT has not been tripped yet.

Definition at line 85 of file drv_fault_handler.h.

◆ FaultStatus

volatile bool FaultStatus

Bit 0: Flag bit indicating if FAULT has been tripped.

Definition at line 84 of file drv_fault_handler.h.

◆ unsigned

volatile unsigned

Bit <7:2>: (reserved)

Bit 14: (reserved)

Definition at line 86 of file drv_fault_handler.h.

◆ value

volatile uint16_t value

Definition at line 92 of file drv_fault_handler.h.


The documentation for this struct was generated from the following file: