Last change
on this file since 352 was 352, checked in by coas-nagasima, 6 years ago |
arm向けASP3版ECNLを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/x-chdr;charset=UTF-8
|
File size:
770 bytes
|
Rev | Line | |
---|
[352] | 1 | #ifndef usb_hbth_h
|
---|
| 2 | #define usb_hbth_h
|
---|
| 3 |
|
---|
| 4 | #include <sil.h>
|
---|
| 5 | //#include "devdrv_intc.h"
|
---|
| 6 | #define INTC_ID_USBI0 73
|
---|
| 7 |
|
---|
| 8 | /*
|
---|
| 9 | * USB HOST タスクのための定数
|
---|
| 10 | */
|
---|
| 11 | #define USBHOST_PRIORITY (4)
|
---|
| 12 | #define USBHOST_STACK_SIZE 2048
|
---|
| 13 |
|
---|
| 14 | extern void usbhost_init(ID tskid);
|
---|
| 15 | extern void usbhost_main(intptr_t exinf);
|
---|
| 16 |
|
---|
| 17 | /*
|
---|
| 18 | * USB割込みハンドラ登録のための定数
|
---|
| 19 | */
|
---|
| 20 | #define INHNO_USB INTC_ID_USBI0 /* 割込みハンドラ番号 */
|
---|
| 21 | #define INTNO_USB INTC_ID_USBI0 /* 割込み番号 */
|
---|
| 22 | #define INTPRI_USB -5 /* 割込み優先度 */
|
---|
| 23 | #define INTATR_USB (TA_EDGE) /* 割込み属性 */
|
---|
| 24 |
|
---|
| 25 | void usb_interrupt_handler(void);
|
---|
| 26 | int bt_usb_hbth_bulk_write(unsigned char *packet, int size);
|
---|
| 27 | int bt_usb_hbth_control_write(unsigned char *packet, int size);
|
---|
| 28 |
|
---|
| 29 | #endif // usb_hbth_h
|
---|
Note:
See
TracBrowser
for help on using the repository browser.