28#ifndef CMSIS_PLUS_DRIVER_USBD_WRAPPER_H_
29#define CMSIS_PLUS_DRIVER_USBD_WRAPPER_H_
52#pragma GCC diagnostic push
53#pragma GCC diagnostic ignored "-Wpadded"
88 const usb::device::Capabilities&
100 virtual usb::device::Status&
112 virtual usb::frame_number_t
117 usb::Endpoint_type ep_type,
118 usb::packet_size_t ep_max_packet_size)
128 do_transfer (usb::endpoint_t ep_addr, uint8_t* data,
std::
size_t num)
163#pragma GCC diagnostic pop
USB device driver capabilities.
ARM_USBD_SignalDeviceEvent_t c_cb_device_func_
usb::device::Capabilities capa_
virtual return_t do_unconfigure_endpoint(usb::endpoint_t ep_addr) noexcept override
virtual ~usbd_wrapper() noexcept
usb::device::Status status_
usbd_wrapper & operator=(const usbd_wrapper &)=delete
virtual usb::device::Status & do_get_status(void) noexcept override
virtual return_t do_connect(void) noexcept override
ARM_DRIVER_USBD * driver_
Pointer to CMSIS USBD Keil driver.
const usb::device::Capabilities & do_get_capabilities(void) noexcept override
virtual usb::frame_number_t do_get_frame_number(void) noexcept override
usbd_wrapper(const usbd_wrapper &)=delete
virtual return_t do_disconnect(void) noexcept override
virtual return_t do_configure_address(usb::device_address_t dev_addr) noexcept override
virtual const Version & do_get_version(void) noexcept override
virtual return_t do_configure_endpoint(usb::endpoint_t ep_addr, usb::Endpoint_type ep_type, usb::packet_size_t ep_max_packet_size) noexcept override
ARM_USBD_SignalEndpointEvent_t c_cb_endpoint_func_
virtual return_t do_abort_transfer(usb::endpoint_t ep_addr) noexcept override
virtual std::size_t do_get_transfer_count(usb::endpoint_t ep_addr) noexcept override
virtual return_t do_transfer(usb::endpoint_t ep_addr, uint8_t *data, std::size_t num) noexcept override
virtual return_t do_power(Power state) noexcept override
virtual return_t do_stall_endpoint(usb::endpoint_t ep_addr, bool stall) noexcept override
virtual return_t do_wakeup_remote(void) noexcept override
virtual return_t do_read_setup_packet(uint8_t *buf) noexcept override
usbd_wrapper(usbd_wrapper &&)=delete
void(* ARM_USBD_SignalEndpointEvent_t)(uint8_t ep_addr, uint32_t event)
Pointer to endpoint event callback.
void(* ARM_USBD_SignalDeviceEvent_t)(uint32_t event)
Pointer to device event callback.
struct _ARM_DRIVER_USBD const ARM_DRIVER_USBD