main_ubi_sdk v 0.1.3
This is UBI4 documentation
usb_cdc_port.h
Go to the documentation of this file.
1/*
2 ******************************************************************************
3 * @file usb_cdc_port.h
4 * @author A.Alborov
5 ******************************************************************************
6*/
7
8#ifndef MAIN_LIB_USB_CDC_PORT_H_
9#define MAIN_LIB_USB_CDC_PORT_H_
10
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16
17#include "UBI_SDK.h"
18
19#ifdef UBI_SDK_TARGET_STM32
20#ifdef USB_PORT_EN
21#include "stdint.h"
22
23void usb_cdc_initialize_port();
24void usb_cdc_port_write(uint8_t *buf, uint16_t size);
25
26#endif
27#endif
28
29#ifdef __cplusplus
30}
31#endif
32
33#endif /* MAIN_LIB_USB_CDC_PORT_H_ */