25 lines
412 B
C
25 lines
412 B
C
#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
|