osd-contiki/cpu/cc253x/usb/common/cdc-acm/cdc-acm.h
2012-11-01 17:42:04 +00:00

24 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__ */