drv_host_cmd.h 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. /* Copyright (C) 2018 RDA Technologies Limited and/or its affiliates("RDA").
  2. * All rights reserved.
  3. *
  4. * This software is supplied "AS IS" without any warranties.
  5. * RDA assumes no responsibility or liability for the use of the software,
  6. * conveys no license or title under any patent, copyright, or mask work
  7. * right to the product. RDA reserves the right to make changes in the
  8. * software without notification. RDA also make no representation or
  9. * warranty that such application will be suitable for the specified use
  10. * without further testing or modification.
  11. */
  12. #ifndef _DRV_HOST_CMD_H_
  13. #define _DRV_HOST_CMD_H_
  14. #include "osi_api.h"
  15. #include "drv_debug_port.h"
  16. OSI_EXTERN_C_BEGIN
  17. /**
  18. * \brief opaque data struct for host command engine
  19. */
  20. typedef struct drvHostCmdEngine drvHostCmdEngine_t;
  21. /**
  22. * \brief create host command engine
  23. *
  24. * \param port debug port
  25. * \return
  26. * - host command engine
  27. * - NULL on error, out of memory
  28. */
  29. drvHostCmdEngine_t *drvHostCmdEngineCreate(drvDebugPort_t *port);
  30. OSI_EXTERN_C_END
  31. #endif