EFR32 Mighty Gecko 1 Software Documentation  efr32mg1-doc-5.1.2
cdc.h
Go to the documentation of this file.
1 /***************************************************************************/
15 #ifndef __CDC_H
16 #define __CDC_H
17 
18 /***************************************************************************/
23 /***************************************************************************/
28 #ifdef __cplusplus
29 extern "C" {
30 #endif
31 
32 void CDC_Init( void );
33 int CDC_SetupCmd(const USB_Setup_TypeDef *setup);
34 void CDC_StateChangeEvent( USBD_State_TypeDef oldState,
35  USBD_State_TypeDef newState);
36 
37 #ifdef __cplusplus
38 }
39 #endif
40 
44 #endif /* __CDC_H */
void CDC_Init(void)
CDC device initialization.
Definition: cdc.c:167
void CDC_StateChangeEvent(USBD_State_TypeDef oldState, USBD_State_TypeDef newState)
Callback function called each time the USB device state is changed. Starts CDC operation when device ...
Definition: cdc.c:241
int CDC_SetupCmd(const USB_Setup_TypeDef *setup)
Handle USB setup commands. Implements CDC class specific commands.
Definition: cdc.c:183