Bar Logo 4kW dsPIC33C PSFB DC-DC DA (Part-No. )
 
Content
     
Loading...
Searching...
No Matches
pwrctrl_common.c File Reference

Contains generic functions that handles power control ramp Up/Down and the averaging generic function. More...

#include <xc.h>
#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include "pwrctrl.h"
+ Include dependency graph for pwrctrl_common.c:

Go to the source code of this file.

Functions

uint16_t PwrCtrl_UpdateAverage (AVERAGING_t *data, uint16_t sample)
 Average the raw data over number of samples.
 
uint16_t PwrCtrl_UpdateAverageRolling (AVERAGING_ROLLING_t *data, uint16_t sample)
 Rolling Average the raw data over number of samples.
 
bool PwrCtrl_RampReference (START_UP_RAMP_t *rampUp)
 Softly increment / decrement to the set reference target.
 

Detailed Description


Definition in file pwrctrl_common.c.