From 0c1353b36f899879ee67833bc7f027b4e6136ffe Mon Sep 17 00:00:00 2001 From: ShunjiHashimoto Date: Mon, 12 Aug 2024 10:25:27 +0900 Subject: [PATCH] =?UTF-8?q?=E5=89=B2=E3=82=8A=E8=BE=BC=E3=81=BF=E5=87=A6?= =?UTF-8?q?=E7=90=86Timer12=E3=82=92=E8=BF=BD=E5=8A=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- micro_tang.ioc | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/micro_tang.ioc b/micro_tang.ioc index 5ecfe62..6699dfc 100644 --- a/micro_tang.ioc +++ b/micro_tang.ioc @@ -24,7 +24,8 @@ Mcu.IP0=ADC1 Mcu.IP1=ADC2 Mcu.IP10=TIM5 Mcu.IP11=TIM9 -Mcu.IP12=USART3 +Mcu.IP12=TIM12 +Mcu.IP13=USART3 Mcu.IP2=NVIC Mcu.IP3=RCC Mcu.IP4=SPI2 @@ -33,7 +34,7 @@ Mcu.IP6=TIM1 Mcu.IP7=TIM2 Mcu.IP8=TIM3 Mcu.IP9=TIM4 -Mcu.IPNb=13 +Mcu.IPNb=14 Mcu.Name=STM32F405RGTx Mcu.Package=LQFP64 Mcu.Pin0=PC0 @@ -66,13 +67,14 @@ Mcu.Pin32=VP_TIM1_VS_ClockSourceINT Mcu.Pin33=VP_TIM4_VS_ClockSourceINT Mcu.Pin34=VP_TIM5_VS_ClockSourceINT Mcu.Pin35=VP_TIM9_VS_ClockSourceINT +Mcu.Pin36=VP_TIM12_VS_ClockSourceINT Mcu.Pin4=PA0-WKUP Mcu.Pin5=PA1 Mcu.Pin6=PA2 Mcu.Pin7=PA6 Mcu.Pin8=PA7 Mcu.Pin9=PC4 -Mcu.PinsNb=36 +Mcu.PinsNb=37 Mcu.ThirdPartyNb=0 Mcu.UserConstants= Mcu.UserName=STM32F405RGTx @@ -91,6 +93,7 @@ NVIC.SysTick_IRQn=true\:15\:0\:false\:false\:true\:false\:true\:false NVIC.TIM1_BRK_TIM9_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true NVIC.TIM4_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true NVIC.TIM5_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true +NVIC.TIM8_BRK_TIM12_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true NVIC.UsageFault_IRQn=true\:0\:0\:false\:false\:true\:false\:false\:false PA0-WKUP.GPIOParameters=GPIO_Label PA0-WKUP.GPIO_Label=EncoderL_TIM2_CH1 @@ -231,7 +234,7 @@ ProjectManager.ToolChainLocation= ProjectManager.UAScriptAfterPath=/home/hashimoto/STM32CubeIDE/workspace_1.14.0/micro_tang/scripts/after.py ProjectManager.UAScriptBeforePath=/home/hashimoto/STM32CubeIDE/workspace_1.14.0/micro_tang/scripts/before.py ProjectManager.UnderRoot=true -ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_USART3_UART_Init-USART3-false-HAL-true,4-MX_ADC1_Init-ADC1-false-HAL-true,5-MX_TIM1_Init-TIM1-false-HAL-true,6-MX_TIM2_Init-TIM2-false-HAL-true,7-MX_TIM4_Init-TIM4-false-HAL-true,8-MX_TIM3_Init-TIM3-false-HAL-true,9-MX_SPI2_Init-SPI2-false-HAL-true,10-MX_ADC2_Init-ADC2-false-HAL-true,11-MX_TIM5_Init-TIM5-false-HAL-true +ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_USART3_UART_Init-USART3-false-HAL-true,4-MX_ADC1_Init-ADC1-false-HAL-true,5-MX_TIM1_Init-TIM1-false-HAL-true,6-MX_TIM2_Init-TIM2-false-HAL-true,7-MX_TIM4_Init-TIM4-false-HAL-true,8-MX_TIM3_Init-TIM3-false-HAL-true,9-MX_SPI2_Init-SPI2-false-HAL-true,10-MX_ADC2_Init-ADC2-false-HAL-true,11-MX_TIM5_Init-TIM5-false-HAL-true,12-MX_TIM9_Init-TIM9-false-HAL-true RCC.48MHZClocksFreq_Value=84000000 RCC.AHBFreq_Value=168000000 RCC.APB1CLKDivider=RCC_HCLK_DIV4 @@ -300,6 +303,9 @@ TIM1.Channel-PWM\ Generation4\ CH4=TIM_CHANNEL_4 TIM1.IPParameters=Prescaler,Period,Channel-PWM Generation2 CH2,Channel-PWM Generation4 CH4 TIM1.Period=840-1 TIM1.Prescaler=0 +TIM12.IPParameters=Prescaler,Period +TIM12.Period=1000-1 +TIM12.Prescaler=84-1 TIM2.EncoderMode=TIM_ENCODERMODE_TI12 TIM2.IPParameters=Period,EncoderMode TIM2.Period=65535 @@ -319,6 +325,8 @@ USART3.IPParameters=VirtualMode USART3.VirtualMode=VM_ASYNC VP_SYS_VS_Systick.Mode=SysTick VP_SYS_VS_Systick.Signal=SYS_VS_Systick +VP_TIM12_VS_ClockSourceINT.Mode=Internal +VP_TIM12_VS_ClockSourceINT.Signal=TIM12_VS_ClockSourceINT VP_TIM1_VS_ClockSourceINT.Mode=Internal VP_TIM1_VS_ClockSourceINT.Signal=TIM1_VS_ClockSourceINT VP_TIM4_VS_ClockSourceINT.Mode=Internal