pull-ups / pull-downs in .ioc

This commit is contained in:
Anton Mukhin
2024-07-04 16:37:26 +03:00
parent 64a64b36c3
commit 7da825917f
2 changed files with 15 additions and 9 deletions

View File

@@ -345,13 +345,13 @@ static void MX_GPIO_Init(void)
/*Configure GPIO pins : HVS_OVERLOAD_Pin HVS_OVERHEAT_Pin */
GPIO_InitStruct.Pin = HVS_OVERLOAD_Pin|HVS_OVERHEAT_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Pull = GPIO_PULLDOWN;
HAL_GPIO_Init(GPIOC, &GPIO_InitStruct);
/*Configure GPIO pins : HVS_NOLINK_Pin HVS_XRAYON_Pin HVS_READY_Pin */
GPIO_InitStruct.Pin = HVS_NOLINK_Pin|HVS_XRAYON_Pin|HVS_READY_Pin;
GPIO_InitStruct.Mode = GPIO_MODE_INPUT;
GPIO_InitStruct.Pull = GPIO_NOPULL;
GPIO_InitStruct.Pull = GPIO_PULLDOWN;
HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
/*Configure GPIO pin : HVS_CONN_Pin */