mirror of
https://gitea.ecohim.ru:3000/RS485_BSV/RS485_BSV_fw.git
synced 2025-08-03 23:17:06 +03:00
pull-ups / pull-downs in .ioc
This commit is contained in:
@@ -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 */
|
||||
|
Reference in New Issue
Block a user