art_pi_fw/src/hw/core/usb/usb_cdc/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)
{
  USBD_CDC_SetTxBuffer(&hUsbDeviceFS, UserTxBufferFS, 0);
  USBD_CDC_SetRxBuffer(&hUsbDeviceFS, UserRxBufferFS);
  is_opened = false;
  return (USBD_OK);
}
static int8_t CDC_Init_FS ( void ) { USBD_CDC_SetTxBuffer ( & hUsbDeviceFS , UserTxBufferFS , 0 ) ; USBD_CDC_SetRxBuffer ( & hUsbDeviceFS , UserRxBufferFS ) ; is_opened = false ; 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