ModusToolbox Power Conversion Middleware
All Data Structures Functions Variables Typedefs Modules Pages
3-pole 3-zero floating point regulator

General Description

Data Structures

struct  mtb_stc_pwrconv_reg_3p3z_float_freq_t
 The regulator poles and zeroes frequencies structure. More...
 
struct  mtb_stc_pwrconv_reg_3p3z_float_cfg_t
 The regulator configuration structure. More...
 
struct  mtb_stc_pwrconv_reg_3p3z_float_dat_t
 The regulator internal data structure. More...
 
struct  mtb_stc_pwrconv_reg_3p3z_float_ctx_t
 The regulator working context data structure. More...
 

Functions

cy_rslt_t mtb_pwrconv_3p3z_float_init (mtb_stc_pwrconv_reg_3p3z_float_ctx_t *ctx, mtb_stc_pwrconv_reg_3p3z_float_cfg_t const *cfg)
 Initialize the 3P3Z Regulator. More...
 
__STATIC_FORCEINLINE cy_rslt_t mtb_pwrconv_3p3z_float_process (mtb_stc_pwrconv_reg_3p3z_float_ctx_t *ctx, int32_t input, uint32_t *output)
 Run the 3P3Z Regulator. More...
 

Data Structure Documentation

◆ mtb_stc_pwrconv_reg_3p3z_float_freq_t

struct mtb_stc_pwrconv_reg_3p3z_float_freq_t
Data Fields
float32_t p[3]
float32_t z[3]

◆ mtb_stc_pwrconv_reg_3p3z_float_cfg_t

struct mtb_stc_pwrconv_reg_3p3z_float_cfg_t
Data Fields
float32_t a[4]
float32_t b[4]
float32_t min
float32_t max

◆ mtb_stc_pwrconv_reg_3p3z_float_dat_t

struct mtb_stc_pwrconv_reg_3p3z_float_dat_t
Data Fields
float32_t i[4]
float32_t o[4]

◆ mtb_stc_pwrconv_reg_3p3z_float_ctx_t

struct mtb_stc_pwrconv_reg_3p3z_float_ctx_t

Function Documentation

◆ mtb_pwrconv_3p3z_float_init()

cy_rslt_t mtb_pwrconv_3p3z_float_init ( mtb_stc_pwrconv_reg_3p3z_float_ctx_t ctx,
mtb_stc_pwrconv_reg_3p3z_float_cfg_t const *  cfg 
)

Initialize the 3P3Z Regulator.

Parameters
[out]cfgThe pointer to the configuration structure.
[out]ctxThe pointer to the data structure, which holds the computation context.
Returns
The initialization status.

◆ mtb_pwrconv_3p3z_float_process()

__STATIC_FORCEINLINE cy_rslt_t mtb_pwrconv_3p3z_float_process ( mtb_stc_pwrconv_reg_3p3z_float_ctx_t ctx,
int32_t  input,
uint32_t *  output 
)

Run the 3P3Z Regulator.

Parameters
[out]ctxThe pointer to the data structure, which holds the computation context.
[in]inputThe input data - typically, a difference between the current reference and ADC result.
[in]outputThe pointer to the output data - typically, the pointer to the modulator value.
Returns
The processing status