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.
 
 
 
 
 
 

108 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 "stm32l1xx.h"
  29. #include "stm32l1xx_hal.h"
  30. #include "usbd_def.h"
  31. /* USER CODE BEGIN INCLUDE */
  32. extern USBD_HandleTypeDef hUsbDeviceFS;
  33. /* USER CODE END INCLUDE */
  34. /** @addtogroup USBD_OTG_DRIVER
  35. * @{
  36. */
  37. /** @defgroup USBD_DEVICE USBD_DEVICE
  38. * @brief Device file for Usb otg low level driver.
  39. * @{
  40. */
  41. /** @defgroup USBD_DEVICE_Exported_Variables USBD_DEVICE_Exported_Variables
  42. * @brief Public variables.
  43. * @{
  44. */
  45. /* Private variables ---------------------------------------------------------*/
  46. /* USER CODE BEGIN PV */
  47. /* USER CODE END PV */
  48. /* Private function prototypes -----------------------------------------------*/
  49. /* USER CODE BEGIN PFP */
  50. /* USER CODE END PFP */
  51. /*
  52. * -- Insert your variables declaration here --
  53. */
  54. /* USER CODE BEGIN VARIABLES */
  55. /* USER CODE END VARIABLES */
  56. /**
  57. * @}
  58. */
  59. /** @defgroup USBD_DEVICE_Exported_FunctionsPrototype USBD_DEVICE_Exported_FunctionsPrototype
  60. * @brief Declaration of public functions for Usb device.
  61. * @{
  62. */
  63. /** USB Device initialization function. */
  64. void MX_USB_DEVICE_Init(void);
  65. /*
  66. * -- Insert functions declaration here --
  67. */
  68. /* USER CODE BEGIN FD */
  69. /* USER CODE END FD */
  70. /**
  71. * @}
  72. */
  73. /**
  74. * @}
  75. */
  76. /**
  77. * @}
  78. */
  79. #ifdef __cplusplus
  80. }
  81. #endif
  82. #endif /* __USB_DEVICE__H__ */
  83. /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/