картиночки из куба
This commit is contained in:
@@ -144,9 +144,8 @@ void HAL_TIM_Base_MspInit(TIM_HandleTypeDef* htim_base)
|
||||
__HAL_RCC_GPIOA_CLK_ENABLE();
|
||||
/**TIM5 GPIO Configuration
|
||||
PA0-WKUP ------> TIM5_CH1
|
||||
PA1 ------> TIM5_CH2
|
||||
*/
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_0|GPIO_PIN_1;
|
||||
GPIO_InitStruct.Pin = GPIO_PIN_0;
|
||||
GPIO_InitStruct.Mode = GPIO_MODE_AF_PP;
|
||||
GPIO_InitStruct.Pull = GPIO_NOPULL;
|
||||
GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
|
||||
@@ -236,9 +235,8 @@ void HAL_TIM_Base_MspDeInit(TIM_HandleTypeDef* htim_base)
|
||||
|
||||
/**TIM5 GPIO Configuration
|
||||
PA0-WKUP ------> TIM5_CH1
|
||||
PA1 ------> TIM5_CH2
|
||||
*/
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0|GPIO_PIN_1);
|
||||
HAL_GPIO_DeInit(GPIOA, GPIO_PIN_0);
|
||||
|
||||
/* TIM5 DMA DeInit */
|
||||
HAL_DMA_DeInit(htim_base->hdma[TIM_DMA_ID_CC1]);
|
||||
|
Reference in New Issue
Block a user