Changeset 65 for trunk/fw_g473rct/Core/Src/gpio.c
- Timestamp:
- Apr 2, 2026, 3:56:21 PM (5 weeks ago)
- File:
-
- 1 edited
-
trunk/fw_g473rct/Core/Src/gpio.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/fw_g473rct/Core/Src/gpio.c
r55 r65 59 59 60 60 /*Configure GPIO pin Output Level */ 61 HAL_GPIO_WritePin(GPIOB, LED_ERROR_Pin|BUZZER_Pin , GPIO_PIN_RESET);61 HAL_GPIO_WritePin(GPIOB, LED_ERROR_Pin|BUZZER_Pin|UCPD1_VBUS_Pin, GPIO_PIN_RESET); 62 62 63 63 /*Configure GPIO pins : AUX_EN_Pin ADC_START_CONV_Pin ADC_RESET_Pin */ … … 75 75 HAL_GPIO_Init(LED_FUNCTION_GPIO_Port, &GPIO_InitStruct); 76 76 77 /*Configure GPIO pins : LED_ERROR_Pin BUZZER_Pin */78 GPIO_InitStruct.Pin = LED_ERROR_Pin|BUZZER_Pin ;77 /*Configure GPIO pins : LED_ERROR_Pin BUZZER_Pin UCPD1_VBUS_Pin */ 78 GPIO_InitStruct.Pin = LED_ERROR_Pin|BUZZER_Pin|UCPD1_VBUS_Pin; 79 79 GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; 80 80 GPIO_InitStruct.Pull = GPIO_NOPULL;
Note:
See TracChangeset
for help on using the changeset viewer.
