IOTON boards API using mbed SDK - http://ioton.cc/plataforma-ton
Dependents: ton-bot_teste ton-bot_seguidor_linha ton-bot_seguidor_parede
Fork of IOTON-API by
usbd_ioreq.h@1:3a73d77c2cef, 2017-06-29 (annotated)
- Committer:
- krebyy
- Date:
- Thu Jun 29 20:11:00 2017 +0000
- Revision:
- 1:3a73d77c2cef
Update to TON Board V1.2
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
krebyy | 1:3a73d77c2cef | 1 | /** |
krebyy | 1:3a73d77c2cef | 2 | ****************************************************************************** |
krebyy | 1:3a73d77c2cef | 3 | * @file usbd_ioreq.h |
krebyy | 1:3a73d77c2cef | 4 | * @author MCD Application Team |
krebyy | 1:3a73d77c2cef | 5 | * @version V2.3.0 |
krebyy | 1:3a73d77c2cef | 6 | * @date 04-November-2014 |
krebyy | 1:3a73d77c2cef | 7 | * @brief Header file for the usbd_ioreq.c file |
krebyy | 1:3a73d77c2cef | 8 | ****************************************************************************** |
krebyy | 1:3a73d77c2cef | 9 | * @attention |
krebyy | 1:3a73d77c2cef | 10 | * |
krebyy | 1:3a73d77c2cef | 11 | * <h2><center>© COPYRIGHT 2014 STMicroelectronics</center></h2> |
krebyy | 1:3a73d77c2cef | 12 | * |
krebyy | 1:3a73d77c2cef | 13 | * Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); |
krebyy | 1:3a73d77c2cef | 14 | * You may not use this file except in compliance with the License. |
krebyy | 1:3a73d77c2cef | 15 | * You may obtain a copy of the License at: |
krebyy | 1:3a73d77c2cef | 16 | * |
krebyy | 1:3a73d77c2cef | 17 | * http://www.st.com/software_license_agreement_liberty_v2 |
krebyy | 1:3a73d77c2cef | 18 | * |
krebyy | 1:3a73d77c2cef | 19 | * Unless required by applicable law or agreed to in writing, software |
krebyy | 1:3a73d77c2cef | 20 | * distributed under the License is distributed on an "AS IS" BASIS, |
krebyy | 1:3a73d77c2cef | 21 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
krebyy | 1:3a73d77c2cef | 22 | * See the License for the specific language governing permissions and |
krebyy | 1:3a73d77c2cef | 23 | * limitations under the License. |
krebyy | 1:3a73d77c2cef | 24 | * |
krebyy | 1:3a73d77c2cef | 25 | ****************************************************************************** |
krebyy | 1:3a73d77c2cef | 26 | */ |
krebyy | 1:3a73d77c2cef | 27 | |
krebyy | 1:3a73d77c2cef | 28 | /* Define to prevent recursive inclusion -------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 29 | #ifndef __USBD_IOREQ_H |
krebyy | 1:3a73d77c2cef | 30 | #define __USBD_IOREQ_H |
krebyy | 1:3a73d77c2cef | 31 | |
krebyy | 1:3a73d77c2cef | 32 | #ifdef __cplusplus |
krebyy | 1:3a73d77c2cef | 33 | extern "C" { |
krebyy | 1:3a73d77c2cef | 34 | #endif |
krebyy | 1:3a73d77c2cef | 35 | |
krebyy | 1:3a73d77c2cef | 36 | /* Includes ------------------------------------------------------------------*/ |
krebyy | 1:3a73d77c2cef | 37 | #include "usbd_def.h" |
krebyy | 1:3a73d77c2cef | 38 | #include "usbd_core.h" |
krebyy | 1:3a73d77c2cef | 39 | |
krebyy | 1:3a73d77c2cef | 40 | /** @addtogroup STM32_USB_DEVICE_LIBRARY |
krebyy | 1:3a73d77c2cef | 41 | * @{ |
krebyy | 1:3a73d77c2cef | 42 | */ |
krebyy | 1:3a73d77c2cef | 43 | |
krebyy | 1:3a73d77c2cef | 44 | /** @defgroup USBD_IOREQ |
krebyy | 1:3a73d77c2cef | 45 | * @brief header file for the usbd_ioreq.c file |
krebyy | 1:3a73d77c2cef | 46 | * @{ |
krebyy | 1:3a73d77c2cef | 47 | */ |
krebyy | 1:3a73d77c2cef | 48 | |
krebyy | 1:3a73d77c2cef | 49 | /** @defgroup USBD_IOREQ_Exported_Defines |
krebyy | 1:3a73d77c2cef | 50 | * @{ |
krebyy | 1:3a73d77c2cef | 51 | */ |
krebyy | 1:3a73d77c2cef | 52 | /** |
krebyy | 1:3a73d77c2cef | 53 | * @} |
krebyy | 1:3a73d77c2cef | 54 | */ |
krebyy | 1:3a73d77c2cef | 55 | |
krebyy | 1:3a73d77c2cef | 56 | |
krebyy | 1:3a73d77c2cef | 57 | /** @defgroup USBD_IOREQ_Exported_Types |
krebyy | 1:3a73d77c2cef | 58 | * @{ |
krebyy | 1:3a73d77c2cef | 59 | */ |
krebyy | 1:3a73d77c2cef | 60 | |
krebyy | 1:3a73d77c2cef | 61 | |
krebyy | 1:3a73d77c2cef | 62 | /** |
krebyy | 1:3a73d77c2cef | 63 | * @} |
krebyy | 1:3a73d77c2cef | 64 | */ |
krebyy | 1:3a73d77c2cef | 65 | |
krebyy | 1:3a73d77c2cef | 66 | |
krebyy | 1:3a73d77c2cef | 67 | |
krebyy | 1:3a73d77c2cef | 68 | /** @defgroup USBD_IOREQ_Exported_Macros |
krebyy | 1:3a73d77c2cef | 69 | * @{ |
krebyy | 1:3a73d77c2cef | 70 | */ |
krebyy | 1:3a73d77c2cef | 71 | |
krebyy | 1:3a73d77c2cef | 72 | /** |
krebyy | 1:3a73d77c2cef | 73 | * @} |
krebyy | 1:3a73d77c2cef | 74 | */ |
krebyy | 1:3a73d77c2cef | 75 | |
krebyy | 1:3a73d77c2cef | 76 | /** @defgroup USBD_IOREQ_Exported_Variables |
krebyy | 1:3a73d77c2cef | 77 | * @{ |
krebyy | 1:3a73d77c2cef | 78 | */ |
krebyy | 1:3a73d77c2cef | 79 | |
krebyy | 1:3a73d77c2cef | 80 | /** |
krebyy | 1:3a73d77c2cef | 81 | * @} |
krebyy | 1:3a73d77c2cef | 82 | */ |
krebyy | 1:3a73d77c2cef | 83 | |
krebyy | 1:3a73d77c2cef | 84 | /** @defgroup USBD_IOREQ_Exported_FunctionsPrototype |
krebyy | 1:3a73d77c2cef | 85 | * @{ |
krebyy | 1:3a73d77c2cef | 86 | */ |
krebyy | 1:3a73d77c2cef | 87 | |
krebyy | 1:3a73d77c2cef | 88 | USBD_StatusTypeDef USBD_CtlSendData (USBD_HandleTypeDef *pdev, |
krebyy | 1:3a73d77c2cef | 89 | uint8_t *buf, |
krebyy | 1:3a73d77c2cef | 90 | uint16_t len); |
krebyy | 1:3a73d77c2cef | 91 | |
krebyy | 1:3a73d77c2cef | 92 | USBD_StatusTypeDef USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev, |
krebyy | 1:3a73d77c2cef | 93 | uint8_t *pbuf, |
krebyy | 1:3a73d77c2cef | 94 | uint16_t len); |
krebyy | 1:3a73d77c2cef | 95 | |
krebyy | 1:3a73d77c2cef | 96 | USBD_StatusTypeDef USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev, |
krebyy | 1:3a73d77c2cef | 97 | uint8_t *pbuf, |
krebyy | 1:3a73d77c2cef | 98 | uint16_t len); |
krebyy | 1:3a73d77c2cef | 99 | |
krebyy | 1:3a73d77c2cef | 100 | USBD_StatusTypeDef USBD_CtlContinueRx (USBD_HandleTypeDef *pdev, |
krebyy | 1:3a73d77c2cef | 101 | uint8_t *pbuf, |
krebyy | 1:3a73d77c2cef | 102 | uint16_t len); |
krebyy | 1:3a73d77c2cef | 103 | |
krebyy | 1:3a73d77c2cef | 104 | USBD_StatusTypeDef USBD_CtlSendStatus (USBD_HandleTypeDef *pdev); |
krebyy | 1:3a73d77c2cef | 105 | |
krebyy | 1:3a73d77c2cef | 106 | USBD_StatusTypeDef USBD_CtlReceiveStatus (USBD_HandleTypeDef *pdev); |
krebyy | 1:3a73d77c2cef | 107 | |
krebyy | 1:3a73d77c2cef | 108 | uint16_t USBD_GetRxCount (USBD_HandleTypeDef *pdev , |
krebyy | 1:3a73d77c2cef | 109 | uint8_t epnum); |
krebyy | 1:3a73d77c2cef | 110 | |
krebyy | 1:3a73d77c2cef | 111 | /** |
krebyy | 1:3a73d77c2cef | 112 | * @} |
krebyy | 1:3a73d77c2cef | 113 | */ |
krebyy | 1:3a73d77c2cef | 114 | |
krebyy | 1:3a73d77c2cef | 115 | #ifdef __cplusplus |
krebyy | 1:3a73d77c2cef | 116 | } |
krebyy | 1:3a73d77c2cef | 117 | #endif |
krebyy | 1:3a73d77c2cef | 118 | |
krebyy | 1:3a73d77c2cef | 119 | #endif /* __USBD_IOREQ_H */ |
krebyy | 1:3a73d77c2cef | 120 | |
krebyy | 1:3a73d77c2cef | 121 | /** |
krebyy | 1:3a73d77c2cef | 122 | * @} |
krebyy | 1:3a73d77c2cef | 123 | */ |
krebyy | 1:3a73d77c2cef | 124 | |
krebyy | 1:3a73d77c2cef | 125 | /** |
krebyy | 1:3a73d77c2cef | 126 | * @} |
krebyy | 1:3a73d77c2cef | 127 | */ |
krebyy | 1:3a73d77c2cef | 128 | /************************ (C) COPYRIGHT STMicroelectronics *****END OF FILE****/ |