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