create new branch for 23 charger testing
This commit is contained in:
@ -7,12 +7,13 @@
|
||||
******************************************************************************
|
||||
* @attention
|
||||
*
|
||||
* Copyright (c) 2024 STMicroelectronics.
|
||||
* All rights reserved.
|
||||
* <h2><center>© Copyright (c) 2022 STMicroelectronics.
|
||||
* All rights reserved.</center></h2>
|
||||
*
|
||||
* 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.
|
||||
* This software component is licensed by ST under BSD 3-Clause license,
|
||||
* the "License"; You may not use this file except in compliance with the
|
||||
* License. You may obtain a copy of the License at:
|
||||
* opensource.org/licenses/BSD-3-Clause
|
||||
*
|
||||
******************************************************************************
|
||||
*/
|
||||
@ -57,6 +58,32 @@ void Error_Handler(void);
|
||||
/* USER CODE END EFP */
|
||||
|
||||
/* Private defines -----------------------------------------------------------*/
|
||||
#define STATUS_LED_1_Pin GPIO_PIN_6
|
||||
#define STATUS_LED_1_GPIO_Port GPIOF
|
||||
#define STATUS_LED_2_Pin GPIO_PIN_7
|
||||
#define STATUS_LED_2_GPIO_Port GPIOF
|
||||
#define Display_Reset_Pin GPIO_PIN_8
|
||||
#define Display_Reset_GPIO_Port GPIOC
|
||||
#define Display_Standby_Pin GPIO_PIN_10
|
||||
#define Display_Standby_GPIO_Port GPIOC
|
||||
#define Display_Left_Right_Pin GPIO_PIN_11
|
||||
#define Display_Left_Right_GPIO_Port GPIOC
|
||||
#define Display_Up_Down_Pin GPIO_PIN_12
|
||||
#define Display_Up_Down_GPIO_Port GPIOC
|
||||
#define Charger_CC_Status_Pin GPIO_PIN_9
|
||||
#define Charger_CC_Status_GPIO_Port GPIOG
|
||||
#define Charger_OT_Pin GPIO_PIN_11
|
||||
#define Charger_OT_GPIO_Port GPIOG
|
||||
#define Charger_LIM_Pin GPIO_PIN_12
|
||||
#define Charger_LIM_GPIO_Port GPIOG
|
||||
#define Charger_DC_FAIL_Pin GPIO_PIN_13
|
||||
#define Charger_DC_FAIL_GPIO_Port GPIOG
|
||||
#define Charger_Relay_Pin GPIO_PIN_14
|
||||
#define Charger_Relay_GPIO_Port GPIOG
|
||||
#define Charger_AC_Fail_Pin GPIO_PIN_4
|
||||
#define Charger_AC_Fail_GPIO_Port GPIOB
|
||||
#define Charger_Remote_Shutdown_Pin GPIO_PIN_5
|
||||
#define Charger_Remote_Shutdown_GPIO_Port GPIOB
|
||||
|
||||
/* USER CODE BEGIN Private defines */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user