v2019
Dependencies: CRAC-Strat_2019 SerialHalfDuplex SDFileSystem DISCO-F469NI_portrait liaison_Bluetooth ident_crac
Dependents: Codeprincipal_2019 CRAC-Strat_2019
Debug/debug.h@11:ed13a480ddca, 2016-05-02 (annotated)
- Committer:
- antbig
- Date:
- Mon May 02 19:40:59 2016 +0000
- Revision:
- 11:ed13a480ddca
- Parent:
- 1:116040d14164
- Child:
- 27:76ead555a63d
Ajout de toutes les actions et de leurs sym?trique
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
antbig | 0:ad97421fb1fb | 1 | #ifndef CRAC_DEBUG |
antbig | 0:ad97421fb1fb | 2 | #define CRAC_DEBUG |
antbig | 0:ad97421fb1fb | 3 | |
antbig | 0:ad97421fb1fb | 4 | #include "global.h" |
antbig | 0:ad97421fb1fb | 5 | |
antbig | 0:ad97421fb1fb | 6 | void debug_Instruction(struct S_Instruction instruction); |
antbig | 0:ad97421fb1fb | 7 | |
antbig | 0:ad97421fb1fb | 8 | char* InstructionTypeToString(enum E_InstructionType type); |
antbig | 0:ad97421fb1fb | 9 | |
antbig | 0:ad97421fb1fb | 10 | char* InstructionDirectionToString(enum E_InstructionDirection type); |
antbig | 0:ad97421fb1fb | 11 | |
antbig | 0:ad97421fb1fb | 12 | char* InstructionPrecisionOuRecalageToString(enum E_InstructionPrecisionOuRecalage type); |
antbig | 0:ad97421fb1fb | 13 | |
antbig | 0:ad97421fb1fb | 14 | char* InstructionNextActionTypeToString(enum E_InstructionNextActionType type); |
antbig | 0:ad97421fb1fb | 15 | |
antbig | 0:ad97421fb1fb | 16 | char* InstructionNextActionJumpTypeToString(enum E_InstructionNextActionJumpType type); |
antbig | 0:ad97421fb1fb | 17 | |
antbig | 0:ad97421fb1fb | 18 | /*** |
antbig | 0:ad97421fb1fb | 19 | Boucle d'erreur |
antbig | 0:ad97421fb1fb | 20 | ***/ |
antbig | 0:ad97421fb1fb | 21 | void errorLoop(void); |
antbig | 1:116040d14164 | 22 | /*** |
antbig | 1:116040d14164 | 23 | Boucle d'erreur si une instruction n'est pas lue correctement |
antbig | 1:116040d14164 | 24 | ***/ |
antbig | 1:116040d14164 | 25 | void errorInstructionLoop(void); |
antbig | 0:ad97421fb1fb | 26 | |
antbig | 0:ad97421fb1fb | 27 | /****************************************************************************************/ |
antbig | 0:ad97421fb1fb | 28 | /* FUNCTION NAME: sendStratEtat */ |
antbig | 0:ad97421fb1fb | 29 | /* DESCRIPTION : permet le debug de l'etat de l'automate de stratégie */ |
antbig | 0:ad97421fb1fb | 30 | /****************************************************************************************/ |
antbig | 11:ed13a480ddca | 31 | void sendStratEtat(unsigned char etat, unsigned char currentInstruction); |
antbig | 0:ad97421fb1fb | 32 | |
antbig | 0:ad97421fb1fb | 33 | #endif |