|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| uint8_t | USBD_CDC_RegisterInterface (USBD_HandleTypeDef *pdev, USBD_CDC_ItfTypeDef *fops) |
| USBD_CDC_RegisterInterface. | |
| uint8_t | USBD_CDC_SetTxBuffer (USBD_HandleTypeDef *pdev, uint8_t *pbuff, uint32_t length) |
| USBD_CDC_SetTxBuffer. | |
| uint8_t | USBD_CDC_TransmitPacket (USBD_HandleTypeDef *pdev) |
| USBD_CDC_TransmitPacket Transmit packet on IN endpoint. | |
| uint8_t | USBD_CDC_SetRxBuffer (USBD_HandleTypeDef *pdev, uint8_t *pbuff) |
| USBD_CDC_SetRxBuffer. | |
| uint8_t | USBD_CDC_ReceivePacket (USBD_HandleTypeDef *pdev) |
| USBD_CDC_ReceivePacket prepare OUT Endpoint for reception. | |
| uint8_t USBD_CDC_ReceivePacket | ( | USBD_HandleTypeDef * | pdev | ) |
USBD_CDC_ReceivePacket prepare OUT Endpoint for reception.
| pdev | device instance |
| status |
Definition at line 856 of file usbd_cdc.c.
References CDC_DATA_FS_OUT_PACKET_SIZE, CDC_DATA_HS_OUT_PACKET_SIZE, CDCOutEpAdd, _USBD_HandleTypeDef::classId, _USBD_HandleTypeDef::dev_speed, NULL, _USBD_HandleTypeDef::pClassDataCmsit, USBD_CDC_HandleTypeDef::RxBuffer, USBD_EP_TYPE_BULK, USBD_FAIL, USBD_LL_PrepareReceive(), USBD_OK, and USBD_SPEED_HIGH.
Referenced by CDC_Receive_HS().
| uint8_t USBD_CDC_RegisterInterface | ( | USBD_HandleTypeDef * | pdev, |
| USBD_CDC_ItfTypeDef * | fops ) |
USBD_CDC_RegisterInterface.
| pdev | device instance |
| fops | CD Interface callback |
| status |
Definition at line 738 of file usbd_cdc.c.
References _USBD_HandleTypeDef::classId, NULL, _USBD_HandleTypeDef::pUserData, USBD_FAIL, and USBD_OK.
Referenced by MX_USB_DEVICE_Init().
| uint8_t USBD_CDC_SetRxBuffer | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t * | pbuff ) |
USBD_CDC_SetRxBuffer.
| pdev | device instance |
| pbuff | Rx Buffer |
| status |
Definition at line 789 of file usbd_cdc.c.
References _USBD_HandleTypeDef::classId, NULL, _USBD_HandleTypeDef::pClassDataCmsit, USBD_CDC_HandleTypeDef::RxBuffer, USBD_FAIL, and USBD_OK.
Referenced by CDC_Init_HS(), and CDC_Receive_HS().
| uint8_t USBD_CDC_SetTxBuffer | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t * | pbuff, | ||
| uint32_t | length ) |
USBD_CDC_SetTxBuffer.
| pdev | device instance |
| pbuff | Tx Buffer |
| length | length of data to be sent |
| ClassId | The Class ID |
| status |
Definition at line 766 of file usbd_cdc.c.
References _USBD_HandleTypeDef::classId, NULL, _USBD_HandleTypeDef::pClassDataCmsit, USBD_CDC_HandleTypeDef::TxBuffer, USBD_CDC_HandleTypeDef::TxLength, USBD_FAIL, and USBD_OK.
Referenced by CDC_Init_HS(), and CDC_Transmit_HS().
| uint8_t USBD_CDC_TransmitPacket | ( | USBD_HandleTypeDef * | pdev | ) |
USBD_CDC_TransmitPacket Transmit packet on IN endpoint.
| pdev | device instance |
| ClassId | The Class ID |
| status |
Definition at line 816 of file usbd_cdc.c.
References CDCInEpAdd, _USBD_HandleTypeDef::classId, _USBD_HandleTypeDef::ep_in, NULL, _USBD_HandleTypeDef::pClassDataCmsit, USBD_EndpointTypeDef::total_length, USBD_CDC_HandleTypeDef::TxBuffer, USBD_CDC_HandleTypeDef::TxLength, USBD_CDC_HandleTypeDef::TxState, USBD_BUSY, USBD_EP_TYPE_BULK, USBD_FAIL, USBD_LL_Transmit(), and USBD_OK.
Referenced by CDC_Transmit_HS().