STM/STM32_LIBRARIES/tm_stm32_usb_device_cdc.c
static TM_BUFFER_t* TM_USBD_CDC_INT_GetTXBuffer(TM_USB_t USB_Mode) {
	TM_BUFFER_t* Buffer = 0;
	
#ifdef USB_USE_FS
	if (USB_Mode == TM_USB_FS) {
		Buffer = &USBD_CDC_Buffer_FS_TX;
	}
#endif
#ifdef USB_USE_HS
	if (USB_Mode == TM_USB_HS) {
		Buffer = &USBD_CDC_Buffer_HS_TX;
	}
#endif

	/* Return pointer */
	return Buffer;
}
/* Returns pointer to TX buffer for USB */
Returns pointer to TX buffer for USB
Returns pointer to TX buffer for USB
static TM_BUFFER_t* TM_USBD_CDC_INT_GetTXBuffer(TM_USB_t USB_Mode) {
	TM_BUFFER_t* Buffer = 0;
#ifdef USB_USE_FS
	if (USB_Mode == TM_USB_FS) {
		Buffer = &USBD_CDC_Buffer_FS_TX;
	}
#endif
#ifdef USB_USE_HS
	if (USB_Mode == TM_USB_HS) {
		Buffer = &USBD_CDC_Buffer_HS_TX;
	}
#endif
	return Buffer;
}
static TM_BUFFER_t * TM_USBD_CDC_INT_GetTXBuffer ( TM_USB_t USB_Mode ) { TM_BUFFER_t * Buffer = 0 ; #ifdef USB_USE_FS if ( USB_Mode == TM_USB_FS ) { Buffer = & USBD_CDC_Buffer_FS_TX ; } #endif #ifdef USB_USE_HS if ( USB_Mode == TM_USB_HS ) { Buffer = & USBD_CDC_Buffer_HS_TX ; } #endif return Buffer ; }
Returns pointer to TX buffer for USB
Returns pointer to TX buffer for USB
/* Return pointer */