Function usb_cdc_write(const uint8_t *, size_t)

Function Documentation

size_t usb_cdc_write(const uint8_t *data, size_t len)

Queue bytes for transmission to the host over the CDC endpoint.

매개변수:
  • data[in] Pointer to the data buffer to send.

  • len[in] Number of bytes to send from the data buffer.

반환:

Number of bytes successfully queued for transmission.