Debian Codegraph @

ports/renesas-ra/fsp_cfg/r_usb_basic_cfg.h

raw
1 /* generated configuration header file - do not edit */
2 #ifndef R_USB_BASIC_CFG_H_
3 #define R_USB_BASIC_CFG_H_
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #ifndef NULL
9 extern const uint16_t NULL[];
10 #endif
11
12 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
13 #define USB_CFG_HCDC_USE
14 #endif
15 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
16 #define USB_CFG_HHID_USE
17 #endif
18 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
19 #define USB_CFG_HMSC_USE
20 #endif
21 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
22 #define USB_CFG_HVND_USE
23 #endif
24 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
25 #define USB_CFG_HPRN_USE
26 #endif
27 #if (1 != RA_NOT_DEFINED)
28 #define USB_CFG_PCDC_USE
29 #endif
30 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
31 #define USB_CFG_PHID_USE
32 #endif
33 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
34 #define USB_CFG_PMSC_USE
35 #endif
36 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
37 #define USB_CFG_PPRN_USE
38 #endif
39 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
40 #define USB_CFG_PVND_USE
41 #endif
42 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
43 #define USB_CFG_HCDC_USE
44 #endif
45 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
46 #define USB_CFG_HMSC_USE
47 #endif
48 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
49 #define USB_CFG_HHID_USE
50 #endif
51 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
52 #define USB_CFG_HPRN_USE
53 #endif
54 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
55 #define USB_CFG_HUVC_USE
56 #endif
57 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
58 #define USB_CFG_PCDC_USE
59 #endif
60 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
61 #define USB_CFG_PPRN_USE
62 #endif
63 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
64 #define USB_CFG_PHID_USE
65 #endif
66 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
67 #define USB_CFG_PMSC_USE
68 #endif
69 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
70 #define USB_CFG_PAUD_USE
71 #endif
72 #if (RA_NOT_DEFINED != RA_NOT_DEFINED)
73 #define USB_CFG_DFU_USE
74 #endif
75 #if ((RA_NOT_DEFINED != RA_NOT_DEFINED) || (RA_NOT_DEFINED != RA_NOT_DEFINED) || (RA_NOT_DEFINED != RA_NOT_DEFINED))
76 #define USB_CFG_OTG_USE
77 #endif
78 #if (defined(USB_CFG_HCDC_USE) || defined(USB_CFG_HPRN_USE) || defined(USB_CFG_HMSC_USE) || defined(USB_CFG_HHID_USE) || defined(USB_CFG_HVND_USE) || defined(USB_CFG_HUVC_USE))
79 #define USB_CFG_HOST_MODE 1
80 #else
81 #define USB_CFG_HOST_MODE 0
82 #endif
83
84 #if (defined(USB_CFG_PCDC_USE) || defined(USB_CFG_PPRN_USE) || defined(USB_CFG_PMSC_USE) || defined(USB_CFG_PHID_USE) || defined(USB_CFG_PVND_USE) || defined(USB_CFG_PAUD_USE) || defined(USB_CFG_DFU_USE))
85 #define USB_CFG_PERI_MODE 2
86 #else
87 #define USB_CFG_PERI_MODE 0
88 #endif
89
90 #define USB_CFG_MODE (USB_CFG_PERI_MODE | USB_CFG_HOST_MODE)
91
92 #define USB_CFG_PARAM_CHECKING_ENABLE (BSP_CFG_PARAM_CHECKING_ENABLE)
93 #define USB_CFG_CLKSEL (USB_CFG_24MHZ)
94 #define USB_CFG_BUSWAIT (USB_CFG_BUSWAIT_7)
95 #define USB_CFG_BC (USB_CFG_ENABLE)
96 #define USB_CFG_VBUS (USB_CFG_HIGH)
97 #define USB_CFG_DCP (USB_CFG_DISABLE)
98 #define USB_CFG_CLASS_REQUEST (USB_CFG_ENABLE)
99 #define USB_CFG_DBLB (USB_CFG_DBLBON)
100 #define USB_CFG_CNTMD (USB_CFG_CNTMDOFF)
101 #define USB_CFG_LDO_REGULATOR (USB_CFG_DISABLE)
102 #define USB_CFG_DMA (USB_CFG_DISABLE)
103 #define USB_SRC_ADDRESS (NULL)
104 #define USB_DEST_ADDRESS (NULL)
105 #define USB_CFG_TPLCNT (1)
106 #define USB_CFG_TPL USB_NOVENDOR, USB_NOPRODUCT
107 #define USB_CFG_TPL_TABLE NULL
108 #define USB_CFG_COMPLIANCE (USB_CFG_DISABLE)
109
110 #ifdef __cplusplus
111 }
112 #endif
113 #endif /* R_USB_BASIC_CFG_H_ */