foox_options.c 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. /*
  2. * Copyright : (C) 2022 Phytium Information Technology, Inc.
  3. * All Rights Reserved.
  4. *
  5. * This program is OPEN SOURCE software: you can redistribute it and/or modify it
  6. * under the terms of the Phytium Public License as published by the Phytium Technology Co.,Ltd,
  7. * either version 1.0 of the License, or (at your option) any later version.
  8. *
  9. * This program is distributed in the hope that it will be useful,but WITHOUT ANY WARRANTY;
  10. * without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  11. * See the Phytium Public License for more details.
  12. *
  13. *
  14. * FilePath: foox_options.c
  15. * Date: 2022-02-10 14:53:42
  16. * LastEditTime: 2022-02-18 08:24:58
  17. * Description:  This files is for
  18. *
  19. * Modify History:
  20. * Ver   Who        Date         Changes
  21. * ----- ------     --------    --------------------------------------
  22. */
  23. /*
  24. - The implementation of the options functions for the driver.
  25. - 用户选项实现
  26. 1. 速度参数配置
  27. 2. 工作模式参数
  28. 3. fifo功能
  29. 1. 深度
  30. 2. 使能
  31. - 用户常用的功能寄存器读写动作,建议通过option提供快捷方式
  32. */
  33. /***************************** Include Files *********************************/
  34. #include "fooxx.h"
  35. /************************** Constant Definitions *****************************/
  36. /**************************** Type Definitions *******************************/
  37. /***************** Macros (Inline Functions) Definitions *********************/
  38. /************************** Variable Definitions *****************************/
  39. /************************** Function Prototypes ******************************/
  40. u32 FXxxGetOptions(FXxx *instance_p)
  41. {
  42. }
  43. u32 FXxxSetOptions(FXxx *instance_p, u32 options)
  44. {
  45. }
  46. u32 FXxxSetData(FXxx *instance_p, void *data_struct)
  47. {
  48. }
  49. u32 FXxxGetOptions(FXxx *instance_p, void *data_struct)
  50. {
  51. }