|
void | Error_Handler (void) |
| This function is executed in case of error occurrence. More...
|
|
void | HAL_HCD_MspInit (HCD_HandleTypeDef *hcdHandle) |
|
void | HAL_HCD_MspDeInit (HCD_HandleTypeDef *hcdHandle) |
|
void | HAL_HCD_SOF_Callback (HCD_HandleTypeDef *hhcd) |
| SOF callback. More...
|
|
void | HAL_HCD_Connect_Callback (HCD_HandleTypeDef *hhcd) |
| SOF callback. More...
|
|
void | HAL_HCD_Disconnect_Callback (HCD_HandleTypeDef *hhcd) |
| SOF callback. More...
|
|
void | HAL_HCD_HC_NotifyURBChange_Callback (HCD_HandleTypeDef *hhcd, uint8_t chnum, HCD_URBStateTypeDef urb_state) |
| Notify URB state change callback. More...
|
|
USBH_StatusTypeDef | USBH_LL_Init (USBH_HandleTypeDef *phost) |
| Initialize the low level portion of the host driver. More...
|
|
USBH_StatusTypeDef | USBH_LL_DeInit (USBH_HandleTypeDef *phost) |
| De-Initialize the low level portion of the host driver. More...
|
|
USBH_StatusTypeDef | USBH_LL_Start (USBH_HandleTypeDef *phost) |
| Start the low level portion of the host driver. More...
|
|
USBH_StatusTypeDef | USBH_LL_Stop (USBH_HandleTypeDef *phost) |
| Stop the low level portion of the host driver. More...
|
|
USBH_SpeedTypeDef | USBH_LL_GetSpeed (USBH_HandleTypeDef *phost) |
| Return the USB host speed from the low level driver. More...
|
|
USBH_StatusTypeDef | USBH_LL_ResetPort (USBH_HandleTypeDef *phost) |
| Reset the Host port of the low level driver. More...
|
|
uint32_t | USBH_LL_GetLastXferSize (USBH_HandleTypeDef *phost, uint8_t pipe) |
| Return the last transfered packet size. More...
|
|
USBH_StatusTypeDef | USBH_LL_OpenPipe (USBH_HandleTypeDef *phost, uint8_t pipe_num, uint8_t epnum, uint8_t dev_address, uint8_t speed, uint8_t ep_type, uint16_t mps) |
| Open a pipe of the low level driver. More...
|
|
USBH_StatusTypeDef | USBH_LL_ClosePipe (USBH_HandleTypeDef *phost, uint8_t pipe) |
| Close a pipe of the low level driver. More...
|
|
USBH_StatusTypeDef | USBH_LL_SubmitURB (USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t direction, uint8_t ep_type, uint8_t token, uint8_t *pbuff, uint16_t length, uint8_t do_ping) |
| Submit a new URB to the low level driver. More...
|
|
USBH_URBStateTypeDef | USBH_LL_GetURBState (USBH_HandleTypeDef *phost, uint8_t pipe) |
| Get a URB state from the low level driver. More...
|
|
USBH_StatusTypeDef | USBH_LL_DriverVBUS (USBH_HandleTypeDef *phost, uint8_t state) |
| Drive VBUS. More...
|
|
USBH_StatusTypeDef | USBH_LL_SetToggle (USBH_HandleTypeDef *phost, uint8_t pipe, uint8_t toggle) |
| Set toggle for a pipe. More...
|
|
uint8_t | USBH_LL_GetToggle (USBH_HandleTypeDef *phost, uint8_t pipe) |
| Return the current toggle of a pipe. More...
|
|
void | USBH_Delay (uint32_t Delay) |
| Delay routine for the USB Host Library. More...
|
|
: This file implements the board support package for the USB host library
- Version
- : v1.0_Cube This notice applies to any and all portions of this file that are not between comment pairs USER CODE BEGIN and USER CODE END. Other portions of this file, whether inserted by the user or by software development tools are owned by their respective copyright owners.
Copyright (c) 2019 STMicroelectronics International N.V. All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted, provided that the following conditions are met:
- Redistribution of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of STMicroelectronics nor the names of other contributors to this software may be used to endorse or promote products derived from this software without specific written permission.
- This software, including modifications and/or derivative works of this software, must execute solely and exclusively on microcontroller or microprocessor devices manufactured by or for STMicroelectronics.
- Redistribution and use of this software other than as permitted under this license is void and will automatically terminate your rights under this license.
THIS SOFTWARE IS PROVIDED BY STMICROELECTRONICS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS, IMPLIED OR STATUTORY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT OF THIRD PARTY INTELLECTUAL PROPERTY RIGHTS ARE DISCLAIMED TO THE FULLEST EXTENT PERMITTED BY LAW. IN NO EVENT SHALL STMICROELECTRONICS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.