RT-USB-9AXIS-00
総合概要
モジュール
データ構造
ファイル
ファイル一覧
大域各種
config.h
1
/*****************************************************************************
2
* config.h: config file for usbcdc example for NXP LPC13xx Family
3
* Microprocessors
4
*
5
* Copyright(C) 2008, NXP Semiconductor
6
* All rights reserved.
7
*
8
* History
9
* 2008.07.19 ver 1.00 Preliminary version, first Release
10
*
11
******************************************************************************/
12
13
/*
14
Overview:
15
This example shows how to use the USB driver to implement a CDC class USB peripheral.
16
To run this example, you must attach a USB cable to the board. See
17
the "Getting Started Guide" appendix for details.
18
19
How to use:
20
Click the debug toolbar button.
21
Click the go button.
22
Plug the LPCXpresso's target side into a PC using a USB cable retrofit
23
or a 3rd party base board.
24
25
* You should be able to see a new COM port on your PC.
26
*/
27
28
#define NXP_VID 0x1FC9
29
#define MY_VID 0x2B72
30
31
#define USB_VENDOR_ID MY_VID //(9axis) // Vendor ID
32
#define USB_PROD_ID 0x0003 // Product ID
33
#define USB_DEVICE 0x0100 // Device ID
34
35
#define LED_PORT 0 // Port for led
36
#define LED_BIT 7 // Bit on port for led
37
38
39
/*********************************************************************************
40
** End Of File
41
*********************************************************************************/
RT-USB-9AXIS-sample
inc
USB
config.h
構築:
1.8.10