Subversion Repositories freemyipod

Rev

Rev 924 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
924 theseven 1
//
2
//
3
//    Copyright 2013 TheSeven
4
//    Copyright 2014 user890104
5
//
6
//
7
//    This file is part of emCORE.
8
//
9
//    emCORE is free software: you can redistribute it and/or
10
//    modify it under the terms of the GNU General Public License as
11
//    published by the Free Software Foundation, either version 2 of the
12
//    License, or (at your option) any later version.
13
//
14
//    emCORE is distributed in the hope that it will be useful,
15
//    but WITHOUT ANY WARRANTY; without even the implied warranty of
16
//    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
17
//    See the GNU General Public License for more details.
18
//
19
//    You should have received a copy of the GNU General Public License along
20
//    with emCORE.  If not, see <http://www.gnu.org/licenses/>.
21
//
22
//
23
 
24
 
25
#ifndef __USB_H__
26
#define __USB_H__
27
 
28
#include "emcoreapp.h"
29
 
30
 
31
extern int usb_maxlen;
32
 
33
 
34
extern void usb_prepare();
35
extern void usb_connect();
36
extern void enqueue_async();
37
extern void usb_transmit(void* buffer, uint32_t len);
38
extern void usb_receive(void* buffer, uint32_t len);
967 theseven 39
extern void usb_stall_in();
40
extern void usb_stall_out();
41
extern void fail(char* errormsg);
924 theseven 42
 
43
#endif
44