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