1 /*---------------------------------------------------------------------------*\
2 
3   FILE........: stm32f4_usb_vcp.h
4   AUTHOR......: David Rowe
5   DATE CREATED: 4 Sep 2014
6 
7   USB Virtual COM Port (VCP) module.
8 
9 \*---------------------------------------------------------------------------*/
10 
11 #ifndef __STM32F4_USB_VCP__
12 #define __STM32F4_USB_VCP__
13 
14 #include <stdint.h>
15 
16 void usb_vcp_init(void);
17 
18 int VCP_get_char(uint8_t *buf);
19 int VCP_get_string(uint8_t *buf);
20 void VCP_put_char(uint8_t buf);
21 void VCP_send_str(uint8_t* buf);
22 void VCP_send_buffer(uint8_t* buf, int len);
23 
24 #endif
25