comparison Small_CPU/Inc/gpio.h @ 938:df87dbfc9c21 Evo_2_23

Update GPIO: Splitted the init function and moved GPS deactivation into the sleep loop (deep sleep)
author Ideenmodellierer
date Tue, 10 Dec 2024 21:00:55 +0100
parents f2494a708f52
children
comparison
equal deleted inserted replaced
937:d461d9e89e3c 938:df87dbfc9c21
31 #define MAINCPU_CONTROL_PIN GPIO_PIN_0 /* PortC */ 31 #define MAINCPU_CONTROL_PIN GPIO_PIN_0 /* PortC */
32 #define GPS_POWER_CONTROL_PIN GPIO_PIN_15 /* PortB */ 32 #define GPS_POWER_CONTROL_PIN GPIO_PIN_15 /* PortB */
33 #define GPS_BCKP_CONTROL_PIN GPIO_PIN_14 /* PortB */ 33 #define GPS_BCKP_CONTROL_PIN GPIO_PIN_14 /* PortB */
34 34
35 void GPIO_LEDs_VIBRATION_Init(void); 35 void GPIO_LEDs_VIBRATION_Init(void);
36 void GPIO_GNSS_Init();
36 void GPIO_Power_MainCPU_Init(void); 37 void GPIO_Power_MainCPU_Init(void);
37 void GPIO_Power_MainCPU_ON(void); 38 void GPIO_Power_MainCPU_ON(void);
38 void GPIO_Power_MainCPU_OFF(void); 39 void GPIO_Power_MainCPU_OFF(void);
39 40
40 #ifdef ENABLE_GPIO_V2 41 #ifdef ENABLE_GPIO_V2