Import initial du projet shipheart_appli

This commit is contained in:
2026-08-13 10:33:28 +02:00
commit 8fe204361b
62 changed files with 32339 additions and 0 deletions
+46
View File
@@ -0,0 +1,46 @@
//**********************************************************************************************************************************************************************************
// Fichier SORTIES.H
//
// Contient tous les define liés à la lecture de l'état des entrées
//**********************************************************************************************************************************************************************************
// Sorties GPIO :
#define CM3P_DO_MOD_WKUP 5 // Exemple: GPIO #5
#define CM3P_DO_USB_AVANT_PWR_EN 11
#define CM3P_DO_TO_UC 29
#define CM3P_Pdown_HDMI_CMD_N 37
#define CM3P_DO_WIFI_CHIP_EN 38
#define CM3P_DO_PWKEY_MOD 39
#define CM3P_DO_AUDIO_SD 40
#define CM3P_DO_TEST_TP1140 41
#define CM3P_DO_TEST_TP1141 42
#define CM3P_DO_TEST_TP1142 43
#define CM3P_DO_LCD_EN_VGx 44
#define CM3P_DO_LCD_EN_VDD 45
#define CM4_DO_TO_UC 5
#define CM4_DO_USB_ARRIERE_PWR_EN 7
#define CM4_DO_GNSS_EXTINT 9
#define CM4_DO_AUDIO_SD 10
#define CM4_DO_GNSS_SAFEBOOT 11
#define CM4_Pdown_HDMI_CMD_N 22
#define CM4_DO_USB_AVANT_PWR_EN 23
#define CM4_DO_EN_LCD_VGx 24
#define CM4_DO_EN_LCD_VDD 25
// Général :
// Nombre max physique :
#define MAX_NOMBRE_SORTIES_GPIO 54 // Il y a 54 E/S GPIO qui peuvent être configurées en Entrée ou en Sortie mais ce nombre peut-être < 54 (vérifié au chargement de la BDD)
// Timings :
#define PERIODE_ECRITURE_SORTIES_GPIO 5 // En x10ms.
// Types d'Entrées/Sorties :
#define TYPE_SORTIE_GPIO 0