Typedefs | Enumerations | Functions | Variables
usbd_cdc_vcp.h File Reference

Header for usbd_cdc_vcp.c file. More...

#include "stm32f4xx_conf.h"
#include "usbd_cdc_core.h"
#include "usbd_conf.h"
#include <stdint.h>
#include "usbd_core.h"
#include "usbd_usr.h"
#include "usbd_desc.h"
Include dependency graph for usbd_cdc_vcp.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Typedefs

typedef enum _DEVICE_STATE DEVICE_STATE
 

Enumerations

enum  _DEVICE_STATE {
  UNCONNECTED, ATTACHED, POWERED, SUSPENDED,
  ADDRESSED, CONFIGURED
}
 

Functions

struct __attribute__ ((packed))
 
uint32_t CDC_BaudRate (void)
 
uint32_t CDC_Receive_BytesAvailable (void)
 
uint32_t CDC_Receive_DATA (uint8_t *recvBuf, uint32_t len)
 
uint32_t CDC_Send_DATA (const uint8_t *ptrBuffer, uint32_t sendLength)
 
uint32_t CDC_Send_FreeBytes (void)
 
void CDC_SetBaudRateCb (void(*cb)(void *context, uint32_t baud), void *context)
 
void CDC_SetCtrlLineStateCb (void(*cb)(void *context, uint16_t ctrlLineState), void *context)
 
uint8_t usbIsConfigured (void)
 
uint8_t usbIsConnected (void)
 

Variables

__IO uint32_t bDeviceState
 
 LINE_CODING
 
USB_OTG_CORE_HANDLE USB_OTG_dev
 

Detailed Description

Header for usbd_cdc_vcp.c file.

Author
MCD Application Team
Version
V1.0.0
Date
22-July-2011
Attention

THE PRESENT FIRMWARE WHICH IS FOR GUIDANCE ONLY AIMS AT PROVIDING CUSTOMERS WITH CODING INFORMATION REGARDING THEIR PRODUCTS IN ORDER FOR THEM TO SAVE TIME. AS A RESULT, STMICROELECTRONICS SHALL NOT BE HELD LIABLE FOR ANY DIRECT, INDIRECT OR CONSEQUENTIAL DAMAGES WITH RESPECT TO ANY CLAIMS ARISING FROM THE CONTENT OF SUCH FIRMWARE AND/OR THE USE MADE BY CUSTOMERS OF THE CODING INFORMATION CONTAINED HEREIN IN CONNECTION WITH THEIR PRODUCTS.

© COPYRIGHT 2011 STMicroelectronics

Definition in file usbd_cdc_vcp.h.

Typedef Documentation

Enumeration Type Documentation

Enumerator
UNCONNECTED 
ATTACHED 
POWERED 
SUSPENDED 
ADDRESSED 
CONFIGURED 

Definition at line 53 of file usbd_cdc_vcp.h.

Function Documentation

struct __attribute__ ( (packed)  )

Definition at line 66 of file usbd_cdc_vcp.h.

uint32_t CDC_BaudRate ( void  )

Definition at line 313 of file usbd_cdc_vcp.c.

uint32_t CDC_Receive_BytesAvailable ( void  )

Definition at line 247 of file usbd_cdc_vcp.c.

uint32_t CDC_Receive_DATA ( uint8_t *  recvBuf,
uint32_t  len 
)

Definition at line 235 of file usbd_cdc_vcp.c.

uint32_t CDC_Send_DATA ( const uint8_t *  ptrBuffer,
uint32_t  sendLength 
)

Definition at line 181 of file usbd_cdc_vcp.c.

uint32_t CDC_Send_FreeBytes ( void  )

Definition at line 187 of file usbd_cdc_vcp.c.

void CDC_SetBaudRateCb ( void(*)(void *context, uint32_t baud)  cb,
void *  context 
)

Definition at line 325 of file usbd_cdc_vcp.c.

void CDC_SetCtrlLineStateCb ( void(*)(void *context, uint16_t ctrlLineState)  cb,
void *  context 
)

Definition at line 338 of file usbd_cdc_vcp.c.

uint8_t usbIsConfigured ( void  )

Definition at line 289 of file usbd_cdc_vcp.c.

uint8_t usbIsConnected ( void  )

Definition at line 301 of file usbd_cdc_vcp.c.

Variable Documentation

__IO uint32_t bDeviceState

Definition at line 37 of file usbd_cdc_vcp.c.

LINE_CODING

Definition at line 72 of file usbd_cdc_vcp.h.

USB_OTG_CORE_HANDLE USB_OTG_dev

Definition at line 34 of file usbd_cdc_vcp.c.



rosflight_firmware
Author(s): Daniel Koch , James Jackson
autogenerated on Wed Jul 3 2019 19:59:28