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

Contains public functions relevant for power control communication interface.
More...

#include "pwrctrl_typedef.h"
+ Include dependency graph for pwrctrl_comm_interface.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

void Dev_PwrCtrl_SetState (uint16_t reference)
 API function to set the power control State.
 
void PwrCtrl_SetPeriodTarget (uint16_t reference)
 API function to set the target period.
 
void PwrCtrl_SetPhaseTarget (uint16_t reference)
 API function to set the target PWM phase.
 
void PwrCtrl_SetP2SPhaseTarget (uint16_t reference)
 API function to set the target prim to sec phase which will steer other modulation.
 
void PwrCtrl_SetEnable (PWR_CTRL_CHARGE_STATE_t setVal)
 API function to set the power control state forward, reverse or stop.
 
void PwrCtrl_SetVSecReference (uint16_t reference)
 API function to set the secondary voltage controller reference.
 
void PwrCtrl_SetIReference (uint16_t reference)
 API function to set the current controller reference.
 
void PwrCtrl_SetPwrReference (uint16_t reference)
 API function to set the power controller reference.
 
void PwrCtrl_SetVPriReference (uint16_t reference)
 API function to set the primary voltage controller reference, in reverse mode.
 
uint16_t PwrCtrl_GetPhase_P2SDegree (void)
 API function to set the power control State.
 
uint16_t Dev_PwrCtrl_GetAdc_Vpri (void)
 
uint16_t Dev_PwrCtrl_GetAdc_Vsec (void)
 
uint16_t PwrCtrl_GetAdc_Ipri_ct (void)
 API function to get the raw ADC value for primary current transformer current.
 
uint16_t PwrCtrl_GetAdc_Isec_ct (void)
 API function to get the raw ADC value for secondary current transformer current.
 
uint16_t PwrCtrl_GetAdc_Isec_avg (void)
 API function to get the raw ADC value for secondary average current.
 
uint16_t PwrCtrl_GetAdc_Temperature (void)
 API function to get the raw ADC value for temperature.
 
uint16_t PwrCtrl_GetAdc_Vrail_5V (void)
 API function to get the raw ADC value for 5V rail.
 
uint16_t Dev_PwrCtrl_Get_Period (void)
 API function to get the PWM period.
 
uint16_t Dev_PwrCtrl_Get_PwmprdTarget (void)
 API function to get the PWM period target.
 
uint16_t Dev_PwrCtrl_Get_State (void)
 API function to get the current state of the state machine.
 
uint16_t Dev_PwrCtrl_Get_PowerDir (void)
 API function to get the direction of configure power flow.
 
uint16_t Dev_PwrCtrl_Get_Status (void)
 API function to get the power control status.
 
uint16_t Dev_PwrCtrl_Get_EnableFlag (void)
 API function to get the state of the power control enable bit.
 
uint16_t Dev_PwrCtrl_Get_DutyCycle (void)
 API function to get the PWM duty cycle.
 
uint16_t Dev_PwrCtrl_Get_SecPower (void)
 API function to get the secondary power.
 
uint16_t Dev_PwrCtrl_GetAveraging_Vprim (void)
 API function to get the average value of the sampled ADC for primary voltage.
 
uint16_t Dev_PwrCtrl_GetAveraging_Vsec (void)
 API function to get the average value of the sampled ADC for secondary voltage.
 
uint16_t Dev_PwrCtrl_GetAveraging_Isec (void)
 API function to get the average value of the sampled ADC for secondary current.
 

Detailed Description


<>

Definition in file pwrctrl_comm_interface.h.

Function Documentation

◆ Dev_PwrCtrl_GetAdc_Vpri()

uint16_t Dev_PwrCtrl_GetAdc_Vpri ( void  )

◆ Dev_PwrCtrl_GetAdc_Vsec()

uint16_t Dev_PwrCtrl_GetAdc_Vsec ( void  )