|
dxd - dynax driver framework 3.0.2
cross platform open source driver development framework
|
#include <dxd_usb_platform_pipe.h>
Public Types | |
| enum | type { control = ::UsbdPipeTypeControl , isoc = ::UsbdPipeTypeIsochronous , bulk = ::UsbdPipeTypeBulk , interrupt = ::UsbdPipeTypeInterrupt } |
Public Member Functions | |
| os_result | abort() |
| WDK pipe abort. | |
| os_result | clear() |
| WDK pipe stall reset, toggle. | |
| direction | direction() const |
| os_result | max_frame_size(unsigned int frame_size) |
| os_result | open(const ::USBD_INTERFACE_INFORMATION* usbd_interface) |
| binds the pipe to the endpoint's pipe of the given interface setting: a re-selected alternate setting renews the handles | |
| operator ::USBD_PIPE_HANDLE() const | |
| int | outstanding() |
| pipe(const ::DEVICE_OBJECT* wdm_target, const decltype(dx::usb::descriptor::endpoint)* endpoint) | |
| WDK pipe constructor: the endpoint as its descriptor states it, without a handle - open() binds the one of the interface setting the bus carries. | |
| bool | poll(dx::usb::isoc::result& result) |
| collects the next completed isoc request in submission order, its frame descriptors updated; the context is free again | |
| os_result | receive(::MDL* mdl) |
| WDK: USB asynchronous irq/bulk receive request. | |
| os_result | receive(::MDL* mdl, uint64_t& sequence, isoc_frame* frame, unsigned int frames) |
| os_result | transmit(const ::MDL* mdl) |
| WDK: USB asynchronous irq/bulk transmit request. | |
| os_result | transmit(const ::MDL* mdl, uint64_t& sequence, isoc_frame* frame, unsigned int frames) |
| type | type() const |
| os_result | write(const ::MDL* mdl) const |
| WDK: USB synchronous isochronous write request. | |
| template<typename data_t> | |
| os_result | write(const data_t& data) const |
| os_result | write(const void* data, size_t size) const |
| virtual | ~pipe() |
Public Attributes | |
| unsigned char | address |
| unsigned short | frame_size{} |
| unsigned char | interval{1} |
| os_result | status{not_initialized} |
| WDK pipe status. | |
| enum dxd::usb::pipe::type |
|
inline |
WDK pipe constructor: the endpoint as its descriptor states it, without a handle - open() binds the one of the interface setting the bus carries.
|
inlinevirtual |
|
inline |
WDK pipe abort.
|
inline |
WDK pipe stall reset, toggle.
|
inline |
|
inline |
|
inline |
binds the pipe to the endpoint's pipe of the given interface setting: a re-selected alternate setting renews the handles
|
inline |
|
inline |
|
inline |
collects the next completed isoc request in submission order, its frame descriptors updated; the context is free again
|
inline |
WDK: USB asynchronous irq/bulk receive request.
|
inline |
| mdl | memory descriptor of the data to be read |
|
inline |
WDK: USB asynchronous irq/bulk transmit request.
|
inline |
| mdl | memory descriptor of the data to be written |
|
inline |
|
inline |
|
inline |
|
inline |
| unsigned char dxd::usb::pipe::address |
| unsigned short dxd::usb::pipe::frame_size{} |
| unsigned char dxd::usb::pipe::interval{1} |
| os_result dxd::usb::pipe::status{not_initialized} |
WDK pipe status.