Files
kunlun/plc/halphy/inc/phy_math_tb.h

25 lines
412 B
C
Raw Normal View History

2024-09-28 14:24:04 +08:00
#ifndef __PHY_MATH_TB_H
#define __PHY_MATH_TB_H
#ifdef __cplusplus
extern "C" {
#endif
#define PHY_ALPHA_MAX (65535)
/**
*@brief phy_alpha_cal
* get notch filter alpha from table.
*
*@param tone_num [tone number]
*@exception [none.]
*@return [notch filter alpha value.]
*/
uint16_t phy_alpha_cal(uint16_t tone_num);
#ifdef __cplusplus
}
#endif
#endif