KugleFirmware/Libraries/Periphirals/USBCDC/usbd_cdc_if.c
/* Private functions ---------------------------------------------------------*/
/**
  * @brief  Initializes the CDC media low layer over the FS USB IP
  * @retval USBD_OK if all operations are OK else USBD_FAIL
  */
Private functions
@brief  Initializes the CDC media low layer over the FS USB IP
@retval USBD_OK if all operations are OK else USBD_FAIL
Private functions @brief Initializes the CDC media low layer over the FS USB IP @retval USBD_OK if all operations are OK else USBD_FAIL
static int8_t CDC_Init_FS(void)
{
  CDC_EmptyReceiveBuffer();
  USBD_CDC_SetTxBuffer(hUsbDeviceFS, UserTxBufferFS, 0);
  USBD_CDC_SetRxBuffer(hUsbDeviceFS, UserRxBufferFS);
  Connected = 1;
  return (USBD_OK);
}
static int8_t CDC_Init_FS ( void ) { CDC_EmptyReceiveBuffer ( ) ; USBD_CDC_SetTxBuffer ( hUsbDeviceFS , UserTxBufferFS , 0 ) ; USBD_CDC_SetRxBuffer ( hUsbDeviceFS , UserRxBufferFS ) ; Connected = 1 ; return ( USBD_OK ) ; }
Private functions
 @brief  Initializes the CDC media low layer over the FS USB IP
 @retval USBD_OK if all operations are OK else USBD_FAIL
Private functions @brief Initializes the CDC media low layer over the FS USB IP @retval USBD_OK if all operations are OK else USBD_FAIL
/* USER CODE BEGIN 3 */ /* Set Application Buffers */ /* USER CODE END 3 */