Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of CRAC-Strat_copy by
Debug/debug.h@1:116040d14164, 2016-04-15 (annotated)
- Committer:
- antbig
- Date:
- Fri Apr 15 10:49:40 2016 +0000
- Revision:
- 1:116040d14164
- Parent:
- 0:ad97421fb1fb
- Child:
- 11:ed13a480ddca
Premier test fonctionnel avec le petit robot,
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 | 0:ad97421fb1fb | 31 | void sendStratEtat(unsigned char etat); |
| antbig | 0:ad97421fb1fb | 32 | |
| antbig | 0:ad97421fb1fb | 33 | #endif |
