Files
kunlun/driver/src/simu/hw_tsfm_simu.c
2024-09-28 14:24:04 +08:00

59 lines
1.5 KiB
C

/****************************************************************************
*
* 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.
*
* ****************************************************************************/
/* common includes */
#include "iot_errno_api.h"
#include "iot_plc_hw_tsfm_api.h"
#if (HW_PLATFORM == HW_PLATFORM_SIMU)
uint32_t iot_plc_hw_tsfm_send(uint8_t *data, uint8_t len,
hw_tsfm_send_cfg_t *cfg)
{
(void)data;
(void)len;
(void)cfg;
return ERR_NOSUPP;
}
uint32_t iot_plc_hw_tsfm_register_listener(
iot_plc_hw_tsfm_listener_func_t exe_func)
{
(void)exe_func;
return ERR_NOSUPP;
}
uint32_t iot_plc_hw_tsfm_get_transmitter_state(void)
{
return ERR_NOSUPP;
}
uint8_t iot_plc_hw_tsfm_is_3p()
{
return 0;
}
uint8_t iot_plc_hw_tsfm_get_supp_mode(void)
{
return 0;
}
uint8_t iot_plc_hw_tsfm_get_load_capacity(void)
{
return 0;
}
#endif