Loading...
Searching...
No Matches
usbdev_mock Struct Reference

usbdev mock device More...

Detailed Description

usbdev mock device

Definition at line 87 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

 

Field Documentation

◆ config_addr

uint8_t usbdev_mock::config_addr

Configured address

Definition at line 91 of file usbdev_mock.h.

◆ ep_esr_cb

usbdev_mock_ep_esr_cb_t usbdev_mock::ep_esr_cb

Endpoint ESR cb for validation

Definition at line 96 of file usbdev_mock.h.

◆ esr_cb

usbdev_mock_esr_cb_t usbdev_mock::esr_cb

ESR callback for validation

Definition at line 94 of file usbdev_mock.h.

◆ in

IN endpoints

Definition at line 89 of file usbdev_mock.h.

◆ out

OUT endpoints

Definition at line 90 of file usbdev_mock.h.

◆ ready_cb

usbdev_mock_ready_cb_t usbdev_mock::ready_cb

Endpoint ready cb for validation

Definition at line 98 of file usbdev_mock.h.

◆ req_len

size_t usbdev_mock::req_len

Length of the current request

Definition at line 92 of file usbdev_mock.h.

◆ usbdev

usbdev_t usbdev_mock::usbdev

Generic usbdev device

Definition at line 88 of file usbdev_mock.h.


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