Subversion Repositories NaviCtrl

Rev

Rev 111 | Rev 275 | Go to most recent revision | Only display areas with differences | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 111 Rev 112
1
#ifndef _USB_H
1
#ifndef _USB_H
2
#define _USB_H
2
#define _USB_H
3
 
3
 
4
#include "usb_lib.h"
4
#include "usb_lib.h"
5
#include "usb_conf.h"
5
#include "usb_conf.h"
6
#include "usb_prop.h"
6
#include "usb_prop.h"
7
#include "usb_pwr.h"
7
#include "usb_pwr.h"
8
#include "usb_desc.h"
8
#include "usb_desc.h"
-
 
9
#include "mkprotocol.h"
9
 
-
 
-
 
10
 
10
extern u32 USB_BufferRxCount;
11
 
11
extern u8 USB_BufferRx[];
12
extern Buffer_t USB_rx_buffer;
12
 
13
 
13
void USB_ConfigInit(void);
14
void USB_ConfigInit(void);
14
void USB_CableConfig(FunctionalState NewState);
15
void USB_CableConfig(FunctionalState NewState);
15
void USB_PutString(u8 *string);
16
void USB_PutString(u8 *string);
16
void USB_PutChar(u8 c);
17
void USB_PutChar(u8 c);
17
void USB_SendData(u8 *pdata, u16 count);
18
void USB_SendData(u8 *pdata, u16 count);
-
 
19
void USB_ProcessRxData(void);
-
 
20
void USB_TransmitTxData(void);
18
 
21
 
19
#endif
22
#endif
20
 
23