|
STAR
Cal STAR — firmware, DAQ server, and engine design
|
Functions | |
| USBD_StatusTypeDef | USBD_CtlSendData (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len) |
| USBD_CtlSendData send data on the ctl pipe. | |
| USBD_StatusTypeDef | USBD_CtlContinueSendData (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len) |
| USBD_CtlContinueSendData continue sending data on the ctl pipe. | |
| USBD_StatusTypeDef | USBD_CtlPrepareRx (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len) |
| USBD_CtlPrepareRx receive data on the ctl pipe. | |
| USBD_StatusTypeDef | USBD_CtlContinueRx (USBD_HandleTypeDef *pdev, uint8_t *pbuf, uint32_t len) |
| USBD_CtlContinueRx continue receive data on the ctl pipe. | |
| USBD_StatusTypeDef | USBD_CtlSendStatus (USBD_HandleTypeDef *pdev) |
| USBD_CtlSendStatus send zero lzngth packet on the ctl pipe. | |
| USBD_StatusTypeDef | USBD_CtlReceiveStatus (USBD_HandleTypeDef *pdev) |
| USBD_CtlReceiveStatus receive zero lzngth packet on the ctl pipe. | |
| uint32_t | USBD_GetRxCount (USBD_HandleTypeDef *pdev, uint8_t ep_addr) |
| USBD_GetRxCount returns the received data length. | |
| USBD_StatusTypeDef USBD_CtlContinueRx | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t * | pbuf, | ||
| uint32_t | len ) |
USBD_CtlContinueRx continue receive data on the ctl pipe.
| pdev | device instance |
| buff | pointer to data buffer |
| len | length of data to be received |
| status |
Definition at line 159 of file usbd_ioreq.c.
References USBD_LL_PrepareReceive(), and USBD_OK.
Referenced by USBD_LL_DataOutStage().
| USBD_StatusTypeDef USBD_CtlContinueSendData | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t * | pbuf, | ||
| uint32_t | len ) |
USBD_CtlContinueSendData continue sending data on the ctl pipe.
| pdev | device instance |
| buff | pointer to data buffer |
| len | length of data to be sent |
| status |
Definition at line 114 of file usbd_ioreq.c.
References USBD_LL_Transmit(), and USBD_OK.
Referenced by USBD_LL_DataInStage().
| USBD_StatusTypeDef USBD_CtlPrepareRx | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t * | pbuf, | ||
| uint32_t | len ) |
USBD_CtlPrepareRx receive data on the ctl pipe.
| pdev | device instance |
| buff | pointer to data buffer |
| len | length of data to be received |
| status |
Definition at line 131 of file usbd_ioreq.c.
References _USBD_HandleTypeDef::ep0_state, _USBD_HandleTypeDef::ep_out, USBD_EndpointTypeDef::pbuffer, USBD_EndpointTypeDef::rem_length, USBD_EndpointTypeDef::total_length, USBD_EP0_DATA_OUT, USBD_LL_PrepareReceive(), and USBD_OK.
Referenced by USBD_CDC_Setup().
| USBD_StatusTypeDef USBD_CtlReceiveStatus | ( | USBD_HandleTypeDef * | pdev | ) |
USBD_CtlReceiveStatus receive zero lzngth packet on the ctl pipe.
| pdev | device instance |
| status |
Definition at line 190 of file usbd_ioreq.c.
References _USBD_HandleTypeDef::ep0_state, NULL, USBD_EP0_STATUS_OUT, USBD_LL_PrepareReceive(), and USBD_OK.
Referenced by USBD_LL_DataInStage().
| USBD_StatusTypeDef USBD_CtlSendData | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t * | pbuf, | ||
| uint32_t | len ) |
USBD_CtlSendData send data on the ctl pipe.
| pdev | device instance |
| buff | pointer to data buffer |
| len | length of data to be sent |
| status |
Definition at line 86 of file usbd_ioreq.c.
References _USBD_HandleTypeDef::ep0_state, _USBD_HandleTypeDef::ep_in, USBD_EndpointTypeDef::pbuffer, USBD_EndpointTypeDef::rem_length, USBD_EndpointTypeDef::total_length, USBD_EP0_DATA_IN, USBD_LL_Transmit(), and USBD_OK.
Referenced by USBD_CDC_Setup(), USBD_GetConfig(), USBD_GetDescriptor(), USBD_GetStatus(), and USBD_StdEPReq().
| USBD_StatusTypeDef USBD_CtlSendStatus | ( | USBD_HandleTypeDef * | pdev | ) |
USBD_CtlSendStatus send zero lzngth packet on the ctl pipe.
| pdev | device instance |
| status |
Definition at line 173 of file usbd_ioreq.c.
References _USBD_HandleTypeDef::ep0_state, NULL, USBD_EP0_STATUS_IN, USBD_LL_Transmit(), and USBD_OK.
Referenced by USBD_ClrFeature(), USBD_GetDescriptor(), USBD_LL_DataOutStage(), USBD_SetAddress(), USBD_SetConfig(), USBD_SetFeature(), USBD_StdEPReq(), and USBD_StdItfReq().
| uint32_t USBD_GetRxCount | ( | USBD_HandleTypeDef * | pdev, |
| uint8_t | ep_addr ) |
USBD_GetRxCount returns the received data length.
| pdev | device instance |
| ep_addr | endpoint address |
| Rx | Data blength |
Definition at line 208 of file usbd_ioreq.c.
References USBD_LL_GetRxDataSize().