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

53 lines
1.6 KiB
C
Raw Permalink Normal View History

2024-09-28 14:24:04 +08:00
/****************************************************************************
Copyright(c) 2024 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_DATA_CKB_H
#define __PHY_DATA_CKB_H
#include "iot_config.h"
#include "plc_chn_est.h"
#ifdef __cplusplus
extern "C" {
#endif
#if (IOT_STA_CONTROL_MODE == IOT_STA_CONTROL_TYPE_STA)
typedef uint32_t (*iot_phy_chn_dump_cb)(uint8_t *addr, uint32_t len,
int8_t gain, iot_phy_chn_dump_report_t *dump_info);
/**
*@brief iot_phy_chn_dump_cb_register.
*
* output dump data and transmit end signal to cli module.
*
*@param cb [callback function pointer.]
*@exception [none.]
*@return [none.]
*/
void iot_phy_chn_dump_cb_register(iot_phy_chn_dump_cb cb);
#else
#define iot_phy_chn_dump_cb_register(cb)
#endif /* (IOT_STA_CONTROL_MODE == IOT_STA_CONTROL_TYPE_STA) */
#ifdef __cplusplus
}
#endif
#endif