X-Git-Url: http://git.code-monkey.de/?a=blobdiff_plain;ds=sidebyside;f=src%2Fcommon%2Fvirtual_com.h;h=895b4c38b572e89c94caf405cd2c4fa3eb778910;hb=206f765a129a285e5db70505d2c1154564046ac8;hp=37ea3051f8b82af85e79aaa7de3be94a8a52e56c;hpb=ce2821c45d209e454ae3249d0035f9921c11b6bc;p=gps-watch.git diff --git a/src/common/virtual_com.h b/src/common/virtual_com.h index 37ea305..895b4c3 100644 --- a/src/common/virtual_com.h +++ b/src/common/virtual_com.h @@ -136,40 +136,4 @@ usb_device_handle USB_VcomInit(void); */ void USB_VcomDeinit(usb_device_handle deviceHandle); -/*! - * @brief USB recive data from host using a blocking method. - * - * This function recives data from host by usb cdc protocol - * @param baseAddr pointer to USB device handle. - * @param buf pointer to the data. - * @param count size of the transfer. - * - * @return A USB error code or kStatus_USB_Success. - */ -status_t USB_VcomReadBlocking(usb_device_handle baseAddr, uint8_t *buf, size_t count); - -/*! - * @brief USB recive 'count' number of data from host using a blocking method. - * - * This function recives data from host by usb cdc protocol - * @param baseAddr pointer to USB device handle. - * @param buf pointer to the data. - * @param count size of the transfer. - * - * @return A USB error code or kStatus_USB_Success. - */ -status_t USB_VcomReadPolling(usb_device_handle baseAddr, uint8_t *buf, size_t count); - -/*! - * @brief USB send data to host using a blocking method. - * - * This function sends data to host by usb cdc protocol - * @param baseAddr pointer to USB device handle. - * @param buf pointer to the data. - * @param count size of the transfer. - * - * @return None. - */ -void USB_VcomWriteBlocking(usb_device_handle baseAddr, const uint8_t *buf, size_t count); - #endif /* _USB_CDC_VCOM_H_ */