Extensions for USB VCP.
- Author
- SMFSW
- Copyright
- MIT (c) 2017-2024, SMFSW
static int8_t CDC_Control_FS(uint8_t cmd, uint8_t* pbuf, uint16_t length)
{
switch(cmd)
{
...
case CDC_SET_LINE_CODING:
break;
case CDC_GET_LINE_CODING:
break;
case CDC_SET_CONTROL_LINE_STATE:
break;
...
}
}
void CDC_Control_Get_Line_Coding(uint8_t *const pbuf)
CDC Get Line Coding message handler.
Definition USB_CDC_IF_ex.c:91
FctERR CDC_Control_Set_Line_State(const uint8_t *const pbuf)
CDC Set Line State message handler.
Definition USB_CDC_IF_ex.c:82
void CDC_Control_Set_Line_Coding(const uint8_t *const pbuf)
CDC Set Line Coding message handler.
Definition USB_CDC_IF_ex.c:87
- Note
- Define USE_USB_CDC_IF_EX symbol at project level to use CDC_IF_ex functionalities