fast-feedback virtual target task code on STM Nucleo

Dependencies:   mbed

Committer:
gwappa
Date:
Mon Jun 18 10:43:45 2018 +0000
Revision:
9:e136394bdb39
Parent:
8:973dcd190672
Child:
11:897ecd5413e0
add WithCue mode in place of Pair

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gwappa 4:fcf597f82632 1 #ifndef STATES_H_
gwappa 4:fcf597f82632 2 #define STATES_H_
gwappa 4:fcf597f82632 3
gwappa 9:e136394bdb39 4 #include "mbed.h"
gwappa 9:e136394bdb39 5
gwappa 9:e136394bdb39 6 const uint16_t TRIGGER_DUR_MS = 2;
gwappa 9:e136394bdb39 7
gwappa 4:fcf597f82632 8 struct Delay {
gwappa 4:fcf597f82632 9 static void setup();
gwappa 4:fcf597f82632 10 static void teardown();
gwappa 4:fcf597f82632 11 };
gwappa 4:fcf597f82632 12
gwappa 7:6744ec9ccc25 13 struct Prepare {
gwappa 7:6744ec9ccc25 14 static void setup();
gwappa 7:6744ec9ccc25 15 static void teardown();
gwappa 7:6744ec9ccc25 16 };
gwappa 7:6744ec9ccc25 17
gwappa 7:6744ec9ccc25 18 struct Abort {
gwappa 7:6744ec9ccc25 19 static void setup();
gwappa 7:6744ec9ccc25 20 static void teardown();
gwappa 7:6744ec9ccc25 21 };
gwappa 7:6744ec9ccc25 22
gwappa 9:e136394bdb39 23 struct Paired {
gwappa 9:e136394bdb39 24 static void setup();
gwappa 9:e136394bdb39 25 static void teardown();
gwappa 9:e136394bdb39 26 };
gwappa 9:e136394bdb39 27
gwappa 4:fcf597f82632 28 struct Cued {
gwappa 4:fcf597f82632 29 static void setup();
gwappa 7:6744ec9ccc25 30 static void gate();
gwappa 4:fcf597f82632 31 static void teardown();
gwappa 4:fcf597f82632 32 };
gwappa 4:fcf597f82632 33
gwappa 4:fcf597f82632 34 struct WithResp {
gwappa 4:fcf597f82632 35 static void setup();
gwappa 4:fcf597f82632 36 static void teardown();
gwappa 4:fcf597f82632 37 };
gwappa 4:fcf597f82632 38
gwappa 4:fcf597f82632 39 struct NoResp {
gwappa 4:fcf597f82632 40 static void setup();
gwappa 4:fcf597f82632 41 static void teardown();
gwappa 4:fcf597f82632 42 };
gwappa 4:fcf597f82632 43
gwappa 8:973dcd190672 44 struct TestReward {
gwappa 8:973dcd190672 45 static void setup();
gwappa 8:973dcd190672 46 static void teardown();
gwappa 8:973dcd190672 47 };
gwappa 8:973dcd190672 48
gwappa 4:fcf597f82632 49 #endif