Du kannst nicht mehr als 25 Themen auswählen Themen müssen entweder mit einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

234 Zeilen
4.4KB

  1. // This header is meant to undo the effect of having included
  2. // usb_desc.h. Everything usb_desc.h, usb_undef.h undefines.
  3. // This stuff is not supposed to be made visible to user level
  4. // programs, but it's nice if we can use it within the headers
  5. // included by user programs, to automatically define only the
  6. // appropriate APIs for the types of USB interfaces used.
  7. #ifdef _usb_desc_h_
  8. #undef _usb_desc_h_
  9. #endif
  10. #ifdef ENDPOINT_UNUSED
  11. #undef ENDPOINT_UNUSED
  12. #endif
  13. #ifdef ENDPOINT_TRANSIMIT_ONLY
  14. #undef ENDPOINT_TRANSIMIT_ONLY
  15. #endif
  16. #ifdef ENDPOINT_RECEIVE_ONLY
  17. #undef ENDPOINT_RECEIVE_ONLY
  18. #endif
  19. #ifdef ENDPOINT_TRANSMIT_AND_RECEIVE
  20. #undef ENDPOINT_TRANSMIT_AND_RECEIVE
  21. #endif
  22. #ifdef VENDOR_ID
  23. #undef VENDOR_ID
  24. #endif
  25. #ifdef PRODUCT_ID
  26. #undef PRODUCT_ID
  27. #endif
  28. #ifdef DEVICE_CLASS
  29. #undef DEVICE_CLASS
  30. #endif
  31. #ifdef MANUFACTURER_NAME
  32. #undef MANUFACTURER_NAME
  33. #endif
  34. #ifdef MANUFACTURER_NAME_LEN
  35. #undef MANUFACTURER_NAME_LEN
  36. #endif
  37. #ifdef PRODUCT_NAME
  38. #undef PRODUCT_NAME
  39. #endif
  40. #ifdef PRODUCT_NAME_LEN
  41. #undef PRODUCT_NAME_LEN
  42. #endif
  43. #ifdef EP0_SIZE
  44. #undef EP0_SIZE
  45. #endif
  46. #ifdef NUM_ENDPOINTS
  47. #undef NUM_ENDPOINTS
  48. #endif
  49. #ifdef NUM_USB_BUFFERS
  50. #undef NUM_USB_BUFFERS
  51. #endif
  52. #ifdef NUM_INTERFACE
  53. #undef NUM_INTERFACE
  54. #endif
  55. #ifdef CDC_STATUS_INTERFACE
  56. #undef CDC_STATUS_INTERFACE
  57. #endif
  58. #ifdef CDC_DATA_INTERFACE
  59. #undef CDC_DATA_INTERFACE
  60. #endif
  61. #ifdef CDC_ACM_ENDPOINT
  62. #undef CDC_ACM_ENDPOINT
  63. #endif
  64. #ifdef CDC_RX_ENDPOINT
  65. #undef CDC_RX_ENDPOINT
  66. #endif
  67. #ifdef CDC_TX_ENDPOINT
  68. #undef CDC_TX_ENDPOINT
  69. #endif
  70. #ifdef CDC_ACM_SIZE
  71. #undef CDC_ACM_SIZE
  72. #endif
  73. #ifdef CDC_RX_SIZE
  74. #undef CDC_RX_SIZE
  75. #endif
  76. #ifdef CDC_TX_SIZE
  77. #undef CDC_TX_SIZE
  78. #endif
  79. #ifdef SEREMU_INTERFACE
  80. #undef SEREMU_INTERFACE
  81. #endif
  82. #ifdef SEREMU_TX_ENDPOINT
  83. #undef SEREMU_TX_ENDPOINT
  84. #endif
  85. #ifdef SEREMU_TX_SIZE
  86. #undef SEREMU_TX_SIZE
  87. #endif
  88. #ifdef SEREMU_TX_INTERVAL
  89. #undef SEREMU_TX_INTERVAL
  90. #endif
  91. #ifdef SEREMU_RX_ENDPOINT
  92. #undef SEREMU_RX_ENDPOINT
  93. #endif
  94. #ifdef SEREMU_RX_SIZE
  95. #undef SEREMU_RX_SIZE
  96. #endif
  97. #ifdef SEREMU_RX_INTERVAL
  98. #undef SEREMU_RX_INTERVAL
  99. #endif
  100. #ifdef KEYBOARD_INTERFACE
  101. #undef KEYBOARD_INTERFACE
  102. #endif
  103. #ifdef KEYBOARD_ENDPOINT
  104. #undef KEYBOARD_ENDPOINT
  105. #endif
  106. #ifdef KEYBOARD_SIZE
  107. #undef KEYBOARD_SIZE
  108. #endif
  109. #ifdef KEYBOARD_INTERVAL
  110. #undef KEYBOARD_INTERVAL
  111. #endif
  112. #ifdef MOUSE_INTERFACE
  113. #undef MOUSE_INTERFACE
  114. #endif
  115. #ifdef MOUSE_ENDPOINT
  116. #undef MOUSE_ENDPOINT
  117. #endif
  118. #ifdef MOUSE_SIZE
  119. #undef MOUSE_SIZE
  120. #endif
  121. #ifdef MOUSE_INTERVAL
  122. #undef MOUSE_INTERVAL
  123. #endif
  124. #ifdef JOYSTICK_INTERFACE
  125. #undef JOYSTICK_INTERFACE
  126. #endif
  127. #ifdef JOYSTICK_ENDPOINT
  128. #undef JOYSTICK_ENDPOINT
  129. #endif
  130. #ifdef JOYSTICK_SIZE
  131. #undef JOYSTICK_SIZE
  132. #endif
  133. #ifdef JOYSTICK_INTERVAL
  134. #undef JOYSTICK_INTERVAL
  135. #endif
  136. #ifdef CDC_IAD_DESCRIPTOR
  137. #undef CDC_IAD_DESCRIPTOR
  138. #endif
  139. #ifdef MIDI_INTERFACE
  140. #undef MIDI_TX_ENDPOINT
  141. #endif
  142. #ifdef MIDI_TX_SIZE
  143. #undef MIDI_TX_SIZE
  144. #endif
  145. #ifdef MIDI_RX_ENDPOINT
  146. #undef MIDI_RX_ENDPOINT
  147. #endif
  148. #ifdef MIDI_RX_SIZE
  149. #undef MIDI_RX_SIZE
  150. #endif
  151. #ifdef RAWHID_INTERFACE
  152. #undef RAWHID_INTERFACE
  153. #endif
  154. #ifdef RAWHID_TX_ENDPOINT
  155. #undef RAWHID_TX_ENDPOINT
  156. #endif
  157. #ifdef RAWHID_TX_SIZE
  158. #undef RAWHID_TX_SIZE
  159. #endif
  160. #ifdef RAWHID_TX_INTERVAL
  161. #undef RAWHID_TX_INTERVAL
  162. #endif
  163. #ifdef RAWHID_RX_ENDPOINT
  164. #undef RAWHID_RX_ENDPOINT
  165. #endif
  166. #ifdef RAWHID_RX_SIZE
  167. #undef RAWHID_RX_SIZE
  168. #endif
  169. #ifdef RAWHID_RX_INTERVAL
  170. #undef RAWHID_RX_INTERVAL
  171. #endif
  172. #ifdef FLIGHTSIM_INTERFACE
  173. #undef FLIGHTSIM_TX_ENDPOINT
  174. #endif
  175. #ifdef FLIGHTSIM_TX_SIZE
  176. #undef FLIGHTSIM_TX_SIZE
  177. #endif
  178. #ifdef FLIGHTSIM_TX_INTERVAL
  179. #undef FLIGHTSIM_TX_INTERVAL
  180. #endif
  181. #ifdef FLIGHTSIM_RX_ENDPOINT
  182. #undef FLIGHTSIM_RX_ENDPOINT
  183. #endif
  184. #ifdef FLIGHTSIM_RX_SIZE
  185. #undef FLIGHTSIM_RX_SIZE
  186. #endif
  187. #ifdef ENDPOINT1_CONFIG
  188. #undef ENDPOINT1_CONFIG
  189. #endif
  190. #ifdef ENDPOINT2_CONFIG
  191. #undef ENDPOINT2_CONFIG
  192. #endif
  193. #ifdef ENDPOINT3_CONFIG
  194. #undef ENDPOINT3_CONFIG
  195. #endif
  196. #ifdef ENDPOINT4_CONFIG
  197. #undef ENDPOINT4_CONFIG
  198. #endif
  199. #ifdef ENDPOINT5_CONFIG
  200. #undef ENDPOINT5_CONFIG
  201. #endif
  202. #ifdef ENDPOINT6_CONFIG
  203. #undef ENDPOINT6_CONFIG
  204. #endif
  205. #ifdef ENDPOINT7_CONFIG
  206. #undef ENDPOINT7_CONFIG
  207. #endif
  208. #ifdef ENDPOINT8_CONFIG
  209. #undef ENDPOINT8_CONFIG
  210. #endif
  211. #ifdef ENDPOINT9_CONFIG
  212. #undef ENDPOINT9_CONFIG
  213. #endif
  214. #ifdef ENDPOINT10_CONFIG
  215. #undef ENDPOINT10_CONFIG
  216. #endif
  217. #ifdef ENDPOINT11_CONFIG
  218. #undef ENDPOINT11_CONFIG
  219. #endif
  220. #ifdef ENDPOINT12_CONFIG
  221. #undef ENDPOINT12_CONFIG
  222. #endif
  223. #ifdef ENDPOINT13_CONFIG
  224. #undef ENDPOINT13_CONFIG
  225. #endif
  226. #ifdef ENDPOINT14_CONFIG
  227. #undef ENDPOINT14_CONFIG
  228. #endif
  229. #ifdef ENDPOINT15_CONFIG
  230. #undef ENDPOINT15_CONFIG
  231. #endif