|
Intel® Quark™ Microcontroller Software Interface
1.4.0
Intel® Quark™ Microcontroller BSP
|
USB Endpoint Configuration. More...
#include <qm_usb.h>
Data Fields | |
| qm_usb_ep_type_t | type |
| Endpoint type. More... | |
| uint16_t | max_packet_size |
| Endpoint max packet size. More... | |
| void(* | callback )(void *data, int error, qm_usb_ep_idx_t ep, qm_usb_ep_status_t status) |
| Callback for the USB Endpoint status. More... | |
| void * | callback_data |
| Callback user data. More... | |
| void(* qm_usb_ep_config_t::callback)(void *data, int error, qm_usb_ep_idx_t ep, qm_usb_ep_status_t status) |
Callback for the USB Endpoint status.
Called for notifying of data received and available to application on this endpoint.
| [in] | data | The callback user data. |
| [in] | error | 0 on success. Negative errno for possible error codes. |
| [in] | ep | Endpoint index. |
| [in] | status | USB Endpoint status. |
| uint16_t qm_usb_ep_config_t::max_packet_size |
Endpoint max packet size.
Definition at line 53 of file qm_usb.h.
Referenced by qm_usb_ep_set_config().
| qm_usb_ep_type_t qm_usb_ep_config_t::type |