Subversion Repositories NaviCtrl

Rev

Rev 112 | Rev 308 | Go to most recent revision | Only display areas with differences | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

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