v2019

Dependencies:   CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac

Dependents:   Codeprincipal_2019 CRAC-Strat_2019

Debug/debug.h

Committer:
antbig
Date:
2016-04-13
Revision:
0:ad97421fb1fb
Child:
1:116040d14164

File content as of revision 0:ad97421fb1fb:

#ifndef CRAC_DEBUG
#define CRAC_DEBUG

#include "global.h"

void debug_Instruction(struct S_Instruction instruction);

char* InstructionTypeToString(enum E_InstructionType type);

char* InstructionDirectionToString(enum E_InstructionDirection type);

char* InstructionPrecisionOuRecalageToString(enum E_InstructionPrecisionOuRecalage type);

char* InstructionNextActionTypeToString(enum E_InstructionNextActionType type);

char* InstructionNextActionJumpTypeToString(enum E_InstructionNextActionJumpType type);

/***
Boucle d'erreur
***/
void errorLoop(void);

/****************************************************************************************/
/* FUNCTION NAME: sendStratEtat                                                         */
/* DESCRIPTION  : permet le debug de l'etat de l'automate de stratégie                  */
/****************************************************************************************/
void sendStratEtat(unsigned char etat);

#endif