version qui corrige tous les beugs

Dependents:   Projet_client_serveur EX5 ex10 ex11 ... more

Committer:
slowness
Date:
Tue Nov 08 07:22:34 2016 +0000
Revision:
4:a9e51ac904e2
Parent:
0:cd0f9e8c609b
Version sans bug

Who changed what in which revision?

UserRevisionLine numberNew contents of line
gr66 0:cd0f9e8c609b 1 #ifndef _IDENT_H
gr66 0:cd0f9e8c609b 2 #define _IDENT_H
gr66 0:cd0f9e8c609b 3
gr66 0:cd0f9e8c609b 4 /* FILE: ident.h */
gr66 0:cd0f9e8c609b 5 /****************************************************************************************/
gr66 0:cd0f9e8c609b 6 /* MODULE NAME: MC9S12XS128 - MSCAN => Motorola Scalable Controller Area Network */
gr66 0:cd0f9e8c609b 7 /* (BUS CAN) */
gr66 0:cd0f9e8c609b 8 /* */
gr66 0:cd0f9e8c609b 9 /* AUTHOR : BRUNO LARNAUDIE */
gr66 0:cd0f9e8c609b 10 /* */
gr66 0:cd0f9e8c609b 11 /* EMAIL : bruno.larnaudie@u-psud.fr */
gr66 0:cd0f9e8c609b 12 /* */
gr66 0:cd0f9e8c609b 13 /* INSTITUTION: IUT de CACHAN - 9 av. de la div. Leclerc - 94230 CACHAN */
gr66 0:cd0f9e8c609b 14 /* */
gr66 0:cd0f9e8c609b 15 /* DATE : 03/07/2012 */
gr66 0:cd0f9e8c609b 16 /* CPU : FREESCALE MC9S12XS128MAA */
gr66 0:cd0f9e8c609b 17 /* BOARD : CACHAN Xboard+MicroB12 */
gr66 0:cd0f9e8c609b 18 /* OS : None */
gr66 0:cd0f9e8c609b 19 /* */
gr66 0:cd0f9e8c609b 20 /* DESCRIPTION: Identifiants utilises sur le bus CAN */
gr66 0:cd0f9e8c609b 21 /****************************************************************************************/
gr66 0:cd0f9e8c609b 22
gr66 0:cd0f9e8c609b 23 // NOM ID |Flag |Sens |Data | Fonction | Data |
gr66 0:cd0f9e8c609b 24 // |Mess |(I/O)|Req | | nb | Type | contenu (dans l'ordre) |
gr66 0:cd0f9e8c609b 25 //------------------------------------------------------------------------------------------------------------------------|
gr66 0:cd0f9e8c609b 26 // Carte IHM 0x700-0x7FF | | | | | | | |
gr66 0:cd0f9e8c609b 27 //------------------------------------------------------------------------------------------------------------------------|
gr66 0:cd0f9e8c609b 28 // //| | | | | | | |
gr66 0:cd0f9e8c609b 29 // Module LCD 16x2 //| | | | | | | |
gr66 0:cd0f9e8c609b 30 #define LCD_CHAR0 0x700 //| M | O | D |char 0 a 7 sur LCD | 8 | U8 | C00|C01|C02|C03|C04|C05|C06|C07 |
gr66 0:cd0f9e8c609b 31 #define LCD_CHAR1 0x701 //| M | O | D |char 8 a 15 sur LCD | 8 | U8 | C08|C09|C10|C11|C12|C13|C14|C15 |
gr66 0:cd0f9e8c609b 32 #define LCD_CHAR2 0x702 //| M | O | D |char 16 a 23 sur LCD| 8 | U8 | C16|C17|C18|C19|C20|C21|C22|C23 |
gr66 0:cd0f9e8c609b 33 #define LCD_CHAR3 0x703 //| M | O | D |char 24 a 31 sur LCD| 8 | U8 | C24|C25|C26|C27|C28|C29|C30|C31 |
gr66 0:cd0f9e8c609b 34 // //| | | | | | | |
gr66 0:cd0f9e8c609b 35 // 0x704 //| | | | | | | Reserve pour un éventuel LCD |
gr66 0:cd0f9e8c609b 36 // Réservé ... //| | | | | | | plus grand ou tactile |
gr66 0:cd0f9e8c609b 37 // 0x77D //| | | | | | | |
gr66 0:cd0f9e8c609b 38 // //| | | | | | | |
gr66 0:cd0f9e8c609b 39 #define LCD_OVERFLOW 0x77E //| M | O | R |Flag d'Overflow LCD | 0 | | |
gr66 0:cd0f9e8c609b 40 #define LCD_CLEAR 0x77F //| M | O | D | | 0 | | Efface l'ecran LCD |
gr66 0:cd0f9e8c609b 41 //| | | | | | | |
gr66 0:cd0f9e8c609b 42 // JOG //| | | | | | | |
gr66 0:cd0f9e8c609b 43 #define JOG_REQ 0x790 //| M | I | R | Demande valeur JOG | 0 | | |
gr66 0:cd0f9e8c609b 44 #define JOG_DATA 0x791 //| M | O | D | Valeur JOG | 1 | U8 | STATUS_JOG=PTP |
gr66 0:cd0f9e8c609b 45 // CODEUR | | | | | | | |
gr66 0:cd0f9e8c609b 46 #define COD_REQ 0x7A0 //| M | I | R | Demande valeur COD | 0 | | |
gr66 0:cd0f9e8c609b 47 #define COD_DATA 0x7A1 //| M | O | D | Valeur COD | 1 | S8 | OFFSET du CODEUR entre -128 et 127|
gr66 0:cd0f9e8c609b 48 // BARGRAPH | | | | | | | |
gr66 0:cd0f9e8c609b 49 #define BAR_SET 0x7B0 //| M | I | D | valeur bargraph | 2 | U16 | Les bits à allumer |
gr66 0:cd0f9e8c609b 50 //------------------------------------------------------------------------------------------------------------------------|
gr66 0:cd0f9e8c609b 51 /* Légende : I = Consigne pour la carte
gr66 0:cd0f9e8c609b 52 O = Etat donné par la carte
gr66 0:cd0f9e8c609b 53
gr66 0:cd0f9e8c609b 54 D = Trame de données
gr66 0:cd0f9e8c609b 55 R = Trame de requete */
gr66 0:cd0f9e8c609b 56
gr66 0:cd0f9e8c609b 57 #endif
gr66 0:cd0f9e8c609b 58