drv_md_nvm.h 991 B

12345678910111213141516171819202122232425262728293031323334353637383940
  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_MD_NVM_H_
  13. #define _DRV_MD_NVM_H_
  14. #include <stdint.h>
  15. #include <stdbool.h>
  16. #include <stddef.h>
  17. #ifdef __cplusplus
  18. extern "C" {
  19. #endif
  20. struct diagMsgHead;
  21. /**
  22. * initialize NVM IPC driver
  23. *
  24. * NVM IPC will run on separated thread. It will register notify from IPC
  25. * driver.
  26. */
  27. void drvNvmIpcInit(void);
  28. void drvNvmSendCalibCmd(const struct diagMsgHead *cmd);
  29. #ifdef __cplusplus
  30. }
  31. #endif
  32. #endif