Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 
 
 

106 строки
2.2 KiB

  1. /**
  2. ******************************************************************************
  3. * @file usbd_req.h
  4. * @author MCD Application Team
  5. * @brief Header file for the usbd_req.c file
  6. ******************************************************************************
  7. * @attention
  8. *
  9. * <h2><center>&copy; Copyright (c) 2015 STMicroelectronics.
  10. * All rights reserved.</center></h2>
  11. *
  12. * This software component is licensed by ST under Ultimate Liberty license
  13. * SLA0044, the "License"; You may not use this file except in compliance with
  14. * the License. You may obtain a copy of the License at:
  15. * http://www.st.com/SLA0044
  16. *
  17. ******************************************************************************
  18. */
  19. /* Define to prevent recursive inclusion -------------------------------------*/
  20. #ifndef __USB_REQUEST_H
  21. #define __USB_REQUEST_H
  22. #ifdef __cplusplus
  23. extern "C" {
  24. #endif
  25. /* Includes ------------------------------------------------------------------*/
  26. #include "usbd_def.h"
  27. /** @addtogroup STM32_USB_DEVICE_LIBRARY
  28. * @{
  29. */
  30. /** @defgroup USBD_REQ
  31. * @brief header file for the usbd_req.c file
  32. * @{
  33. */
  34. /** @defgroup USBD_REQ_Exported_Defines
  35. * @{
  36. */
  37. /**
  38. * @}
  39. */
  40. /** @defgroup USBD_REQ_Exported_Types
  41. * @{
  42. */
  43. /**
  44. * @}
  45. */
  46. /** @defgroup USBD_REQ_Exported_Macros
  47. * @{
  48. */
  49. /**
  50. * @}
  51. */
  52. /** @defgroup USBD_REQ_Exported_Variables
  53. * @{
  54. */
  55. /**
  56. * @}
  57. */
  58. /** @defgroup USBD_REQ_Exported_FunctionsPrototype
  59. * @{
  60. */
  61. USBD_StatusTypeDef USBD_StdDevReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
  62. USBD_StatusTypeDef USBD_StdItfReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
  63. USBD_StatusTypeDef USBD_StdEPReq (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
  64. void USBD_CtlError (USBD_HandleTypeDef *pdev, USBD_SetupReqTypedef *req);
  65. void USBD_ParseSetupRequest (USBD_SetupReqTypedef *req, uint8_t *pdata);
  66. void USBD_GetString (uint8_t *desc, uint8_t *unicode, uint16_t *len);
  67. /**
  68. * @}
  69. */
  70. #ifdef __cplusplus
  71. }
  72. #endif
  73. #endif /* __USB_REQUEST_H */
  74. /**
  75. * @}
  76. */
  77. /**
  78. * @}
  79. */
  80. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/