This commit is contained in:
2024-06-27 04:30:08 +03:00
parent 672338ac0f
commit 5528fff6e4
16 changed files with 13751 additions and 28 deletions

View File

@@ -57,6 +57,18 @@ void Error_Handler(void);
/* USER CODE END EFP */
/* Private defines -----------------------------------------------------------*/
#define U_CTRL_Pin GPIO_PIN_4
#define U_CTRL_GPIO_Port GPIOA
#define I_CTRL_Pin GPIO_PIN_5
#define I_CTRL_GPIO_Port GPIOA
#define U_MON_Pin GPIO_PIN_6
#define U_MON_GPIO_Port GPIOA
#define I_MON_Pin GPIO_PIN_7
#define I_MON_GPIO_Port GPIOA
#define HVS_24V_Pin GPIO_PIN_4
#define HVS_24V_GPIO_Port GPIOC
#define HVS_15V_Pin GPIO_PIN_5
#define HVS_15V_GPIO_Port GPIOC
#define HVS_ENABLE_Pin GPIO_PIN_7
#define HVS_ENABLE_GPIO_Port GPIOC
#define HVS_OVERLOAD_Pin GPIO_PIN_8
@@ -69,6 +81,8 @@ void Error_Handler(void);
#define HVS_XRAYON_GPIO_Port GPIOA
#define HVS_READY_Pin GPIO_PIN_10
#define HVS_READY_GPIO_Port GPIOA
#define HVS_CONN_Pin GPIO_PIN_11
#define HVS_CONN_GPIO_Port GPIOA
#define TXEN_Pin GPIO_PIN_5
#define TXEN_GPIO_Port GPIOB

View File

@@ -34,14 +34,14 @@
*/
#define HAL_MODULE_ENABLED
/*#define HAL_ADC_MODULE_ENABLED */
#define HAL_ADC_MODULE_ENABLED
/*#define HAL_CRYP_MODULE_ENABLED */
/*#define HAL_CAN_MODULE_ENABLED */
/*#define HAL_CAN_LEGACY_MODULE_ENABLED */
/*#define HAL_CEC_MODULE_ENABLED */
/*#define HAL_CORTEX_MODULE_ENABLED */
/*#define HAL_CRC_MODULE_ENABLED */
/*#define HAL_DAC_MODULE_ENABLED */
#define HAL_DAC_MODULE_ENABLED
#define HAL_DMA_MODULE_ENABLED
/*#define HAL_ETH_MODULE_ENABLED */
/*#define HAL_FLASH_MODULE_ENABLED */