2013-11-24 16:57:08 +01:00
|
|
|
#ifndef CDC_ACM_H_UFV6K50827__
|
|
|
|
#define CDC_ACM_H_UFV6K50827__
|
2012-08-07 11:24:59 +02:00
|
|
|
|
2012-08-17 15:56:59 +02:00
|
|
|
#include "cdc.h"
|
|
|
|
#include "contiki.h"
|
|
|
|
|
2012-10-31 19:48:37 +01:00
|
|
|
void usb_cdc_acm_setup();
|
2012-08-07 11:24:59 +02:00
|
|
|
|
2012-08-17 15:56:59 +02:00
|
|
|
|
|
|
|
#define USB_CDC_ACM_LINE_CODING 0x1
|
|
|
|
#define USB_CDC_ACM_LINE_STATE 0x2
|
2012-10-31 19:48:37 +01:00
|
|
|
uint8_t usb_cdc_acm_get_events(void);
|
2012-08-17 15:56:59 +02:00
|
|
|
|
|
|
|
|
|
|
|
#define USB_CDC_ACM_DTE 0x1
|
|
|
|
#define USB_CDC_ACM_RTS 0x2
|
2012-10-31 19:48:37 +01:00
|
|
|
uint8_t usb_cdc_acm_get_line_state(void);
|
2012-08-17 15:56:59 +02:00
|
|
|
|
|
|
|
|
2012-10-31 19:48:37 +01:00
|
|
|
const struct usb_cdc_line_coding *usb_cdc_acm_get_line_coding(void);
|
2012-08-17 15:56:59 +02:00
|
|
|
|
2012-10-31 19:48:37 +01:00
|
|
|
void usb_cdc_acm_set_event_process(struct process *p);
|
2012-08-17 15:56:59 +02:00
|
|
|
|
2013-11-24 16:57:08 +01:00
|
|
|
#endif /* CDC_ACM_H_UFV6K50827__ */
|