28 #ifdef USB_OTG_HS_INTERNAL_DMA_ENABLED 29 #pragma data_alignment = 4 51 static uint16_t
TEMPLATE_Ctrl (uint32_t Cmd, uint8_t* Buf, uint32_t Len);
162 for (
i = 0;
i < Len;
i++)
199 for (i = 0; i < Len; i++)
static uint16_t TEMPLATE_Ctrl(uint32_t Cmd, uint8_t *Buf, uint32_t Len)
TEMPLATE_Ctrl Manage the CDC class requests.
static uint16_t TEMPLATE_DataTx(uint8_t *Buf, uint32_t Len)
TEMPLATE_DataTx CDC received data to be send over USB IN endpoint are managed in this function...
#define GET_ENCAPSULATED_RESPONSE
static uint16_t TEMPLATE_Init(void)
TEMPLATE_Init Initializes the CDC media low layer.
static uint16_t TEMPLATE_DataRx(uint8_t *Buf, uint32_t Len)
TEMPLATE_DataRx Data received over USB OUT endpoint are sent over CDC interface through this function...
static uint16_t TEMPLATE_DeInit(void)
TEMPLATE_DeInit DeInitializes the CDC media low layer.
Header for dfu_mal.c file.
#define SEND_ENCAPSULATED_COMMAND
#define CLEAR_COMM_FEATURE
CDC_IF_Prop_TypeDef TEMPLATE_fops
#define SET_CONTROL_LINE_STATE