diff --git a/Inc/key.h b/Inc/key.h index 991519f..166bb5f 100644 --- a/Inc/key.h +++ b/Inc/key.h @@ -1,2 +1,5 @@ #define KEY_PRESSED GPIO_PIN_RESET #define KEY_NOT_PRESSED GPIO_PIN_SET +//WK_UP 是高电平有效,其他三个按键是低电平有效。 +#define KEY_UP_PRESSED GPIO_PIN_SET +#define KEY_UP_NOT_PRESSED GPIO_PIN_RESET diff --git a/Inc/main.h b/Inc/main.h index 05860c6..4636605 100644 --- a/Inc/main.h +++ b/Inc/main.h @@ -57,6 +57,10 @@ void Error_Handler(void); /* USER CODE END EFP */ /* Private defines -----------------------------------------------------------*/ +#define KEY_UP_Pin GPIO_PIN_13 +#define KEY_UP_GPIO_Port GPIOC +#define BIN1_Pin GPIO_PIN_4 +#define BIN1_GPIO_Port GPIOA #define BEEP_Pin GPIO_PIN_2 #define BEEP_GPIO_Port GPIOB #define LED_R_Pin GPIO_PIN_7 @@ -65,14 +69,18 @@ void Error_Handler(void); #define LED_G_GPIO_Port GPIOE #define LED_B_Pin GPIO_PIN_9 #define LED_B_GPIO_Port GPIOE +#define BIN2_Pin GPIO_PIN_11 +#define BIN2_GPIO_Port GPIOB +#define PWMB_Pin GPIO_PIN_13 +#define PWMB_GPIO_Port GPIOB #define SERVO_Pin GPIO_PIN_15 #define SERVO_GPIO_Port GPIOB -#define KEY0_Pin GPIO_PIN_8 -#define KEY0_GPIO_Port GPIOD -#define KEY1_Pin GPIO_PIN_9 -#define KEY1_GPIO_Port GPIOD -#define KEY2_Pin GPIO_PIN_10 -#define KEY2_GPIO_Port GPIOD +#define KEY_LEFT_Pin GPIO_PIN_8 +#define KEY_LEFT_GPIO_Port GPIOD +#define KEY_DOWN_Pin GPIO_PIN_9 +#define KEY_DOWN_GPIO_Port GPIOD +#define KEY_RIGHT_Pin GPIO_PIN_10 +#define KEY_RIGHT_GPIO_Port GPIOD #define PB8_EXTI_Pin GPIO_PIN_8 #define PB8_EXTI_GPIO_Port GPIOB #define PB8_EXTI_EXTI_IRQn EXTI9_5_IRQn diff --git a/Inc/servo.h b/Inc/servo.h index 4a488df..b7b058b 100644 --- a/Inc/servo.h +++ b/Inc/servo.h @@ -1,6 +1,6 @@ #include "main.h" //Tanslate angle into Capture Compare Register value -#define ANGLETOCCR(angle) 2000 * (angle) / 180 + 500 +#define ANGLETOCCR(angle) (2000 * (angle) / 180 + 500) extern int16_t Servo_Speed,Servo_goal,Servo_position; diff --git a/Inc/tim.h b/Inc/tim.h index ed7c4ad..e30315e 100644 --- a/Inc/tim.h +++ b/Inc/tim.h @@ -49,7 +49,7 @@ void MX_TIM15_Init(void); void HAL_TIM_MspPostInit(TIM_HandleTypeDef *htim); /* USER CODE BEGIN Prototypes */ - +int NewCCRValue(int now_ccr,int plus,int maxvalue); /* USER CODE END Prototypes */ #ifdef __cplusplus diff --git a/MDK-ARM/Project/Project.axf b/MDK-ARM/Project/Project.axf index c64e03c..3feca2a 100644 Binary files a/MDK-ARM/Project/Project.axf and b/MDK-ARM/Project/Project.axf differ diff --git a/MDK-ARM/Project/Project.build_log.htm b/MDK-ARM/Project/Project.build_log.htm index baad677..644b150 100644 --- a/MDK-ARM/Project/Project.build_log.htm +++ b/MDK-ARM/Project/Project.build_log.htm @@ -27,12 +27,12 @@ Project File Date: 11/07/2024
#<CALLGRAPH># ARM Linker, 5060528: Last Updated: Thu Nov 07 16:23:17 2024
+
#<CALLGRAPH># ARM Linker, 5060528: Last Updated: Thu Nov 07 21:12:51 2024
-
@@ -128,7 +128,7 @@ Global Symbols
__main (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
[Address Reference Count : 1]
_main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001)) +
_main_stk (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
_main_scatterload (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
[Calls]
_main_clock (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008)) +
_main_clock (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008)) -
_main_cpp_init (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A)) +
_main_cpp_init (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A)) -
_main_init (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B)) +
_main_init (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B)) -
__rt_final_cpp (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D)) +
__rt_final_cpp (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000D)) -
__rt_final_exit (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F)) +
__rt_final_exit (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$0000000F))
Reset_Handler (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32l475xx.o(.text))
[Address Reference Count : 1]
__aeabi_memset (Thumb, 14 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) @@ -400,49 +400,49 @@ Global Symbols
__aeabi_memset4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) +
__aeabi_memset4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) -
__aeabi_memset8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) +
__aeabi_memset8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
__aeabi_memclr (Thumb, 4 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
[Calls]
__aeabi_memclr4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text))
-
[Called By]
__aeabi_memclr4 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text))
+
[Called By]
__aeabi_memclr8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED) +
__aeabi_memclr8 (Thumb, 0 bytes, Stack size 0 bytes, memseta.o(.text), UNUSED)
_memset$wrapper (Thumb, 18 bytes, Stack size 8 bytes, memseta.o(.text), UNUSED)
[Calls]
strcmp (Thumb, 28 bytes, Stack size 8 bytes, strcmp.o(.text)) +
strcmp (Thumb, 28 bytes, Stack size 8 bytes, strcmp.o(.text))
[Stack]
__aeabi_llsl (Thumb, 30 bytes, Stack size 0 bytes, llshl.o(.text))
[Called By]
_ll_shift_l (Thumb, 0 bytes, Stack size 0 bytes, llshl.o(.text), UNUSED) +
_ll_shift_l (Thumb, 0 bytes, Stack size 0 bytes, llshl.o(.text), UNUSED)
__aeabi_llsr (Thumb, 32 bytes, Stack size 0 bytes, llushr.o(.text))
[Called By]
_ll_ushift_r (Thumb, 0 bytes, Stack size 0 bytes, llushr.o(.text), UNUSED) +
_ll_ushift_r (Thumb, 0 bytes, Stack size 0 bytes, llushr.o(.text), UNUSED)
__scatterload (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
[Calls]
__scatterload_rt2 (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED) +
__scatterload_rt2 (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
ADC_Disable (Thumb, 106 bytes, Stack size 16 bytes, stm32l4xx_hal_adc.o(i.ADC_Disable))
[Stack]
ADC_Enable (Thumb, 154 bytes, Stack size 24 bytes, stm32l4xx_hal_adc.o(i.ADC_Enable)) @@ -465,15 +465,7 @@ Global Symbols
Breathing_light (Thumb, 56 bytes, Stack size 16 bytes, main.o(i.Breathing_light))
-
[Stack]
BusFault_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.BusFault_Handler))
@@ -487,24 +479,24 @@ Global Symbols
[Address Reference Count : 1]
EXTI9_5_IRQHandler (Thumb, 22 bytes, Stack size 8 bytes, stm32l4xx_it.o(i.EXTI9_5_IRQHandler))
-
[Stack]
Error_Handler (Thumb, 4 bytes, Stack size 0 bytes, main.o(i.Error_Handler))
-
[Called By]
Error_Handler (Thumb, 4 bytes, Stack size 0 bytes, main.o(i.Error_Handler))
+
[Called By]
HAL_ADCEx_Calibration_Start (Thumb, 140 bytes, Stack size 24 bytes, stm32l4xx_hal_adc_ex.o(i.HAL_ADCEx_Calibration_Start)) +
HAL_ADCEx_Calibration_Start (Thumb, 140 bytes, Stack size 24 bytes, stm32l4xx_hal_adc_ex.o(i.HAL_ADCEx_Calibration_Start))
[Stack]
HAL_ADCEx_MultiModeConfigChannel (Thumb, 234 bytes, Stack size 136 bytes, stm32l4xx_hal_adc_ex.o(i.HAL_ADCEx_MultiModeConfigChannel)) +
HAL_ADCEx_MultiModeConfigChannel (Thumb, 234 bytes, Stack size 136 bytes, stm32l4xx_hal_adc_ex.o(i.HAL_ADCEx_MultiModeConfigChannel))
[Stack]
HAL_ADC_ConfigChannel (Thumb, 966 bytes, Stack size 40 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_ConfigChannel)) +
HAL_ADC_ConfigChannel (Thumb, 966 bytes, Stack size 40 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_ConfigChannel))
[Stack]
HAL_ADC_Init (Thumb, 410 bytes, Stack size 24 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_Init)) +
HAL_ADC_Init (Thumb, 410 bytes, Stack size 24 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_Init))
[Stack]
HAL_ADC_MspInit (Thumb, 138 bytes, Stack size 168 bytes, adc.o(i.HAL_ADC_MspInit)) +
HAL_ADC_MspInit (Thumb, 138 bytes, Stack size 168 bytes, adc.o(i.HAL_ADC_MspInit))
[Stack]
HAL_ADC_Start (Thumb, 228 bytes, Stack size 24 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_Start)) +
HAL_ADC_Start (Thumb, 228 bytes, Stack size 24 bytes, stm32l4xx_hal_adc.o(i.HAL_ADC_Start))
[Stack]
HAL_DMA_Abort (Thumb, 74 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort)) +
HAL_DMA_Abort (Thumb, 74 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort))
[Stack]
HAL_DMA_Abort_IT (Thumb, 78 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort_IT)) +
HAL_DMA_Abort_IT (Thumb, 78 bytes, Stack size 8 bytes, stm32l4xx_hal_dma.o(i.HAL_DMA_Abort_IT))
[Stack]
HAL_Delay (Thumb, 32 bytes, Stack size 16 bytes, stm32l4xx_hal.o(i.HAL_Delay)) +
HAL_Delay (Thumb, 32 bytes, Stack size 16 bytes, stm32l4xx_hal.o(i.HAL_Delay))
[Stack]
HAL_GPIO_EXTI_Callback (Thumb, 56 bytes, Stack size 8 bytes, stm32l4xx_it.o(i.HAL_GPIO_EXTI_Callback))
-
[Stack]
HAL_GPIO_EXTI_Callback (Thumb, 56 bytes, Stack size 8 bytes, stm32l4xx_it.o(i.HAL_GPIO_EXTI_Callback))
+
[Stack]
HAL_GPIO_EXTI_IRQHandler (Thumb, 18 bytes, Stack size 8 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_EXTI_IRQHandler))
-
[Stack]
HAL_GPIO_EXTI_IRQHandler (Thumb, 18 bytes, Stack size 8 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_EXTI_IRQHandler))
+
[Stack]
HAL_GPIO_Init (Thumb, 500 bytes, Stack size 56 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_Init)) +
HAL_GPIO_Init (Thumb, 500 bytes, Stack size 56 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_Init))
[Stack]
HAL_GPIO_ReadPin (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_ReadPin))
-
[Called By]
HAL_GPIO_ReadPin (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_ReadPin))
+
[Called By]
HAL_GPIO_TogglePin (Thumb, 16 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_TogglePin))
-
[Called By]
HAL_GPIO_TogglePin (Thumb, 16 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_TogglePin))
+
[Called By]
HAL_GPIO_WritePin (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_WritePin))
-
[Called By]
HAL_GPIO_WritePin (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_gpio.o(i.HAL_GPIO_WritePin))
+
[Called By]
HAL_GetTick (Thumb, 6 bytes, Stack size 0 bytes, stm32l4xx_hal.o(i.HAL_GetTick))
-
[Called By]
HAL_IncTick (Thumb, 12 bytes, Stack size 0 bytes, stm32l4xx_hal.o(i.HAL_IncTick)) +
HAL_IncTick (Thumb, 12 bytes, Stack size 0 bytes, stm32l4xx_hal.o(i.HAL_IncTick))
[Called By]
HAL_Init (Thumb, 30 bytes, Stack size 8 bytes, stm32l4xx_hal.o(i.HAL_Init)) +
HAL_Init (Thumb, 30 bytes, Stack size 8 bytes, stm32l4xx_hal.o(i.HAL_Init))
[Stack]
HAL_InitTick (Thumb, 58 bytes, Stack size 16 bytes, stm32l4xx_hal.o(i.HAL_InitTick)) +
HAL_InitTick (Thumb, 58 bytes, Stack size 16 bytes, stm32l4xx_hal.o(i.HAL_InitTick))
[Stack]
HAL_MspInit (Thumb, 38 bytes, Stack size 8 bytes, stm32l4xx_hal_msp.o(i.HAL_MspInit)) +
HAL_MspInit (Thumb, 38 bytes, Stack size 8 bytes, stm32l4xx_hal_msp.o(i.HAL_MspInit))
[Stack]
HAL_NVIC_EnableIRQ (Thumb, 26 bytes, Stack size 0 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_EnableIRQ))
-
[Called By]
HAL_NVIC_EnableIRQ (Thumb, 26 bytes, Stack size 0 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_EnableIRQ))
+
[Called By]
HAL_NVIC_SetPriority (Thumb, 60 bytes, Stack size 16 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_SetPriority)) +
HAL_NVIC_SetPriority (Thumb, 60 bytes, Stack size 16 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_SetPriority))
[Stack]
HAL_NVIC_SetPriorityGrouping (Thumb, 26 bytes, Stack size 0 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_SetPriorityGrouping))
-
[Called By]
HAL_NVIC_SetPriorityGrouping (Thumb, 26 bytes, Stack size 0 bytes, stm32l4xx_hal_cortex.o(i.HAL_NVIC_SetPriorityGrouping))
+
[Called By]
HAL_PWREx_ControlVoltageScaling (Thumb, 90 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_ControlVoltageScaling))
-
[Called By]
HAL_PWREx_ControlVoltageScaling (Thumb, 90 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_ControlVoltageScaling))
+
[Called By]
HAL_PWREx_GetVoltageRange (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_GetVoltageRange))
-
[Called By]
HAL_PWREx_GetVoltageRange (Thumb, 10 bytes, Stack size 0 bytes, stm32l4xx_hal_pwr_ex.o(i.HAL_PWREx_GetVoltageRange))
+
[Called By]
HAL_RCCEx_PeriphCLKConfig (Thumb, 928 bytes, Stack size 40 bytes, stm32l4xx_hal_rcc_ex.o(i.HAL_RCCEx_PeriphCLKConfig)) +
HAL_RCCEx_PeriphCLKConfig (Thumb, 928 bytes, Stack size 40 bytes, stm32l4xx_hal_rcc_ex.o(i.HAL_RCCEx_PeriphCLKConfig))
[Stack]
HAL_RCC_ClockConfig (Thumb, 304 bytes, Stack size 32 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_ClockConfig)) +
HAL_RCC_ClockConfig (Thumb, 304 bytes, Stack size 32 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_ClockConfig))
[Stack]
HAL_RCC_GetPCLK1Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK1Freq))
-
[Called By]
HAL_RCC_GetPCLK1Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK1Freq))
+
[Called By]
HAL_RCC_GetPCLK2Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK2Freq))
-
[Called By]
HAL_RCC_GetPCLK2Freq (Thumb, 24 bytes, Stack size 0 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetPCLK2Freq))
+
[Called By]
HAL_RCC_GetSysClockFreq (Thumb, 150 bytes, Stack size 16 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetSysClockFreq)) +
HAL_RCC_GetSysClockFreq (Thumb, 150 bytes, Stack size 16 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_GetSysClockFreq))
[Stack]
HAL_RCC_OscConfig (Thumb, 1294 bytes, Stack size 32 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_OscConfig)) +
HAL_RCC_OscConfig (Thumb, 1294 bytes, Stack size 32 bytes, stm32l4xx_hal_rcc.o(i.HAL_RCC_OscConfig))
[Stack]
HAL_SPI_Init (Thumb, 224 bytes, Stack size 16 bytes, stm32l4xx_hal_spi.o(i.HAL_SPI_Init)) +
HAL_SPI_Init (Thumb, 224 bytes, Stack size 16 bytes, stm32l4xx_hal_spi.o(i.HAL_SPI_Init))
[Stack]
HAL_SPI_MspInit (Thumb, 112 bytes, Stack size 40 bytes, spi.o(i.HAL_SPI_MspInit)) +
HAL_SPI_MspInit (Thumb, 112 bytes, Stack size 40 bytes, spi.o(i.HAL_SPI_MspInit))
[Stack]
HAL_SPI_Transmit (Thumb, 398 bytes, Stack size 40 bytes, stm32l4xx_hal_spi.o(i.HAL_SPI_Transmit)) +
HAL_SPI_Transmit (Thumb, 398 bytes, Stack size 40 bytes, stm32l4xx_hal_spi.o(i.HAL_SPI_Transmit))
[Stack]
HAL_SYSTICK_Config (Thumb, 40 bytes, Stack size 8 bytes, stm32l4xx_hal_cortex.o(i.HAL_SYSTICK_Config)) +
HAL_SYSTICK_Config (Thumb, 40 bytes, Stack size 8 bytes, stm32l4xx_hal_cortex.o(i.HAL_SYSTICK_Config))
[Stack]
HAL_TIMEx_Break2Callback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_Break2Callback))
-
[Called By]
HAL_TIMEx_Break2Callback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_Break2Callback))
+
[Called By]
HAL_TIMEx_BreakCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_BreakCallback))
-
[Called By]
HAL_TIMEx_BreakCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_BreakCallback))
+
[Called By]
HAL_TIMEx_CommutCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_CommutCallback))
-
[Called By]
HAL_TIMEx_CommutCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_CommutCallback))
+
[Called By]
HAL_TIMEx_ConfigBreakDeadTime (Thumb, 132 bytes, Stack size 12 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_ConfigBreakDeadTime)) +
HAL_TIMEx_ConfigBreakDeadTime (Thumb, 132 bytes, Stack size 12 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_ConfigBreakDeadTime))
[Stack]
HAL_TIMEx_MasterConfigSynchronization (Thumb, 130 bytes, Stack size 20 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_MasterConfigSynchronization)) +
HAL_TIMEx_MasterConfigSynchronization (Thumb, 130 bytes, Stack size 20 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_MasterConfigSynchronization))
[Stack]
HAL_TIM_Base_Init (Thumb, 98 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_Base_Init)) +
HAL_TIMEx_PWMN_Start (Thumb, 164 bytes, Stack size 8 bytes, stm32l4xx_hal_tim_ex.o(i.HAL_TIMEx_PWMN_Start))
+
[Stack]
HAL_TIM_Base_Init (Thumb, 98 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_Base_Init))
[Stack]
HAL_TIM_Base_MspInit (Thumb, 72 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_Base_MspInit)) +
HAL_TIM_Base_MspInit (Thumb, 72 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_Base_MspInit))
[Stack]
HAL_TIM_Base_Start_IT (Thumb, 100 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_Base_Start_IT)) +
HAL_TIM_Base_Start_IT (Thumb, 100 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_Base_Start_IT))
[Called By]
HAL_TIM_ConfigClockSource (Thumb, 220 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_ConfigClockSource)) +
HAL_TIM_ConfigClockSource (Thumb, 220 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_ConfigClockSource))
[Stack]
HAL_TIM_IC_CaptureCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_IC_CaptureCallback))
-
[Called By]
HAL_TIM_IC_CaptureCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_IC_CaptureCallback))
+
[Called By]
HAL_TIM_IRQHandler (Thumb, 330 bytes, Stack size 24 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_IRQHandler)) +
HAL_TIM_IRQHandler (Thumb, 330 bytes, Stack size 24 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_IRQHandler))
[Stack]
HAL_TIM_MspPostInit (Thumb, 114 bytes, Stack size 32 bytes, tim.o(i.HAL_TIM_MspPostInit)) +
HAL_TIM_MspPostInit (Thumb, 114 bytes, Stack size 32 bytes, tim.o(i.HAL_TIM_MspPostInit))
[Stack]
HAL_TIM_OC_DelayElapsedCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_OC_DelayElapsedCallback))
-
[Called By]
HAL_TIM_OC_DelayElapsedCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_OC_DelayElapsedCallback))
+
[Called By]
HAL_TIM_PWM_ConfigChannel (Thumb, 292 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_ConfigChannel)) +
HAL_TIM_PWM_ConfigChannel (Thumb, 292 bytes, Stack size 16 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_ConfigChannel))
[Stack]
HAL_TIM_PWM_Init (Thumb, 98 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Init)) +
HAL_TIM_PWM_Init (Thumb, 98 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Init))
[Stack]
HAL_TIM_PWM_MspInit (Thumb, 30 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_PWM_MspInit)) +
HAL_TIM_PWM_MspInit (Thumb, 30 bytes, Stack size 8 bytes, tim.o(i.HAL_TIM_PWM_MspInit))
[Stack]
HAL_TIM_PWM_PulseFinishedCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_PulseFinishedCallback))
-
[Called By]
HAL_TIM_PWM_PulseFinishedCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_PulseFinishedCallback))
+
[Called By]
HAL_TIM_PWM_Start (Thumb, 224 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Start)) +
HAL_TIM_PWM_Start (Thumb, 224 bytes, Stack size 12 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_PWM_Start))
[Stack]
HAL_TIM_PeriodElapsedCallback (Thumb, 126 bytes, Stack size 4 bytes, servo.o(i.HAL_TIM_PeriodElapsedCallback)) +
HAL_TIM_PeriodElapsedCallback (Thumb, 126 bytes, Stack size 4 bytes, servo.o(i.HAL_TIM_PeriodElapsedCallback))
[Stack]
HAL_TIM_TriggerCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_TriggerCallback))
-
[Called By]
HAL_TIM_TriggerCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_tim.o(i.HAL_TIM_TriggerCallback))
+
[Called By]
HAL_UARTEx_ReceiveToIdle_IT (Thumb, 78 bytes, Stack size 16 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_ReceiveToIdle_IT)) +
HAL_UARTEx_ReceiveToIdle_IT (Thumb, 78 bytes, Stack size 16 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_ReceiveToIdle_IT))
[Stack]
HAL_UARTEx_RxEventCallback (Thumb, 178 bytes, Stack size 24 bytes, main.o(i.HAL_UARTEx_RxEventCallback)) +
HAL_UARTEx_RxEventCallback (Thumb, 178 bytes, Stack size 24 bytes, main.o(i.HAL_UARTEx_RxEventCallback))
[Stack]
HAL_UARTEx_WakeupCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_WakeupCallback))
-
[Called By]
HAL_UARTEx_WakeupCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart_ex.o(i.HAL_UARTEx_WakeupCallback))
+
[Called By]
HAL_UART_ErrorCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_ErrorCallback)) +
HAL_UART_ErrorCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_ErrorCallback))
[Called By]
HAL_UART_IRQHandler (Thumb, 704 bytes, Stack size 24 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_IRQHandler)) +
HAL_UART_IRQHandler (Thumb, 704 bytes, Stack size 24 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_IRQHandler))
[Stack]
HAL_UART_Init (Thumb, 102 bytes, Stack size 8 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Init)) +
HAL_UART_Init (Thumb, 102 bytes, Stack size 8 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Init))
[Stack]
HAL_UART_MspInit (Thumb, 134 bytes, Stack size 168 bytes, usart.o(i.HAL_UART_MspInit)) +
HAL_UART_MspInit (Thumb, 134 bytes, Stack size 168 bytes, usart.o(i.HAL_UART_MspInit))
[Stack]
HAL_UART_RxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_RxCpltCallback)) +
HAL_UART_RxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_RxCpltCallback))
[Called By]
HAL_UART_Transmit (Thumb, 164 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Transmit)) +
HAL_UART_Transmit (Thumb, 164 bytes, Stack size 32 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_Transmit))
[Stack]
HAL_UART_TxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_TxCpltCallback))
-
[Called By]
HAL_UART_TxCpltCallback (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_hal_uart.o(i.HAL_UART_TxCpltCallback))
+
[Called By]
HardFault_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.HardFault_Handler)) @@ -1036,157 +1037,159 @@ Global Symbols
Key_get (Thumb, 190 bytes, Stack size 32 bytes, main.o(i.Key_get))
-
[Stack]
Key_get (Thumb, 362 bytes, Stack size 48 bytes, main.o(i.Key_get))
+
[Stack]
LCD_Address_Set (Thumb, 82 bytes, Stack size 24 bytes, lcd.o(i.LCD_Address_Set)) +
LCD_Address_Set (Thumb, 82 bytes, Stack size 24 bytes, lcd.o(i.LCD_Address_Set))
[Stack]
LCD_Clear (Thumb, 80 bytes, Stack size 16 bytes, lcd.o(i.LCD_Clear)) +
LCD_Clear (Thumb, 80 bytes, Stack size 16 bytes, lcd.o(i.LCD_Clear))
[Stack]
LCD_Init (Thumb, 412 bytes, Stack size 8 bytes, lcd.o(i.LCD_Init)) +
LCD_Init (Thumb, 412 bytes, Stack size 8 bytes, lcd.o(i.LCD_Init))
[Stack]
LCD_ShowChar (Thumb, 300 bytes, Stack size 40 bytes, lcd.o(i.LCD_ShowChar)) +
LCD_ShowChar (Thumb, 300 bytes, Stack size 40 bytes, lcd.o(i.LCD_ShowChar))
[Stack]
LCD_ShowxNum (Thumb, 114 bytes, Stack size 56 bytes, lcd.o(i.LCD_ShowxNum)) +
LCD_ShowxNum (Thumb, 114 bytes, Stack size 56 bytes, lcd.o(i.LCD_ShowxNum))
[Stack]
LCD_Write_HalfWord (Thumb, 36 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_HalfWord)) +
LCD_Write_HalfWord (Thumb, 36 bytes, Stack size 8 bytes, lcd.o(i.LCD_Write_HalfWord))
[Stack]
MX_ADC1_Init (Thumb, 132 bytes, Stack size 48 bytes, adc.o(i.MX_ADC1_Init)) +
MX_ADC1_Init (Thumb, 132 bytes, Stack size 48 bytes, adc.o(i.MX_ADC1_Init))
[Stack]
MX_GPIO_Init (Thumb, 240 bytes, Stack size 48 bytes, gpio.o(i.MX_GPIO_Init))
-
[Stack]
MX_GPIO_Init (Thumb, 314 bytes, Stack size 56 bytes, gpio.o(i.MX_GPIO_Init))
+
[Stack]
MX_SPI3_Init (Thumb, 70 bytes, Stack size 8 bytes, spi.o(i.MX_SPI3_Init)) +
MX_SPI3_Init (Thumb, 70 bytes, Stack size 8 bytes, spi.o(i.MX_SPI3_Init))
[Stack]
MX_TIM15_Init (Thumb, 198 bytes, Stack size 112 bytes, tim.o(i.MX_TIM15_Init)) +
MX_TIM15_Init (Thumb, 216 bytes, Stack size 112 bytes, tim.o(i.MX_TIM15_Init))
[Stack]
MX_TIM1_Init (Thumb, 168 bytes, Stack size 96 bytes, tim.o(i.MX_TIM1_Init)) +
MX_TIM1_Init (Thumb, 168 bytes, Stack size 96 bytes, tim.o(i.MX_TIM1_Init))
[Stack]
MX_TIM7_Init (Thumb, 60 bytes, Stack size 24 bytes, tim.o(i.MX_TIM7_Init)) +
MX_TIM7_Init (Thumb, 60 bytes, Stack size 24 bytes, tim.o(i.MX_TIM7_Init))
[Stack]
MX_USART1_UART_Init (Thumb, 52 bytes, Stack size 8 bytes, usart.o(i.MX_USART1_UART_Init)) +
MX_USART1_UART_Init (Thumb, 52 bytes, Stack size 8 bytes, usart.o(i.MX_USART1_UART_Init))
[Stack]
NewCCRValue (Thumb, 30 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.NewCCRValue))
-
[Called By]
NewCCRValue (Thumb, 24 bytes, Stack size 0 bytes, tim.o(i.NewCCRValue))
+
[Called By]
PendSV_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.PendSV_Handler))
[Address Reference Count : 1]
SET3CCR (Thumb, 30 bytes, Stack size 4 bytes, stm32l4xx_it.o(i.SET3CCR))
-
[Stack]
SET3CCR (Thumb, 32 bytes, Stack size 8 bytes, stm32l4xx_it.o(i.SET3CCR))
+
[Stack]
SPI3_Init (Thumb, 66 bytes, Stack size 8 bytes, spi3.o(i.SPI3_Init)) +
SPI3_Init (Thumb, 66 bytes, Stack size 8 bytes, spi3.o(i.SPI3_Init))
[Stack]
SPI3_WriteByte (Thumb, 14 bytes, Stack size 0 bytes, spi3.o(i.SPI3_WriteByte)) +
SPI3_WriteByte (Thumb, 14 bytes, Stack size 0 bytes, spi3.o(i.SPI3_WriteByte))
[Stack]
SVC_Handler (Thumb, 2 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.SVC_Handler))
[Address Reference Count : 1]
Servo_SetAngle (Thumb, 28 bytes, Stack size 0 bytes, servo.o(i.Servo_SetAngle))
-
[Called By]
Servo_SetAngle (Thumb, 28 bytes, Stack size 0 bytes, servo.o(i.Servo_SetAngle))
+
[Called By]
Servo_toward (Thumb, 24 bytes, Stack size 0 bytes, servo.o(i.Servo_toward))
-
[Called By]
Servo_toward (Thumb, 24 bytes, Stack size 0 bytes, servo.o(i.Servo_toward))
+
[Called By]
SysTick_Handler (Thumb, 4 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.SysTick_Handler))
-
[Calls]
SystemClock_Config (Thumb, 110 bytes, Stack size 96 bytes, main.o(i.SystemClock_Config)) +
SystemClock_Config (Thumb, 110 bytes, Stack size 96 bytes, main.o(i.SystemClock_Config))
[Stack]
TIM7_IRQHandler (Thumb, 6 bytes, Stack size 0 bytes, stm32l4xx_it.o(i.TIM7_IRQHandler))
[Stack]
TIM_Base_SetConfig (Thumb, 174 bytes, Stack size 32 bytes, stm32l4xx_hal_tim.o(i.TIM_Base_SetConfig)) +
TIM_Base_SetConfig (Thumb, 174 bytes, Stack size 32 bytes, stm32l4xx_hal_tim.o(i.TIM_Base_SetConfig))
[Stack]
TIM_CCxChannelCmd (Thumb, 26 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_CCxChannelCmd)) +
TIM_CCxChannelCmd (Thumb, 26 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_CCxChannelCmd))
[Stack]
TIM_ETR_SetConfig (Thumb, 20 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_ETR_SetConfig)) +
TIM_ETR_SetConfig (Thumb, 20 bytes, Stack size 8 bytes, stm32l4xx_hal_tim.o(i.TIM_ETR_SetConfig))
[Stack]
TIM_OC2_SetConfig (Thumb, 120 bytes, Stack size 20 bytes, stm32l4xx_hal_tim.o(i.TIM_OC2_SetConfig)) +
TIM_OC2_SetConfig (Thumb, 120 bytes, Stack size 20 bytes, stm32l4xx_hal_tim.o(i.TIM_OC2_SetConfig))
[Stack]