X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fcobboard%2Fstate.h;h=aa55b34d7159d4514c6362a33c8c527ba12f2a15;hp=f3135ac036b7ffd345738a007fa26d0df55f8d02;hb=d23a4fdeed4e90d004d407942b230c188d012465;hpb=57b3e145f2ff46e1a7e7d522c85f3c56821dbf48 diff --git a/projects/microb2010/cobboard/state.h b/projects/microb2010/cobboard/state.h index f3135ac..aa55b34 100644 --- a/projects/microb2010/cobboard/state.h +++ b/projects/microb2010/cobboard/state.h @@ -24,13 +24,23 @@ /* set a new state, return 0 on success */ int8_t state_set_mode(uint8_t mode); +void state_set_spickle(uint8_t side, uint8_t flags); /* get current state */ uint8_t state_get_mode(void); +uint8_t state_get_status(void); +uint8_t state_spicklemode_weak(uint8_t side); + +void state_set_i2c_ignore(uint8_t val); +uint8_t state_get_i2c_ignore(void); + +uint8_t state_get_cob_count(void); /* launch state machine */ void state_machine(void); void state_init(void); +extern uint8_t state_debug; + #endif