fooxx.c 2.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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: fooxx.c
  15. * Date: 2022-02-10 14:53:42
  16. * LastEditTime: 2022-02-18 08:25:29
  17. * Description:  This files is for
  18. *
  19. * Modify History:
  20. * Ver   Who        Date         Changes
  21. * ----- ------     --------    --------------------------------------
  22. */
  23. /***************************** Include Files *********************************/
  24. #include "fio.h"
  25. #include "ferror_code.h"
  26. #include "ftypes.h"
  27. #include "foox_hw.h"
  28. #include "fooxx.h"
  29. /************************** Constant Definitions *****************************/
  30. /**************************** Type Definitions *******************************/
  31. /***************** Macros (Inline Functions) Definitions *********************/
  32. /************************** Function Prototypes ******************************/
  33. /************************** Variable Definitions *****************************/
  34. /*****************************************************************************/
  35. /* 此文件主要为了完成用户对外接口,用户可以使用这些接口直接开始工作 */
  36. /* - 包括用户API的定义和实现
  37. - 同时包含必要的OPTION方法,方便用户进行配置
  38. - 如果驱动可以直接进行I/O操作,在此源文件下可以将API 进行实现 */
  39. /**
  40. * @name: FooxxCfgInitialize
  41. * @msg: Initializes a specific instance such that it is ready to be used.
  42. * @param {Fooxx} *instance_p is a pointer to the driver instance.
  43. * @param {FooxxConfig} *config_p is a reference to a structure containing information
  44. * about a specific driver.
  45. * @return SUCCESS if initialization was successful
  46. * ERROR
  47. */
  48. FError FooxxCfgInitialize(Fooxx *instance_p, FooxxConfig *config_p)
  49. {
  50. }
  51. /* - 包括用户API的定义和实现
  52. - 同时包含必要的OPTION方法,方便用户进行配置
  53. - 如果驱动可以直接进行I/O操作,在此源文件下可以将API 进行实现 */