Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
rig.h@3:991c6d5ce19d, 2018-05-17 (annotated)
- Committer:
- gwappa
- Date:
- Thu May 17 13:37:43 2018 +0000
- Revision:
- 3:991c6d5ce19d
- Child:
- 9:e136394bdb39
implement arraylists
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gwappa | 3:991c6d5ce19d | 1 | #ifndef RIG_H_ |
gwappa | 3:991c6d5ce19d | 2 | #define RIG_H_ |
gwappa | 3:991c6d5ce19d | 3 | |
gwappa | 3:991c6d5ce19d | 4 | #include "mbed.h" |
gwappa | 3:991c6d5ce19d | 5 | #include "task.h" |
gwappa | 3:991c6d5ce19d | 6 | #include "trial.h" |
gwappa | 3:991c6d5ce19d | 7 | |
gwappa | 3:991c6d5ce19d | 8 | // the task timer |
gwappa | 3:991c6d5ce19d | 9 | extern Timer timer; |
gwappa | 3:991c6d5ce19d | 10 | |
gwappa | 3:991c6d5ce19d | 11 | // state time out |
gwappa | 3:991c6d5ce19d | 12 | extern Timeout stateTimeout; |
gwappa | 3:991c6d5ce19d | 13 | |
gwappa | 3:991c6d5ce19d | 14 | // reward time out |
gwappa | 3:991c6d5ce19d | 15 | extern Timeout rewardTimeout; |
gwappa | 3:991c6d5ce19d | 16 | |
gwappa | 3:991c6d5ce19d | 17 | // input |
gwappa | 3:991c6d5ce19d | 18 | extern InterruptIn whiskIn; |
gwappa | 3:991c6d5ce19d | 19 | extern InterruptIn lickIn; |
gwappa | 3:991c6d5ce19d | 20 | |
gwappa | 3:991c6d5ce19d | 21 | // output |
gwappa | 3:991c6d5ce19d | 22 | extern DigitalOut taskOut; |
gwappa | 3:991c6d5ce19d | 23 | extern DigitalOut cueOut; |
gwappa | 3:991c6d5ce19d | 24 | extern DigitalOut enableOut; |
gwappa | 3:991c6d5ce19d | 25 | extern DigitalOut rewardOut; |
gwappa | 3:991c6d5ce19d | 26 | |
gwappa | 3:991c6d5ce19d | 27 | extern Task task; |
gwappa | 3:991c6d5ce19d | 28 | extern Trial trial; |
gwappa | 3:991c6d5ce19d | 29 | |
gwappa | 3:991c6d5ce19d | 30 | #endif |