]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - msp430-bsl/msp430-bsl.git/blob - source/USB_app/usbConstructs.h
MSP-BSL v3.0
[msp430-bsl/msp430-bsl.git] / source / USB_app / usbConstructs.h
1 /* --COPYRIGHT--,BSD\r
2  * Copyright (c) 2014, Texas Instruments Incorporated\r
3  * All rights reserved.\r
4  *\r
5  * Redistribution and use in source and binary forms, with or without\r
6  * modification, are permitted provided that the following conditions\r
7  * are met:\r
8  *\r
9  * *  Redistributions of source code must retain the above copyright\r
10  *    notice, this list of conditions and the following disclaimer.\r
11  *\r
12  * *  Redistributions in binary form must reproduce the above copyright\r
13  *    notice, this list of conditions and the following disclaimer in the\r
14  *    documentation and/or other materials provided with the distribution.\r
15  *\r
16  * *  Neither the name of Texas Instruments Incorporated nor the names of\r
17  *    its contributors may be used to endorse or promote products derived\r
18  *    from this software without specific prior written permission.\r
19  *\r
20  * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"\r
21  * AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\r
22  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\r
23  * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR\r
24  * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,\r
25  * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,\r
26  * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS;\r
27  * OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\r
28  * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR\r
29  * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,\r
30  * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\r
31  * --/COPYRIGHT--*/\r
32 /* \r
33  * ======== usbConstructs.h ========\r
34  */\r
35 uint8_t hidSendDataWaitTilDone (uint8_t* dataBuf,\r
36     uint16_t size,\r
37     uint8_t intfNum,\r
38     uint32_t ulTimeout);\r
39 uint8_t hidSendDataInBackground (uint8_t* dataBuf,\r
40     uint16_t size,\r
41     uint8_t intfNum,\r
42     uint32_t ulTimeout);\r
43 uint16_t hidReceiveDataInBuffer(uint8_t*,uint16_t,uint8_t);\r
44 \r
45 uint8_t cdcSendDataWaitTilDone (uint8_t* dataBuf,\r
46     uint16_t size,\r
47     uint8_t intfNum,\r
48     uint32_t ulTimeout);\r
49 uint8_t cdcSendDataInBackground (uint8_t* dataBuf,\r
50     uint16_t size,\r
51     uint8_t intfNum,\r
52     uint32_t ulTimeout);\r
53 uint16_t cdcReceiveDataInBuffer(uint8_t*,uint16_t,uint8_t);\r
54 uint8_t phdcSendDataWaitTilDone (uint8_t* dataBuf,\r
55     uint16_t size,\r
56     uint8_t intfNum,\r
57     uint32_t ulTimeout);\r
58 uint8_t phdcSendDataInBackground (uint8_t* dataBuf,\r
59     uint16_t size,\r
60     uint8_t intfNum,\r
61     uint32_t ulTimeout);\r
62 uint16_t phdcReceiveDataInBuffer(uint8_t *,uint16_t,uint8_t);\r
63 //Released_Version_4_10_02\r