Subversion Repositories seema-scanner

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1 jakw 1
/*
2
 * usb.h
3
 *
4
 * This module has the wrapper functions to access USB driver functions.
5
 *
6
 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com/
7
 * ALL RIGHTS RESERVED
8
 *
9
*/
10
 
11
#ifndef USB_H
12
#define USB_H
13
 
14
#define USB_MIN_PACKET_SIZE 64
15
#define USB_MAX_PACKET_SIZE 64
16
 
17
#define MY_VID 0x0451
18
#define MY_PID 0x6401
19
 
20
int USB_Open(void);
21
bool USB_IsConnected();
22
int USB_Write();
23
int USB_Read();
24
int USB_Close();
25
int USB_Init();
26
int USB_Exit();
27
 
28
#endif //USB_H