Files
kunlun/plc/halphy/hw2/inc/phy_agc.h
2024-09-28 14:24:04 +08:00

68 lines
2.0 KiB
C
Executable File

/****************************************************************************
Copyright(c) 2019 by Aerospace C.Power (Chongqing) Microelectronics. ALL RIGHTS RESERVED.
This Information is proprietary to Aerospace C.Power (Chongqing) Microelectronics and MAY NOT
be copied by any method or incorporated into another program without
the express written consent of Aerospace C.Power. This Information or any portion
thereof remains the property of Aerospace C.Power. The Information contained herein
is believed to be accurate and Aerospace C.Power assumes no responsibility or
liability for its use in any way and conveys no license or title under
any patent or copyright and makes no representation or warranty that this
Information is free from patent or copyright infringement.
****************************************************************************/
#ifndef __PHY_AGC_H
#define __PHY_AGC_H
#include "os_types.h"
#ifdef __cplusplus
extern "C" {
#endif
/**
*@brief phy_agc_adc_data_set.
*
* config valid bit for adc.
*
*@param ena [true or false.]
*@param data [valid data.]
*@exception [none.]
*@return [none.]
*/
void phy_agc_adc_data_set(bool_t ena, uint8_t data);
/**
*@brief phy_tx_pwr_ctl_en.
*
* enable frequency domain, time domain and analog domain
* power control depended on tx description symbol.
*
*@param fd_en [true or false.]
*@param td_en [true or false.]
*@param ana_en [true or false.]
*@param data [valid data.]
*@exception [none.]
*@return [none.]
*/
void phy_tx_pwr_ctl_en( \
bool_t fd_en, bool_t td_en, bool_t ana_en);
/**
*@brief phy_gain_chg_rst_set.
*
* all filter reset enable config.
*
*@param rst [true or false.]
*@exception [none.]
*@return [none.]
*/
void phy_gain_chg_rst_en_set(uint8_t rst);
#ifdef __cplusplus
}
#endif
#endif