mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
79cffa030f
Closes #18
25 lines
513 B
C
25 lines
513 B
C
#ifndef __CDC_ACM_H__UFV6K50827__
|
|
#define __CDC_ACM_H__UFV6K50827__
|
|
|
|
#include "cdc.h"
|
|
#include "contiki.h"
|
|
|
|
void usb_cdc_acm_setup();
|
|
|
|
|
|
#define USB_CDC_ACM_LINE_CODING 0x1
|
|
#define USB_CDC_ACM_LINE_STATE 0x2
|
|
uint8_t usb_cdc_acm_get_events(void);
|
|
|
|
|
|
#define USB_CDC_ACM_DTE 0x1
|
|
#define USB_CDC_ACM_RTS 0x2
|
|
uint8_t usb_cdc_acm_get_line_state(void);
|
|
|
|
|
|
const struct usb_cdc_line_coding *usb_cdc_acm_get_line_coding(void);
|
|
|
|
void usb_cdc_acm_set_event_process(struct process *p);
|
|
|
|
#endif /* __CDC_ACM_H__UFV6K50827__ */
|