tinyusb
|
Go to the source code of this file.
Functions | |
bool | tusbd_cdc_is_busy (uint8_t coreid, cdc_pipeid_t pipeid) ATTR_PURE ATTR_WARN_UNUSED_RESULT |
Check if the interface is currently busy or not. More... | |
tusb_error_t | tusbd_cdc_send (uint8_t coreid, void *p_data, uint32_t length, bool is_notify) |
Submit USB transfer. More... | |
tusb_error_t | tusbd_cdc_receive (uint8_t coreid, void *p_buffer, uint32_t length, bool is_notify) |
Submit USB transfer. More... | |
void | tusbd_cdc_mounted_cb (uint8_t coreid) |
void | tusbd_cdc_unmounted_cb (uint8_t coreid) |
void | tusbd_cdc_xfer_cb (uint8_t coreid, tusb_event_t event, cdc_pipeid_t pipe_id, uint32_t xferred_bytes) |
Callback function that is invoked when an completion (error or success) of an USB transfer previously submitted by application (e.g tusbd_cdc_send or tusbd_cdc_send) with is_notify set to true. More... | |
Software License Agreement (BSD License)
Copyright (c) 2013, hathach (tinyusb.org) All rights reserved.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
This file is part of the tinyusb stack.