You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/02/19 23:36:44 UTC
[incubator-nuttx-apps] 03/05: industry/foc: update comments
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit c16f1408a6f56a8040308c68d7ac97ec21a4d4c6
Author: raiden00pl <ra...@railab.me>
AuthorDate: Sat Feb 19 17:37:30 2022 +0100
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 cd3e5f5..43491b5 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 5e7cfc9..0e55484 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