Keisuke Sehara
/
STM32_Whisking
fast-feedback virtual target task code on STM Nucleo
states.h
- Committer:
- gwappa
- Date:
- 2018-06-21
- Revision:
- 11:897ecd5413e0
- Parent:
- 9:e136394bdb39
- Child:
- 20:4c06d3041337
File content as of revision 11:897ecd5413e0:
#ifndef STATES_H_ #define STATES_H_ #include "mbed.h" /** * internally gates the machine to accept licking. * used in Report/Associate modes. */ void gateReward(); struct Delay { static void setup(); static void teardown(); }; /** * used except for the Pair mode. * lick is not allowed during this period. * if the animal licks, the state transits to Abort. */ struct Prepare { static void setup(); static void teardown(); }; struct Abort { static void setup(); static void teardown(); }; /** * used for the Pair mode during the visual cue presentation. * jumps to either WithResp or NoResp, depending on whether or not * the animal licked during this period. */ struct Paired { static void setup(); static void teardown(); }; /** * used except for the Pair mode to present reward-related conditioning cue(s). */ struct Cued { static void setup(); static void gate(); static void teardown(); }; struct WithResp { static void setup(); static void teardown(); }; struct NoResp { static void setup(); static void teardown(); }; struct TestReward { static void setup(); static void teardown(); }; #endif