co_usb
Loading...
Searching...
No Matches
Public Member Functions | List of all members
co_usb::isochronous_transfer< Dir > Struct Template Reference

Transfer type for isochronous transfers. More...

#include <transfer_types.hpp>

Inheritance diagram for co_usb::isochronous_transfer< Dir >:
Inheritance graph
[legend]
Collaboration diagram for co_usb::isochronous_transfer< Dir >:
Collaboration graph
[legend]

Public Member Functions

 isochronous_transfer (endpoint< Dir > ep, int iso_num, std::chrono::milliseconds timeout_ms=std::chrono::milliseconds{0})
 
- Public Member Functions inherited from co_usb::basic_transfer< endpoint_type::isochronous, Dir >
 basic_transfer (int iso_packets=0)
 
consteval ep_direction direction () const noexcept
 
constexpr endpoint_type ep_type () const noexcept
 
auto raw () const noexcept
 
boost::capy::io_task< size_tread_some (boost::capy::mutable_buffer buf)
 Partial read from an endpoint.
 
boost::capy::io_task< size_twrite_some (boost::capy::const_buffer buf)
 Partial write to an endpoint.
 

Additional Inherited Members

- Protected Attributes inherited from co_usb::basic_transfer< endpoint_type::isochronous, Dir >
unique_transfer m_tfer
 

Detailed Description

template<ep_direction Dir>
requires (Dir != ep_direction::both)
struct co_usb::isochronous_transfer< Dir >

Transfer type for isochronous transfers.

Constructor & Destructor Documentation

◆ isochronous_transfer()

template<ep_direction Dir>
co_usb::isochronous_transfer< Dir >::isochronous_transfer ( endpoint< Dir ep,
int  iso_num,
std::chrono::milliseconds  timeout_ms = std::chrono::milliseconds{0} 
)
inlineexplicit

The documentation for this struct was generated from the following file: