fusb_g.c 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  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: fusb_g.c
  15. * Date: 2022-02-11 13:33:11
  16. * LastEditTime: 2022-02-18 09:19:07
  17. * Description:  This files is for gloabl parameters
  18. *
  19. * Modify History:
  20. * Ver   Who        Date         Changes
  21. * ----- ------     --------    --------------------------------------
  22. * 1.0 Zhugengyu 2022/2/7 init commit
  23. */
  24. /***************************** Include Files *********************************/
  25. #include "fparameters.h"
  26. #include "fusb_private.h"
  27. /************************** Constant Definitions *****************************/
  28. /**************************** Type Definitions *******************************/
  29. /***************** Macros (Inline Functions) Definitions *********************/
  30. /************************** Function Prototypes ******************************/
  31. /************************** Variable Definitions *****************************/
  32. const FUsbConfig FUSBHC_CONFIG_TBL[FUSB3_NUM] =
  33. {
  34. [FUSB3_ID_0] =
  35. {
  36. .instance_id = FUSB3_ID_0,
  37. .base_addr = FUSB3_0_BASE_ADDR,
  38. .irq_num = FUSB3_0_IRQ_NUM,
  39. .irq_priority = 0U,
  40. .allocator = NULL
  41. },
  42. [FUSB3_ID_1] =
  43. {
  44. .instance_id = FUSB3_ID_1,
  45. .base_addr = FUSB3_1_BASE_ADDR,
  46. .irq_num = FUSB3_1_IRQ_NUM,
  47. .irq_priority = 0U,
  48. .allocator = NULL
  49. }
  50. };
  51. /*****************************************************************************/