Ignore:
Timestamp:
Apr 2, 2026, 3:56:21 PM (5 weeks ago)
Author:
f.jahn
Message:
  • USB-PD function was implemented;
  • HW parity check on RAM was activated;
  • USB Device CDC mode was activated.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/fw_g473rct/Core/Src/gpio.c

    r55 r65  
    5959
    6060  /*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);
    6262
    6363  /*Configure GPIO pins : AUX_EN_Pin ADC_START_CONV_Pin ADC_RESET_Pin */
     
    7575  HAL_GPIO_Init(LED_FUNCTION_GPIO_Port, &GPIO_InitStruct);
    7676
    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;
    7979  GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
    8080  GPIO_InitStruct.Pull = GPIO_NOPULL;
Note: See TracChangeset for help on using the changeset viewer.