Last change
on this file since 1 was 1, checked in by ertl-ichiba, 14 years ago |
ASP 1.4.0対応のNios2依存部を追加
|
File size:
659 bytes
|
Rev | Line | |
---|
[1] | 1 | /*
|
---|
| 2 | * @(#) $Id: dbgu_serial.cfg 569 2007-11-01 05:04:42Z honda $
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | /*
|
---|
| 6 | * SIOドライバ(JTAG UART用)のコンフィギュレーションファイル
|
---|
| 7 | */
|
---|
| 8 |
|
---|
| 9 | #include "target_serial.h"
|
---|
| 10 | ATT_INI({ TA_NULL, 0, sio_initialize });
|
---|
| 11 |
|
---|
| 12 | ATT_ISR({TA_NULL, 1, INHNO_SIO_PORT1, sio_isr, 1});
|
---|
| 13 | CFG_INT(INTNO_SIO_PORT1, { INTATR_SIO_PORT1, INTPRI_SIO_PORT1 });
|
---|
| 14 | #if TNUM_PORT >= 2
|
---|
| 15 | ATT_ISR({TA_NULL, 2, INHNO_SIO_PORT2, sio_isr, 1});
|
---|
| 16 | CFG_INT(INTNO_SIO_PORT2, { INTATR_SIO_PORT2, INTPRI_SIO_PORT2 });
|
---|
| 17 | #endif /* TNUM_PORT >= 2 */
|
---|
| 18 | #if TNUM_PORT >= 3
|
---|
| 19 | ATT_ISR({TA_NULL, 3, INHNO_SIO_PORT3, sio_isr, 1});
|
---|
| 20 | CFG_INT(INTNO_SIO_PORT3, { INTATR_SIO_PORT3, INTPRI_SIO_PORT3 });
|
---|
| 21 | #endif /* TNUM_PORT >= 3 */
|
---|
Note:
See
TracBrowser
for help on using the repository browser.