Hanna
Sourcecode Kontrollplatine
usb_cdc.h
gehe zur Dokumentation dieser Datei
1 
15 #ifndef _USB_CDC_H
16 #define _USB_CDC_H
17 
18 #include <avr/io.h>
19 #include <avr/wdt.h>
20 #include <avr/power.h>
21 #include <avr/interrupt.h>
22 
23 #include "usb_defaults.h"
24 #include "Descriptors.h"
25 #include "usb_ep.h"
26 
27 typedef struct ep_buffer
28 {
29  unsigned char data[CDC_TXRX_EPSIZE];
30  unsigned char bytes;
31  unsigned char len;
32  unsigned char flag;
33 } EP_buffer;
34 
35 extern EP_buffer cdc_rxb;
36 extern EP_buffer cdc_txb;
37 
38 extern EP_data ep_in_data;
39 extern EP_data ep_out_data;
40 extern EP_data ep_note_data;
41 
42 /* Function Prototypes: */
43 void usb_init ( void );
44 
45 #endif
Bibliothek zur USB-Kommunikation von Jürgen W.
Bibliothek zur USB-Kommunikation von Jürgen W.
#define CDC_TXRX_EPSIZE
Definition: Descriptors.h:67
Definition: usb_ep.h:32
Bibliothek zur USB-Kommunikation von Jürgen W.