summaryrefslogtreecommitdiff
path: root/cdc-dials/Inc/usbd_cdc_interface.h
blob: 1e82c56c9a773f461433229dec9e5a1efff1281b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef __USBD_CDC_IF_H
#define __USBD_CDC_IF_H

#include "usbd_cdc.h"

#define APP_RX_DATA_SIZE  512
#define APP_TX_DATA_SIZE  512

uint8_t UserRxBuffer[APP_RX_DATA_SIZE];
uint8_t UserTxBuffer[APP_TX_DATA_SIZE];

#define CDC_POLLING_INTERVAL             10 /* in ms. The max is 65 and the min is 1 */

extern USBD_CDC_ItfTypeDef  USBD_CDC_fops;

#endif