Loading...
Searching...
No Matches
usbdev_mock_ep_t Struct Reference

usbdev mock device endpoint More...

Detailed Description

usbdev mock device endpoint

Definition at line 44 of file usbdev_mock.h.

#include <usbdev_mock.h>

Data Fields

usbdev_ep_t ep
 Generic endpoint struct

 
usbdev_mock_ep_state_t state
 Endpoint state

 
size_t available
 Bytes available in the buffer

 
uint8_t * target_buf
 Buffer as passed by usbdev_ep_xmit

 
uint8_t * buf
 Internal mock buffer pointer.
 

Field Documentation

◆ available

size_t usbdev_mock_ep_t::available

Bytes available in the buffer

Definition at line 47 of file usbdev_mock.h.

◆ buf

uint8_t* usbdev_mock_ep_t::buf

Internal mock buffer pointer.

Definition at line 49 of file usbdev_mock.h.

◆ ep

usbdev_ep_t usbdev_mock_ep_t::ep

Generic endpoint struct

Definition at line 45 of file usbdev_mock.h.

◆ state

usbdev_mock_ep_state_t usbdev_mock_ep_t::state

Endpoint state

Definition at line 46 of file usbdev_mock.h.

◆ target_buf

uint8_t* usbdev_mock_ep_t::target_buf

Buffer as passed by usbdev_ep_xmit

Definition at line 48 of file usbdev_mock.h.


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