Implement a secure ICS protocol targeting LoRa Node151 microcontroller for controlling irrigation.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

107 lines
2.4 KiB

  1. /* USER CODE BEGIN Header */
  2. /**
  3. ******************************************************************************
  4. * @file : usb_device.h
  5. * @version : v2.0_Cube
  6. * @brief : Header for usb_device.c file.
  7. ******************************************************************************
  8. * @attention
  9. *
  10. * <h2><center>&copy; Copyright (c) 2020 STMicroelectronics.
  11. * All rights reserved.</center></h2>
  12. *
  13. * This software component is licensed by ST under Ultimate Liberty license
  14. * SLA0044, the "License"; You may not use this file except in compliance with
  15. * the License. You may obtain a copy of the License at:
  16. * www.st.com/SLA0044
  17. *
  18. ******************************************************************************
  19. */
  20. /* USER CODE END Header */
  21. /* Define to prevent recursive inclusion -------------------------------------*/
  22. #ifndef __USB_DEVICE__H__
  23. #define __USB_DEVICE__H__
  24. #ifdef __cplusplus
  25. extern "C" {
  26. #endif
  27. /* Includes ------------------------------------------------------------------*/
  28. #include "usb_common_inc.h"
  29. #include "usbd_def.h"
  30. /* USER CODE BEGIN INCLUDE */
  31. extern USBD_HandleTypeDef hUsbDeviceFS;
  32. /* USER CODE END INCLUDE */
  33. /** @addtogroup USBD_OTG_DRIVER
  34. * @{
  35. */
  36. /** @defgroup USBD_DEVICE USBD_DEVICE
  37. * @brief Device file for Usb otg low level driver.
  38. * @{
  39. */
  40. /** @defgroup USBD_DEVICE_Exported_Variables USBD_DEVICE_Exported_Variables
  41. * @brief Public variables.
  42. * @{
  43. */
  44. /* Private variables ---------------------------------------------------------*/
  45. /* USER CODE BEGIN PV */
  46. /* USER CODE END PV */
  47. /* Private function prototypes -----------------------------------------------*/
  48. /* USER CODE BEGIN PFP */
  49. /* USER CODE END PFP */
  50. /*
  51. * -- Insert your variables declaration here --
  52. */
  53. /* USER CODE BEGIN VARIABLES */
  54. /* USER CODE END VARIABLES */
  55. /**
  56. * @}
  57. */
  58. /** @defgroup USBD_DEVICE_Exported_FunctionsPrototype USBD_DEVICE_Exported_FunctionsPrototype
  59. * @brief Declaration of public functions for Usb device.
  60. * @{
  61. */
  62. /** USB Device initialization function. */
  63. void MX_USB_DEVICE_Init(void);
  64. /*
  65. * -- Insert functions declaration here --
  66. */
  67. /* USER CODE BEGIN FD */
  68. /* USER CODE END FD */
  69. /**
  70. * @}
  71. */
  72. /**
  73. * @}
  74. */
  75. /**
  76. * @}
  77. */
  78. #ifdef __cplusplus
  79. }
  80. #endif
  81. #endif /* __USB_DEVICE__H__ */
  82. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/