Lines Matching +full:remote +full:- +full:endpoint

1 /* SPDX-License-Identifier: BSD-3-Clause */
101 * @brief Callback function signature for the USB Endpoint status
127 * @brief USB Endpoint Configuration
129 * This structure contains configuration for the endpoint.
141 * IN EP = 0x80 | \<endpoint number\>
142 * OUT EP = 0x00 | \<endpoint number\>
161 * return 0 on success, -EINVAL if the request has not been handled by
196 * Pointer to an array of endpoint structs of length equal to the
200 struct usb_ep_cfg_data *endpoint; member
231 * Class-specific initialization and registration must be performed by the user
254 * @brief Write data to the specified endpoint
256 * Function to write data to the specified endpoint. The supplied
259 * @param[in] ep Endpoint address corresponding to the one listed in the
272 * @brief Read data from the specified endpoint
274 * This function is called by the Endpoint handler function, after an
278 * @param[in] ep Endpoint address corresponding to the one listed in
291 * @brief Set STALL condition on the specified endpoint
294 * condition on endpoint.
296 * @param[in] ep Endpoint address corresponding to the one listed in
304 * @brief Clears STALL condition on the specified endpoint
307 * condition on endpoint.
309 * @param[in] ep Endpoint address corresponding to the one listed in
317 * @brief Read data from the specified endpoint
320 * clear the endpoint NAKs so that the consumer is not bogged down by further
324 * @param[in] ep Endpoint address corresponding to the one
339 * @brief Continue reading data from the endpoint
341 * Clear the endpoint NAK and enable the endpoint to accept more data
346 * @param[in] ep Endpoint address corresponding to the one
361 #define USB_TRANS_NO_ZLP BIT(2) /** No zero-length packet flag */
364 * @brief Transfer management endpoint callback
366 * If a USB class driver wants to use high-level transfer functions, driver
367 * needs to register this callback as usb endpoint callback.
378 * @param[in] ep Endpoint address corresponding to the one
380 * @param[in] data Pointer to data buffer to write-to/read-from
392 * @brief Start a transfer and block-wait for completion
397 * endpoint is not ready. This is due to the design of transfers and usb_dc API.
399 * @param[in] ep Endpoint address corresponding to the one
401 * @param[in] data Pointer to data buffer to write-to/read-from
410 * @brief Cancel any ongoing transfer on the specified endpoint
412 * @param[in] ep Endpoint address corresponding to the one
423 * @brief Check that transfer is ongoing for the endpoint
425 * @param[in] ep Endpoint address corresponding to the one
433 * @brief Start the USB remote wakeup procedure
435 * Function to request a remote wakeup.
437 * it will always return -ENOTSUP error.
445 * @brief Get status of the USB remote wakeup feature
447 * @return true if remote wakeup has been enabled by the host, false otherwise.