![]() |
M480 BSP V3.05.005
The Board Support Package for M480 Series
|
M480 MCU USB Host CDC library core. More...
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include "NuMicro.h"
#include "usb.h"
#include "usbh_lib.h"
#include "usbh_cdc.h"
Go to the source code of this file.
Functions | |
int32_t | usbh_cdc_get_line_coding (CDC_DEV_T *cdev, LINE_CODING_T *line_code) |
GET_LINE_CODING request. More... | |
int32_t | usbh_cdc_set_line_coding (CDC_DEV_T *cdev, LINE_CODING_T *line_code) |
SET_LINE_CODING request. More... | |
HIDDEN_SYMBOLS int32_t | usbh_cdc_set_control_line_state (CDC_DEV_T *cdev, int active_carrier, int DTE_present) |
SET_CONTROL_LINE_STATE request. More... | |
int32_t | usbh_cdc_start_polling_status (CDC_DEV_T *cdev, CDC_CB_FUNC *func) |
Start purge the CDC device's interrupt-in transfer pipe. More... | |
int32_t | usbh_cdc_start_to_receive_data (CDC_DEV_T *cdev, CDC_CB_FUNC *func) |
Make CDC device start to receive data from bulk-in transfer pipe. More... | |
int32_t | usbh_cdc_send_data (CDC_DEV_T *cdev, uint8_t *buff, int buff_len) |
Send a block of data via CDC device's bulk-out transfer pipe. More... | |
M480 MCU USB Host CDC library core.
SPDX-License-Identifier: Apache-2.0
Definition in file cdc_core.c.