Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
Diff: states.h
- Revision:
- 29:1fb060aab1f8
- Parent:
- 28:797536a42b9f
- Child:
- 30:5f975f572ffb
--- a/states.h Sun Jul 22 16:25:25 2018 +0000 +++ b/states.h Mon Oct 01 14:54:37 2018 +0000 @@ -8,14 +8,12 @@ static void teardown(); }; -struct Unconditioned { +struct Paired { static void setup(); - static void cueCallback(); - static void responseCallback(); static void teardown(); }; -struct Conditioned { +struct Monitor { static void setup(); static void teardown(); }; @@ -46,9 +44,8 @@ }; /** -* if the animal licked during Cued period, the automaton transits to this state. -* if it is in the Pair mode, or if the conditioning cue is already there, -* a reward delivery is also performed here. +* if the animal licked during Cued/Monitor period, the automaton transits to this state. +* unless it is in the Condition mode, reward is delivered here. */ struct WithResp { static void setup();