ql_nand_block_device.h 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. /** @file
  2. ql_nand_block_device.h
  3. @brief
  4. This file is used to define log interface for different Quectel Project.
  5. */
  6. /*================================================================
  7. Copyright (c) 2020 Quectel Wireless Solution, Co., Ltd. All Rights Reserved.
  8. Quectel Wireless Solution Proprietary and Confidential.
  9. =================================================================*/
  10. /*=================================================================
  11. EDIT HISTORY FOR MODULE
  12. This section contains comments describing changes made to the module.
  13. Notice that changes are listed in reverse chronological order.
  14. WHEN WHO WHAT, WHERE, WHY
  15. ------------ ------- -------------------------------------------------------------------------------
  16. =================================================================*/
  17. #ifndef QL_NAND_BLOCK_DEVICE_H
  18. #define QL_NAND_BLOCK_DEVICE_H
  19. #ifdef __cplusplus
  20. extern "C" {
  21. #endif
  22. #include "block_device.h"
  23. /*========================================================================
  24. * Variable Definition
  25. *========================================================================*/
  26. #define CONFIG_FS_NAND_FLASH_MOUNT_POINT "/exnand"
  27. /*========================================================================
  28. * function Definition
  29. *========================================================================*/
  30. void ql_fs_umount_nand_flash();
  31. bool ql_fs_mount_nand_flash();
  32. blockDevice_t *ql_nand_block_create(uint32_t name);
  33. #ifdef __cplusplus
  34. } /*"C" */
  35. #endif
  36. #endif /* QL_NAND_BLOCK_DEVICE_H */