Ignore:
Timestamp:
Apr 1, 2026, 9:33:58 AM (5 weeks ago)
Author:
f.jahn
Message:

Fixing Projects.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fw_g473rct/Core/Inc/main.h

    r44 r55  
    2929/* Includes ------------------------------------------------------------------*/
    3030#include "stm32g4xx_hal.h"
     31
     32#include "stm32g4xx_ll_ucpd.h"
     33#include "stm32g4xx_ll_bus.h"
     34#include "stm32g4xx_ll_cortex.h"
     35#include "stm32g4xx_ll_rcc.h"
     36#include "stm32g4xx_ll_system.h"
     37#include "stm32g4xx_ll_utils.h"
     38#include "stm32g4xx_ll_pwr.h"
     39#include "stm32g4xx_ll_gpio.h"
     40#include "stm32g4xx_ll_dma.h"
     41
     42#include "stm32g4xx_ll_exti.h"
    3143
    3244/* Private includes ----------------------------------------------------------*/
     
    6981#define LED_FUNCTION_Pin GPIO_PIN_4
    7082#define LED_FUNCTION_GPIO_Port GPIOA
    71 #define LED_ERROR_Pin GPIO_PIN_5
    72 #define LED_ERROR_GPIO_Port GPIOA
    7383#define ADC2_IN3_UBAT__Pin GPIO_PIN_6
    7484#define ADC2_IN3_UBAT__GPIO_Port GPIOA
    75 #define ADC3_IN12_MOSFET_TEMP_Pin GPIO_PIN_0
    76 #define ADC3_IN12_MOSFET_TEMP_GPIO_Port GPIOB
     85#define ADC2_IN4_UBAT__Pin GPIO_PIN_7
     86#define ADC2_IN4_UBAT__GPIO_Port GPIOA
     87#define LTC_CHARGE_CURRENT_MON_Pin GPIO_PIN_0
     88#define LTC_CHARGE_CURRENT_MON_GPIO_Port GPIOB
    7789#define ADC3_IN1_SHUNT_TEMP_Pin GPIO_PIN_1
    7890#define ADC3_IN1_SHUNT_TEMP_GPIO_Port GPIOB
     91#define LED_ERROR_Pin GPIO_PIN_2
     92#define LED_ERROR_GPIO_Port GPIOB
    7993#define BUZZER_Pin GPIO_PIN_10
    8094#define BUZZER_GPIO_Port GPIOB
    81 #define DISCHARGE_ENABLE_Pin GPIO_PIN_11
    82 #define DISCHARGE_ENABLE_GPIO_Port GPIOB
    83 #define CHARGE_ENABLE_Pin GPIO_PIN_12
    84 #define CHARGE_ENABLE_GPIO_Port GPIOB
    85 #define ADC3_IN5_RESERVIERT_Pin GPIO_PIN_13
    86 #define ADC3_IN5_RESERVIERT_GPIO_Port GPIOB
     95#define OVERWRITE_DISCHARGE_CTRL_Pin GPIO_PIN_11
     96#define OVERWRITE_DISCHARGE_CTRL_GPIO_Port GPIOB
     97#define OVERWRITE_CHARGE_CTRL_Pin GPIO_PIN_12
     98#define OVERWRITE_CHARGE_CTRL_GPIO_Port GPIOB
     99#define ADC3_IN5_LTC_DISCHARGE_CURRENT_MON_Pin GPIO_PIN_13
     100#define ADC3_IN5_LTC_DISCHARGE_CURRENT_MON_GPIO_Port GPIOB
    87101#define ADC4_IN4_U_SHUNT_SENSE__Pin GPIO_PIN_14
    88102#define ADC4_IN4_U_SHUNT_SENSE__GPIO_Port GPIOB
Note: See TracChangeset for help on using the changeset viewer.