usbdev_mock Struct Reference

usbdev mock device More...

Detailed Description

usbdev mock device

Definition at line 84 of file usbdev_mock.h.

#include <usbdev_mock.h>

Data Fields

usbdev_t usbdev
 Generic usbdev device

 
usbdev_mock_ep_t in [USBDEV_MOCK_NUM_EP]
 IN endpoints

 
usbdev_mock_ep_t out [USBDEV_MOCK_NUM_EP]
 OUT endpoints

 
uint8_t config_addr
 Configured address

 
size_t req_len
 Length of the current request

 
usbdev_mock_esr_cb_t esr_cb
 ESR callback for validation

 
usbdev_mock_ep_esr_cb_t ep_esr_cb
 Endpoint ESR cb for validation

 
usbdev_mock_ready_cb_t ready_cb
 Endpoint ready cb for validation

 

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