: Header for main.c file. This file contains the common defines of the application. More...
#include "stm32g4xx_hal.h"Go to the source code of this file.
Macros | |
| #define | V_CHASSIS_Pin GPIO_PIN_1 |
| #define | V_CHASSIS_GPIO_Port GPIOC |
| #define | I_SOURCE_Pin GPIO_PIN_2 |
| #define | I_SOURCE_GPIO_Port GPIOC |
| #define | I_CHASSIS_Pin GPIO_PIN_3 |
| #define | I_CHASSIS_GPIO_Port GPIOC |
| #define | I_CAP_Pin GPIO_PIN_0 |
| #define | I_CAP_GPIO_Port GPIOA |
| #define | V_CAP_Pin GPIO_PIN_1 |
| #define | V_CAP_GPIO_Port GPIOA |
| #define | V_TEMP_Pin GPIO_PIN_1 |
| #define | V_TEMP_GPIO_Port GPIOB |
| #define | GPIO_LED_Pin GPIO_PIN_6 |
| #define | GPIO_LED_GPIO_Port GPIOC |
| #define | BAT_MOS_LOW_Pin GPIO_PIN_8 |
| #define | BAT_MOS_LOW_GPIO_Port GPIOC |
| #define | BAT_MOS_HIGH_Pin GPIO_PIN_9 |
| #define | BAT_MOS_HIGH_GPIO_Port GPIOC |
| #define | CAP_MOS_LOW_Pin GPIO_PIN_8 |
| #define | CAP_MOS_LOW_GPIO_Port GPIOA |
| #define | CAP_MOS_HIGH_Pin GPIO_PIN_9 |
| #define | CAP_MOS_HIGH_GPIO_Port GPIOA |
Functions | |
| void | StartDefaultTask (void *argument) |
| void | Error_Handler (void) |
| Period elapsed callback in non blocking mode. | |
: Header for main.c file. This file contains the common defines of the application.
Copyright (c) 2024 STMicroelectronics. All rights reserved.
This software is licensed under terms that can be found in the LICENSE file in the root directory of this software component. If no LICENSE file comes with this software, it is provided AS-IS.
| #define BAT_MOS_HIGH_GPIO_Port GPIOC |
| #define BAT_MOS_HIGH_Pin GPIO_PIN_9 |
| #define BAT_MOS_LOW_GPIO_Port GPIOC |
| #define BAT_MOS_LOW_Pin GPIO_PIN_8 |
| #define CAP_MOS_HIGH_GPIO_Port GPIOA |
| #define CAP_MOS_HIGH_Pin GPIO_PIN_9 |
| #define CAP_MOS_LOW_GPIO_Port GPIOA |
| #define CAP_MOS_LOW_Pin GPIO_PIN_8 |
| #define GPIO_LED_GPIO_Port GPIOC |
| #define GPIO_LED_Pin GPIO_PIN_6 |
| #define I_CAP_GPIO_Port GPIOA |
| #define I_CAP_Pin GPIO_PIN_0 |
| #define I_CHASSIS_GPIO_Port GPIOC |
| #define I_CHASSIS_Pin GPIO_PIN_3 |
| #define I_SOURCE_GPIO_Port GPIOC |
| #define I_SOURCE_Pin GPIO_PIN_2 |
| #define V_CAP_GPIO_Port GPIOA |
| #define V_CAP_Pin GPIO_PIN_1 |
| #define V_CHASSIS_GPIO_Port GPIOC |
| #define V_CHASSIS_Pin GPIO_PIN_1 |
| #define V_TEMP_GPIO_Port GPIOB |
| #define V_TEMP_Pin GPIO_PIN_1 |
| void Error_Handler | ( | void | ) |
Period elapsed callback in non blocking mode.
| htim | : TIM handle |
| None |
This function is executed in case of error occurrence.
| None |
Period elapsed callback in non blocking mode.
| None |
| void StartDefaultTask | ( | void * | argument | ) |