//********************************************************************************************************************************************************************************** // Fichier USB.H // // Contient tous les define liés aux ports USB //**********************************************************************************************************************************************************************************/ // Maximums : #define USB_MAX_NOMBRE_PORTS 4 // Timings : #define USB_TEMPO_INIT 20 // En x 100ms #define USB_PERIODE_SURVEILLANCE 10 // En x 100ms // Affectation des ports : #define USB_FACE_AVANT_HAUT 0 #define USB_FACE_AVANT_MILIEU 1 #define USB_FACE_AVANT_BAS 2 #define USB_FACE_ARRIERE 3 // Etat des ports : #define USB_ETAT_PORT_OK 0 #define USB_ETAT_PORT_DEFAUT 1 // Etat séquenceur Usb : #define ETAT_SEQUENCEUR_USB_INIT 0 #define ETAT_SEQUENCEUR_USB_REPOS 1