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

Private functions of the first application layer task. More...

+ Collaboration diagram for Private Functions:

Functions

volatile uint16_t uvlo_FaultInitialize (void)
 Initializes the user-defined fault objects for under-voltage lockout. More...
 
volatile uint16_t ovlo_FaultInitialize (void)
 Initializes the user-defined fault objects for overvoltage lockout. More...
 
volatile uint16_t regerr_FaultInitialize (void)
 Initializes the user-defined fault objects for regulation error. More...
 
volatile uint16_t ocp_FaultInitialize (void)
 Initializes the user-defined fault objects for overcurrent protection. More...
 

Detailed Description

Private functions of the first application layer task.

This is the detailed description of private functions of the fault monitor application layer.

Note

Function Documentation

◆ ocp_FaultInitialize()

volatile uint16_t ocp_FaultInitialize ( void  )

Initializes the user-defined fault objects for overcurrent protection.

Returns
0=failure
1=success

In this function all user-defined fault objects are initialize and set to the thresholds for overcurrent protection. The ADC channel that monitors the voltage from the circuit is set in SourceObject while the threshold violation and recovery are set by TripResponse and RecoveryResponse objects.

Definition at line 325 of file app_fault_monitor.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ ovlo_FaultInitialize()

volatile uint16_t ovlo_FaultInitialize ( void  )

Initializes the user-defined fault objects for overvoltage lockout.

Returns
0=failure
1=success

In this function all user-defined fault objects are initialize and set the threshold violations for overvoltage lockout. The ADC channel that monitors the voltage from the circuit is set in SourceObject while the threshold violation and recovery are set by TripResponse and RecoveryResponse objects.

Definition at line 239 of file app_fault_monitor.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ regerr_FaultInitialize()

volatile uint16_t regerr_FaultInitialize ( void  )

Initializes the user-defined fault objects for regulation error.

Returns
0=failure
1=success

In this function all user-defined fault objects are initialize and set to the threshold violations for Regulation Error. The ADC channel that monitors the voltage from the circuit is set in SourceObject while the threshold violation and recovery are set by TripResponse and RecoveryResponse objects.

Definition at line 282 of file app_fault_monitor.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ uvlo_FaultInitialize()

volatile uint16_t uvlo_FaultInitialize ( void  )

Initializes the user-defined fault objects for under-voltage lockout.

Returns
0=failure
1=success

In this function all user-defined fault objects are initialize and set to the threshold violations for under-voltage lockout. The ADC channel that monitors the voltage from the circuit is set in SourceObject while the threshold violation and recovery are set by TripResponse and RecoveryResponse objects.

Definition at line 194 of file app_fault_monitor.c.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: