Contiki-NG
Toggle main menu visibility
Loading...
Searching...
No Matches
usb-core.h
1
#ifndef USB_CORE_H_YIKJDA7S1X__
2
#define USB_CORE_H_YIKJDA7S1X__
3
4
#include <stdint.h>
5
6
extern
struct
USB_request_st usb_setup_buffer;
7
8
void
usb_send_ctrl_response(
const
uint8_t *data,
unsigned
int
len);
9
10
void
usb_error_stall();
11
12
void
usb_send_ctrl_status();
13
14
typedef
void (*usb_ctrl_data_callback)(uint8_t *data,
unsigned
int
length);
15
16
void
usb_get_ctrl_data(uint8_t *data,
unsigned
int
length,
17
usb_ctrl_data_callback cb);
18
19
#endif
/* USB_CORE_H_YIKJDA7S1X__ */
arch
cpu
cc2538
usb
common
usb-core.h
Generated on
for Contiki-NG by
1.17.0