mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 18:40:17 +00:00
18 lines
428 B
C
18 lines
428 B
C
|
|
#ifndef CDC_ECM_H_
|
|
#define CDC_ECM_H_
|
|
|
|
#include "contiki.h"
|
|
#include <stdint.h>
|
|
#include "conf_usb.h"
|
|
|
|
#define SET_ETHERNET_PACKET_FILTER (0x43)
|
|
|
|
|
|
extern uint8_t cdc_ecm_process(void);
|
|
extern uint8_t ecm_send(uint8_t * senddata, uint16_t sendlen, uint8_t led);
|
|
extern void cdc_ecm_set_ethernet_packet_filter(void);
|
|
extern void cdc_ecm_configure_endpoints();
|
|
extern void cdc_ecm_set_active(uint8_t value);
|
|
|
|
#endif // CDC_ECM_H_
|