Bar Logo Dual Active Bridge Development Board (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
fault.c File Reference

Contains fault functions including the fault handler, fault object initialization and fault execution. More...

#include "xc.h"
#include <stdbool.h>
#include <stddef.h>
#include "cmp/cmp1.h"
#include "cmp/cmp3.h"
#include "pwm_hs/pwm.h"
#include "system/pins.h"
#include "config/macros.h"
#include "device/device.h"
#include "pwrctrl/pwrctrl.h"
#include "fault_common.h"
#include "fault.h"
#include "fault_comm_interface.h"
#include "../driver/mcc_extension/drv_mcc_extension_pwm.h"
+ Include dependency graph for fault.c:

Go to the source code of this file.

Functions

static void Fault_EnableShortCircuitProtection (void)
 Enable Short circuit hardware protection.
 
void Fault_Handler (void)
 Handles the fault trip by turning off the power control switching.
 
void Fault_Initialize (void)
 Initialize the fault objects.
 
void Fault_Execute (void)
 Executes the fault handlers.
 
void Fault_Reset (void)
 Clears the fault object flag bits.
 
void Fault_Execute_100ms (void)
 Fault evaluation for Temperature and other slow fault detection executed every 100ms.
 

Variables

bool loadDisconnect = false
 

Detailed Description

<>

Definition in file fault.c.

Variable Documentation

◆ loadDisconnect

bool loadDisconnect = false

Definition at line 29 of file fault.c.