LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
usbd_cdcuser.h File Reference
#include "error.h"
#include "usbd.h"
#include "usbd_cdc.h"

Go to the source code of this file.

Data Structures

struct  USBD_CDC_INIT_PARAM_T
 Communication Device Class function driver initilization parameter data structure. More...
 
struct  USBD_CDC_API_T
 CDC class API functions structure.This module exposes functions which interact directly with USB device controller hardware. More...
 

Macros

#define CDC_BUF_SIZE   (128) /* Output buffer in bytes (power 2) */
 
#define CDC_BUF_MASK   (CDC_BUF_SIZE-1ul)
 

Functions

void UsbdCdc_IO_Buffer_Sync_Task (void)
 
void UsbdCdc_SendData (uint8_t *buffer, uint32_t cnt)
 
uint32_t UsbdCdc_RecvData (uint8_t *buffer, uint32_t len)
 

Macro Definition Documentation

#define CDC_BUF_MASK   (CDC_BUF_SIZE-1ul)

Definition at line 58 of file usbd_cdcuser.h.

#define CDC_BUF_SIZE   (128) /* Output buffer in bytes (power 2) */

Definition at line 56 of file usbd_cdcuser.h.

Function Documentation

void UsbdCdc_IO_Buffer_Sync_Task ( void  )
uint32_t UsbdCdc_RecvData ( uint8_t *  buffer,
uint32_t  len 
)
void UsbdCdc_SendData ( uint8_t *  buffer,
uint32_t  cnt 
)