Prusa MINI Firmware overview
|
◆ USBD_CDC_RegisterInterface()
USBD_CDC_RegisterInterface.
- Parameters
-
pdev | device instance |
fops | CD Interface callback |
- Return values
-
◆ USBD_CDC_SetTxBuffer()
USBD_CDC_SetTxBuffer.
- Parameters
-
pdev | device instance |
pbuff | Tx Buffer |
- Return values
-
◆ USBD_CDC_SetRxBuffer()
USBD_CDC_SetRxBuffer.
- Parameters
-
pdev | device instance |
pbuff | Rx Buffer |
- Return values
-
◆ USBD_CDC_ReceivePacket()
USBD_CDC_ReceivePacket prepare OUT Endpoint for reception.
- Parameters
-
- Return values
-
◆ USBD_CDC_TransmitPacket()
USBD_CDC_DataOut Data received on non-control Out endpoint.
- Parameters
-
pdev | device instance |
epnum | endpoint number |
- Return values
-
uint8_t * RxBuffer
Definition: usbd_cdc.h:116
Definition: usbd_def.h:197
void * pClassData
Definition: usbd_def.h:246
#define NULL
Definition: usbd_def.h:53
#define CDC_IN_EP
Definition: usbd_cdc.h:52
__IO uint32_t TxState
Definition: usbd_cdc.h:121
USBD_StatusTypeDef USBD_LL_Transmit(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint16_t size)
Transmits data over an endpoint.
Definition: usbd_conf.c:630
Definition: usbd_def.h:196
Definition: usbd_def.h:188
Definition: usbd_cdc.h:111
const uint8_t[]
Definition: 404_html.c:3
#define CDC_DATA_FS_OUT_PACKET_SIZE
Definition: usbd_cdc.h:66
USBD_SpeedTypeDef dev_speed
Definition: usbd_def.h:231
USBD_StatusTypeDef USBD_LL_PrepareReceive(USBD_HandleTypeDef *pdev, uint8_t ep_addr, uint8_t *pbuf, uint16_t size)
Prepares an endpoint for reception.
Definition: usbd_conf.c:664
uint8_t * TxBuffer
Definition: usbd_cdc.h:117
void * pUserData
Definition: usbd_def.h:247
#define CDC_OUT_EP
Definition: usbd_cdc.h:53
png_uint_32 length
Definition: png.c:2247
uint32_t TxLength
Definition: usbd_cdc.h:119
Definition: usbd_def.h:195
#define CDC_DATA_HS_OUT_PACKET_SIZE
Definition: usbd_cdc.h:63