Files
kunlun/plc/halphy/hw/phy_ppm.c
2024-09-28 14:24:04 +08:00

67 lines
1.7 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.
***************************************************************************/
#include "phy_ppm.h"
void phy_set_sw_nn_tx_ppm_en(uint8_t enable)
{
(void)enable;
return;
}
uint32_t phy_get_sw_nn_tx_ppm_en(void)
{
return 0;
}
void phy_set_sw_nn_rx_ppm_en(uint8_t enable)
{
(void)enable;
return;
}
uint32_t phy_get_sw_nn_rx_ppm_en(void)
{
return 0;
}
uint32_t phy_set_sw_nn_ppm_para(uint32_t para_id, uint32_t nn_nid,
int16_t nn_ppm)
{
(void)para_id;
(void)nn_nid;
(void)nn_ppm;
return ERR_OK;
}
uint32_t phy_get_sw_nn_rx_ppm_para(uint32_t para_id, uint32_t *nn_nid,
int16_t *nn_ppm, int16_t *rx_nn_phase_adj)
{
(void)para_id;
(void)nn_nid;
(void)nn_ppm;
(void)rx_nn_phase_adj;
return ERR_OK;
}
uint32_t phy_get_sw_nn_tx_ppm_para(uint32_t para_id, uint32_t *nn_nid,
int16_t *nn_ppm)
{
(void)para_id;
(void)nn_nid;
(void)nn_ppm;
return ERR_OK;
}