Last change
on this file since 453 was 453, checked in by coas-nagasima, 4 years ago |
ファイルを追加
|
-
Property svn:eol-style
set to
native
-
Property svn:mime-type
set to
text/plain;charset=UTF-8
|
File size:
710 bytes
|
Rev | Line | |
---|
[453] | 1 | /*
|
---|
| 2 | * $Id$
|
---|
| 3 | */
|
---|
| 4 |
|
---|
| 5 | /*
|
---|
| 6 | * SPIテストのコンフィギュレーションファイル
|
---|
| 7 | */
|
---|
| 8 | INCLUDE("target_timer.cfg");
|
---|
| 9 | INCLUDE("syssvc/syslog.cfg");
|
---|
| 10 | INCLUDE("syssvc/banner.cfg");
|
---|
| 11 | INCLUDE("syssvc/serial.cfg");
|
---|
| 12 | INCLUDE("syssvc/logtask.cfg");
|
---|
| 13 | INCLUDE("monitor/monitor.cfg");
|
---|
| 14 | INCLUDE("pdic/k210/device.cfg");
|
---|
| 15 |
|
---|
| 16 | #include "device.h"
|
---|
| 17 | #include "i2ctest.h"
|
---|
| 18 |
|
---|
| 19 | ATT_INI({ TA_NULL, 0, rtc_init });
|
---|
| 20 | ATT_INI({ TA_NULL, 0, rtc_info_init });
|
---|
| 21 |
|
---|
| 22 | CRE_SEM(I2CTRS_SEM, { TA_TPRI, 0, 1 });
|
---|
| 23 | CRE_SEM(I2CLOC_SEM, { TA_TPRI, 1, 1 });
|
---|
| 24 |
|
---|
| 25 | CRE_TSK(MAIN_TASK, { TA_NULL, 0, main_task, MAIN_PRIORITY, STACK_SIZE, NULL });
|
---|
| 26 |
|
---|
| 27 | ATT_ISR({TA_NULL, I2C_PORTID, INTNO_I2CEV, i2c_isr, 1 });
|
---|
| 28 | CFG_INT(INTNO_I2CEV, { TA_ENAINT | INTATR_I2CEV, INTPRI_I2CEV });
|
---|
| 29 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.