HPM SDK
HPMicro Software Development Kit
hpm_hfi.h File Reference
#include "hpm_common.h"
#include "hpm_bldc_define.h"
#include "hpm_foc.h"
#include "hpm_smc.h"

Go to the source code of this file.

Data Structures

struct  hpm_hfi_para
 HFI parameters and calculation data. More...
 
struct  hpm_hfi_pole_detect_para
 HFI of magnetic pole identification parameters. More...
 
struct  hpm_hfi_pll_para
 HFI pll Filter Parameters. More...
 

Macros

#define PI   HPM_PI
 
#define BLDC_CONTROL_INJECT_PARA_DEFAULTS
 
#define BLDC_CONTROL_INJECT_POLE_DETECT_PARA_DEFAULTS
 
#define BLDC_CONTROL_INJECT_PLL_PARA_DEFAULTS
 

Typedefs

typedef struct hpm_hfi_para hpm_hfi_para_t
 HFI parameters and calculation data. More...
 
typedef struct hpm_hfi_pole_detect_para hpm_hfi_pole_detect_para_t
 HFI of magnetic pole identification parameters. More...
 
typedef struct hpm_hfi_pll_para hpm_hfi_pll_para_t
 HFI pll Filter Parameters. More...
 

Functions

void hpm_mcl_hfi_loop (BLDC_CONTROL_FOC_PARA *par, hpm_hfi_para_t *inject, hpm_hfi_pll_para_t *pll, hpm_hfi_pole_detect_para_t *pole)
 HFI current loop. More...
 
bool hpm_mcl_hfi_pole_detect (BLDC_CONTROL_FOC_PARA *foc, hpm_hfi_para_t *inject, hpm_hfi_pll_para_t *pll, hpm_hfi_pole_detect_para_t *pole)
 HFI Magnetic Pole Detection. More...