Prusa MINI Firmware overview
|
Header file for usbd_core.c file. More...
Go to the source code of this file.
Macros | |
#define | USBD_SOF USBD_LL_SOF |
Functions | |
USBD_StatusTypeDef | USBD_Init (USBD_HandleTypeDef *pdev, USBD_DescriptorsTypeDef *pdesc, uint8_t id) |
USBD_Init Initializes the device stack and load the class driver. More... | |
USBD_StatusTypeDef | USBD_DeInit (USBD_HandleTypeDef *pdev) |
USBD_DeInit Re-Initialize th device library. More... | |
USBD_StatusTypeDef | USBD_Start (USBD_HandleTypeDef *pdev) |
USBD_Start Start the USB Device Core. More... | |
USBD_StatusTypeDef | USBD_Stop (USBD_HandleTypeDef *pdev) |
USBD_Stop Stop the USB Device Core. More... | |
USBD_StatusTypeDef | USBD_RegisterClass (USBD_HandleTypeDef *pdev, USBD_ClassTypeDef *pclass) |
USBD_RegisterClass Link class driver to Device Core. More... | |
USBD_StatusTypeDef | USBD_RunTestMode (USBD_HandleTypeDef *pdev) |
USBD_RunTestMode Launch test mode process. More... | |
USBD_StatusTypeDef | USBD_SetClassConfig (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
USBD_SetClassConfig Configure device and start the interface. More... | |
USBD_StatusTypeDef | USBD_ClrClassConfig (USBD_HandleTypeDef *pdev, uint8_t cfgidx) |
USBD_ClrClassConfig Clear current configuration. More... | |
USBD_StatusTypeDef | USBD_LL_SetupStage (USBD_HandleTypeDef *pdev, uint8_t *psetup) |
USBD_SetupStage Handle the setup stage. More... | |
USBD_StatusTypeDef | USBD_LL_DataOutStage (USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata) |
USBD_DataOutStage Handle data OUT stage. More... | |
USBD_StatusTypeDef | USBD_LL_DataInStage (USBD_HandleTypeDef *pdev, uint8_t epnum, uint8_t *pdata) |
USBD_DataInStage Handle data in stage. More... | |
USBD_StatusTypeDef | USBD_LL_Reset (USBD_HandleTypeDef *pdev) |
USBD_LL_Reset Handle Reset event. More... | |
USBD_StatusTypeDef | USBD_LL_SetSpeed (USBD_HandleTypeDef *pdev, USBD_SpeedTypeDef speed) |
USBD_LL_Reset Handle Reset event. More... | |
USBD_StatusTypeDef | USBD_LL_Suspend (USBD_HandleTypeDef *pdev) |
USBD_Suspend Handle Suspend event. More... | |
USBD_StatusTypeDef | USBD_LL_Resume (USBD_HandleTypeDef *pdev) |
USBD_Resume Handle Resume event. More... | |
USBD_StatusTypeDef | USBD_LL_SOF (USBD_HandleTypeDef *pdev) |
USBD_SOF Handle SOF event. More... | |
USBD_StatusTypeDef | USBD_LL_IsoINIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) |
USBD_IsoINIncomplete Handle iso in incomplete event. More... | |
USBD_StatusTypeDef | USBD_LL_IsoOUTIncomplete (USBD_HandleTypeDef *pdev, uint8_t epnum) |
USBD_IsoOUTIncomplete Handle iso out incomplete event. More... | |
USBD_StatusTypeDef | USBD_LL_DevConnected (USBD_HandleTypeDef *pdev) |
USBD_DevConnected Handle device connection event. More... | |
USBD_StatusTypeDef | USBD_LL_DevDisconnected (USBD_HandleTypeDef *pdev) |
USBD_DevDisconnected Handle device disconnection event. More... | |
USBD_StatusTypeDef | USBD_LL_Init (USBD_HandleTypeDef *pdev) |
Initializes the low level portion of the device driver. More... | |
USBD_StatusTypeDef | USBD_LL_DeInit (USBD_HandleTypeDef *pdev) |
De-Initializes the low level portion of the device driver. More... | |
USBD_StatusTypeDef | USBD_LL_Start (USBD_HandleTypeDef *pdev) |
Starts the low level portion of the device driver. More... | |
USBD_StatusTypeDef | USBD_LL_Stop (USBD_HandleTypeDef *pdev) |
Stops the low level portion of the device driver. More... | |
USBD_StatusTypeDef | USBD_LL_OpenEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t ep_type, uint16_t ep_mps) |
Opens an endpoint of the low level driver. More... | |
USBD_StatusTypeDef | USBD_LL_CloseEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
Closes an endpoint of the low level driver. More... | |
USBD_StatusTypeDef | USBD_LL_FlushEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
Flushes an endpoint of the Low Level Driver. More... | |
USBD_StatusTypeDef | USBD_LL_StallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
Sets a Stall condition on an endpoint of the Low Level Driver. More... | |
USBD_StatusTypeDef | USBD_LL_ClearStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
Clears a Stall condition on an endpoint of the Low Level Driver. More... | |
uint8_t | USBD_LL_IsStallEP (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
Returns Stall condition. More... | |
USBD_StatusTypeDef | USBD_LL_SetUSBAddress (USBD_HandleTypeDef *pdev, uint8_t dev_addr) |
Assigns a USB address to the device. More... | |
USBD_StatusTypeDef | USBD_LL_Transmit (USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint16_t size) |
Transmits data over an endpoint. More... | |
USBD_StatusTypeDef | USBD_LL_PrepareReceive (USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint16_t size) |
Prepares an endpoint for reception. More... | |
uint32_t | USBD_LL_GetRxDataSize (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
Returns the last transfered packet size. More... | |
void | USBD_LL_Delay (uint32_t Delay) |
Delays routine for the USB Device Library. More... | |
Header file for usbd_core.c file.
Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:
http://www.st.com/software_license_agreement_liberty_v2
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.