From c16f1408a6f56a8040308c68d7ac97ec21a4d4c6 Mon Sep 17 00:00:00 2001 From: raiden00pl Date: Sat, 19 Feb 2022 17:37:30 +0100 Subject: [PATCH] industry/foc: update comments --- industry/foc/float/foc_vel_odiv.c | 6 ++++++ industry/foc/float/foc_vel_opll.c | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/industry/foc/float/foc_vel_odiv.c b/industry/foc/float/foc_vel_odiv.c index cd3e5f56c..43491b5a5 100644 --- a/industry/foc/float/foc_vel_odiv.c +++ b/industry/foc/float/foc_vel_odiv.c @@ -90,6 +90,7 @@ struct foc_velocity_ops_f32_s g_foc_velocity_odiv_f32 = * Name: foc_velocity_div_init_f32 * * Description: + * Initialize the DIV velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -119,6 +120,7 @@ errout: * Name: foc_velocity_div_deinit_f32 * * Description: + * De-initialize the DIV velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -141,6 +143,7 @@ static void foc_velocity_div_deinit_f32(FAR foc_velocity_f32_t *h) * Name: foc_velocity_div_cfg_f32 * * Description: + * Configure the DIV velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -185,6 +188,7 @@ static int foc_velocity_div_cfg_f32(FAR foc_velocity_f32_t *h, FAR void *cfg) * Name: foc_velocity_div_zero_f32 * * Description: + * Zero the DIV velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -217,6 +221,7 @@ static int foc_velocity_div_zero_f32(FAR foc_velocity_f32_t *h) * Name: foc_velocity_div_dir_f32 * * Description: + * Set the DIV velocity observer direction (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -246,6 +251,7 @@ static int foc_velocity_div_dir_f32(FAR foc_velocity_f32_t *h, float dir) * Name: foc_velocity_div_run_f32 * * Description: + * Process the DIV velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler diff --git a/industry/foc/float/foc_vel_opll.c b/industry/foc/float/foc_vel_opll.c index 5e7cfc9be..0e554848a 100644 --- a/industry/foc/float/foc_vel_opll.c +++ b/industry/foc/float/foc_vel_opll.c @@ -90,6 +90,7 @@ struct foc_velocity_ops_f32_s g_foc_velocity_opll_f32 = * Name: foc_velocity_pll_init_f32 * * Description: + * Initialize the PLL velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -119,6 +120,7 @@ errout: * Name: foc_velocity_pll_deinit_f32 * * Description: + * De-initialize the PLL velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -141,6 +143,7 @@ static void foc_velocity_pll_deinit_f32(FAR foc_velocity_f32_t *h) * Name: foc_velocity_pll_cfg_f32 * * Description: + * Configure the PLL velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -184,6 +187,7 @@ static int foc_velocity_pll_cfg_f32(FAR foc_velocity_f32_t *h, FAR void *cfg) * Name: foc_velocity_pll_zero_f32 * * Description: + * Zero the DIV velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -215,6 +219,7 @@ static int foc_velocity_pll_zero_f32(FAR foc_velocity_f32_t *h) * Name: foc_velocity_pll_dir_f32 * * Description: + * Set the PLL velocity observer direction (float32) * * Input Parameter: * h - pointer to FOC velocity handler @@ -244,6 +249,7 @@ static int foc_velocity_pll_dir_f32(FAR foc_velocity_f32_t *h, float dir) * Name: foc_velocity_pll_run_f32 * * Description: + * Process the PLL velocity observer (float32) * * Input Parameter: * h - pointer to FOC velocity handler