NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
usb_conf.h File Reference

Virtual COM Port Demo configuration header. More...

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EP_NUM   (4)
 
#define BTABLE_ADDRESS   (0x00)
 
#define ENDP0_RXADDR   (0x40)
 
#define ENDP0_TXADDR   (0x80)
 
#define ENDP1_TXADDR   (0xC0)
 
#define ENDP2_TXADDR   (0x100)
 
#define ENDP3_RXADDR   (0x110)
 
#define IMR_MSK   (CNTR_CTRM | CNTR_WKUPM | CNTR_ERRM | CNTR_SOFM | CNTR_RESETM )
 
#define EP2_IN_Callback   NOP_Process
 
#define EP3_IN_Callback   NOP_Process
 
#define EP4_IN_Callback   NOP_Process
 
#define EP5_IN_Callback   NOP_Process
 
#define EP6_IN_Callback   NOP_Process
 
#define EP7_IN_Callback   NOP_Process
 
#define EP1_OUT_Callback   NOP_Process
 
#define EP2_OUT_Callback   NOP_Process
 
#define EP4_OUT_Callback   NOP_Process
 
#define EP5_OUT_Callback   NOP_Process
 
#define EP6_OUT_Callback   NOP_Process
 
#define EP7_OUT_Callback   NOP_Process
 

Detailed Description

Virtual COM Port Demo configuration header.

Author
MCD Application Team
Version
V4.0.0
Date
21-January-2013
Attention

© COPYRIGHT 2013 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Macro Definition Documentation

#define BTABLE_ADDRESS   (0x00)
#define ENDP0_RXADDR   (0x40)
#define ENDP0_TXADDR   (0x80)
#define ENDP1_TXADDR   (0xC0)
#define ENDP2_TXADDR   (0x100)
#define ENDP3_RXADDR   (0x110)
#define EP1_OUT_Callback   NOP_Process
#define EP2_IN_Callback   NOP_Process
#define EP2_OUT_Callback   NOP_Process
#define EP3_IN_Callback   NOP_Process
#define EP4_IN_Callback   NOP_Process
#define EP4_OUT_Callback   NOP_Process
#define EP5_IN_Callback   NOP_Process
#define EP5_OUT_Callback   NOP_Process
#define EP6_IN_Callback   NOP_Process
#define EP6_OUT_Callback   NOP_Process
#define EP7_IN_Callback   NOP_Process
#define EP7_OUT_Callback   NOP_Process
#define EP_NUM   (4)
#define IMR_MSK   (CNTR_CTRM | CNTR_WKUPM | CNTR_ERRM | CNTR_SOFM | CNTR_RESETM )