Finishing PWM

This commit is contained in:
Robin Marin-Muller 2023-03-22 13:47:09 +01:00
부모 9f382b1d18
커밋 ace3b51cc8
20개의 변경된 파일273개의 추가작업 그리고 270개의 파일을 삭제

파일 보기

@ -9,4 +9,7 @@ typedef struct {
char GPIO_Conf; // voir ci dessous
} MyADC_Struct_TypeDef;
void MyADC_Init(MyADC_Struct_TypeDef *ADC);
uint16_t MyADC_Read(MyADC_Struct_TypeDef *ADC);
#endif

파일 보기

@ -3,20 +3,13 @@
void MyTimer_Init(MyTimer_Struct_TypeDef *Timer)
{
// Activation de l'horloge correspondante au Timer
if (Timer->Timer == TIM1)
{
if (Timer->Timer == TIM1) {
RCC->APB2ENR |= RCC_APB2ENR_TIM1EN; // Voir p140 du manual
}
else if (Timer->Timer == TIM2)
{
} else if (Timer->Timer == TIM2) {
RCC->APB1ENR |= RCC_APB1ENR_TIM2EN;
}
else if (Timer->Timer == TIM3)
{
} else if (Timer->Timer == TIM3) {
RCC->APB1ENR |= RCC_APB1ENR_TIM3EN;
}
else if (Timer->Timer == TIM4)
{
} else if (Timer->Timer == TIM4) {
RCC->APB1ENR |= RCC_APB1ENR_TIM4EN;
}
@ -24,7 +17,7 @@ void MyTimer_Init(MyTimer_Struct_TypeDef *Timer)
// Le compteur du registre PSC commence à zéro, donc on soustrait 1 pour éviter les débordements.
Timer->Timer->PSC = Timer->PSC - 1; // Valeur du prescaler
Timer->Timer->ARR = Timer->ARR - 1; // Valeur de l'autoreload -> Quand cette valeur est atteinte le timer est réinitialisé
Timer->Timer->CR1 |= TIM_CR1_ARPE; // Active "Autoreload preload" pour prendre en compte immédiatement les modifications de la valeur de l'autoreload (ARR) lors du prochain cycle de Timer.
//Timer->Timer->CR1 |= TIM_CR1_ARPE; // Active "Autoreload preload" pour prendre en compte immédiatement les modifications de la valeur de l'autoreload (ARR) lors du prochain cycle de Timer -> Utile pour PWM Variable
}
void MyTimer_Start(MyTimer_Struct_TypeDef *Timer)
@ -35,4 +28,25 @@ void MyTimer_Start(MyTimer_Struct_TypeDef *Timer)
void MyTimer_Stop(MyTimer_Struct_TypeDef *Timer)
{
Timer->Timer->CR1 &= ~TIM_CR1_CEN; // Arrête le Timer
}
}
void MyTimer_EnableInterrupt(MyTimer_Struct_TypeDef *Timer) {
Timer->Timer->DIER |= TIM_DIER_UIE; // Active l'interruption "Update" du Timer
NVIC->ISER[Timer->IRQn / 32] = (1 << Timer->IRQn); // Pour que ce soit générique : On divise IRQn par 32 pour avoir le ISER[] correspondant. On fait également le modulo 32 de IRQn pour avoir un nombre entre 0 et 31 correspondant au setting
}
void MyTimer_SetPriority(MyTimer_Struct_TypeDef *Timer, uint8_t priority) {
NVIC->IP[Timer->IRQn] = (priority << 4); // Décalé vers la gauche de 4 selon la datasheet voir p125
}
void MyTimer_ConfigurePWM(MyTimer_Struct_TypeDef *Timer, uint16_t duty_cycle) { // ducy_cycle en %
// Configuration du PWM
Timer->Timer->CCMR1 |= TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2; // Mode PWM1 sur le canal 1 (CC1)
Timer->Timer->CCER |= TIM_CCER_CC1E; // Activation du canal 1 (CC1)
// Configuration du registre CCR1 avec la valeur du rapport cyclique
Timer->Timer->CCR1 = (duty_cycle * Timer->ARR) / 100;
// MOE
}

파일 보기

@ -8,6 +8,7 @@ typedef struct
TIM_TypeDef * Timer;
unsigned short ARR; // Valeur du registre ARR (auto-reload register) qui détermine la période du timer
unsigned short PSC; // Valeur du registre PSC (prescaler) qui détermine le rapport de division de la fréquence d'horloge
IRQn_Type IRQn; // Numéro d'interruption correspondant au Timer
} MyTimer_Struct_TypeDef;
@ -15,7 +16,9 @@ typedef struct
void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer);
void MyTimer_Base_Start(MyTimer_Struct_TypeDef * Timer);
void MyTimer_Base_Stop(MyTimer_Struct_TypeDef * Timer);
void MyTimer_Base_Reset(MyTimer_Struct_TypeDef * Timer);
void MyTimer_EnableInterrupt(MyTimer_Struct_TypeDef *Timer);
void MyTimer_SetPriority(MyTimer_Struct_TypeDef *Timer, uint8_t priority);
void MyTimer_ConfigurePWM(MyTimer_Struct_TypeDef *Timer, uint16_t duty_cycle);
//#define MyTimer_Base_Start(Timer)
//#define MyTimer_Base_Stop(Timer)

파일 보기

@ -4,12 +4,13 @@ Component: Arm Compiler for Embedded 6.19 Tool: armlink [5e73cb00]
Section Cross References
main.o(.text.TIM2_IRQHandler) refers to driver_gpio.o(.text.MyGPIO_Toggle) for MyGPIO_Toggle
main.o(.ARM.exidx.text.TIM2_IRQHandler) refers to main.o(.text.TIM2_IRQHandler) for [Anonymous Symbol]
main.o(.text.main) refers to driver_gpio.o(.text.MyGPIO_Init) for MyGPIO_Init
main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Init) for MyTimer_Init
main.o(.text.main) refers to driver_timer.o(.text.MyTimer_EnableInterrupt) for MyTimer_EnableInterrupt
main.o(.text.main) refers to driver_timer.o(.text.MyTimer_SetPriority) for MyTimer_SetPriority
main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Start) for MyTimer_Start
main.o(.text.main) refers to driver_timer.o(.text.MyTimer_Stop) for MyTimer_Stop
main.o(.text.main) refers to driver_gpio.o(.text.MyGPIO_Set) for MyGPIO_Set
main.o(.text.main) refers to driver_gpio.o(.text.MyGPIO_Reset) for MyGPIO_Reset
main.o(.ARM.exidx.text.main) refers to main.o(.text.main) for [Anonymous Symbol]
driver_gpio.o(.ARM.exidx.text.MyGPIO_Init) refers to driver_gpio.o(.text.MyGPIO_Init) for [Anonymous Symbol]
driver_gpio.o(.ARM.exidx.text.MyGPIO_Read) refers to driver_gpio.o(.text.MyGPIO_Read) for [Anonymous Symbol]
@ -19,8 +20,11 @@ Section Cross References
driver_timer.o(.ARM.exidx.text.MyTimer_Init) refers to driver_timer.o(.text.MyTimer_Init) for [Anonymous Symbol]
driver_timer.o(.ARM.exidx.text.MyTimer_Start) refers to driver_timer.o(.text.MyTimer_Start) for [Anonymous Symbol]
driver_timer.o(.ARM.exidx.text.MyTimer_Stop) refers to driver_timer.o(.text.MyTimer_Stop) for [Anonymous Symbol]
driver_timer.o(.ARM.exidx.text.MyTimer_EnableInterrupt) refers to driver_timer.o(.text.MyTimer_EnableInterrupt) for [Anonymous Symbol]
driver_timer.o(.ARM.exidx.text.MyTimer_SetPriority) refers to driver_timer.o(.text.MyTimer_SetPriority) for [Anonymous Symbol]
startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(STACK) for __initial_sp
startup_stm32f10x_md.o(RESET) refers to startup_stm32f10x_md.o(.text) for Reset_Handler
startup_stm32f10x_md.o(RESET) refers to main.o(.text.TIM2_IRQHandler) for TIM2_IRQHandler
startup_stm32f10x_md.o(.text) refers to system_stm32f10x.o(.text.SystemInit) for SystemInit
startup_stm32f10x_md.o(.text) refers to entry.o(.ARM.Collect$$$$00000000) for __main
system_stm32f10x.o(.ARM.exidx.text.SystemInit) refers to system_stm32f10x.o(.text.SystemInit) for [Anonymous Symbol]
@ -49,20 +53,25 @@ Section Cross References
Removing Unused input sections from the image.
Removing main.o(.text), (0 bytes).
Removing main.o(.ARM.exidx.text.TIM2_IRQHandler), (8 bytes).
Removing main.o(.ARM.exidx.text.main), (8 bytes).
Removing main.o(.ARM.use_no_argv), (4 bytes).
Removing driver_gpio.o(.text), (0 bytes).
Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Init), (8 bytes).
Removing driver_gpio.o(.text.MyGPIO_Read), (10 bytes).
Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Read), (8 bytes).
Removing driver_gpio.o(.text.MyGPIO_Set), (14 bytes).
Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Set), (8 bytes).
Removing driver_gpio.o(.text.MyGPIO_Reset), (10 bytes).
Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Reset), (8 bytes).
Removing driver_gpio.o(.text.MyGPIO_Toggle), (14 bytes).
Removing driver_gpio.o(.ARM.exidx.text.MyGPIO_Toggle), (8 bytes).
Removing driver_timer.o(.text), (0 bytes).
Removing driver_timer.o(.ARM.exidx.text.MyTimer_Init), (8 bytes).
Removing driver_timer.o(.ARM.exidx.text.MyTimer_Start), (8 bytes).
Removing driver_timer.o(.text.MyTimer_Stop), (12 bytes).
Removing driver_timer.o(.ARM.exidx.text.MyTimer_Stop), (8 bytes).
Removing driver_timer.o(.ARM.exidx.text.MyTimer_EnableInterrupt), (8 bytes).
Removing driver_timer.o(.ARM.exidx.text.MyTimer_SetPriority), (8 bytes).
Removing driver_adc.o(.text), (0 bytes).
Removing startup_stm32f10x_md.o(HEAP), (512 bytes).
Removing system_stm32f10x.o(.text), (0 bytes).
@ -72,7 +81,7 @@ Removing Unused input sections from the image.
Removing system_stm32f10x.o(.data.SystemCoreClock), (4 bytes).
Removing system_stm32f10x.o(.rodata.AHBPrescTable), (16 bytes).
23 unused section(s) (total 758 bytes) removed from the image.
28 unused section(s) (total 804 bytes) removed from the image.
==============================================================================
@ -118,13 +127,14 @@ Image Symbol Table
.text 0x08000100 Section 36 startup_stm32f10x_md.o(.text)
.text 0x08000124 Section 36 init.o(.text)
[Anonymous Symbol] 0x08000148 Section 0 driver_gpio.o(.text.MyGPIO_Init)
[Anonymous Symbol] 0x080001e8 Section 0 driver_gpio.o(.text.MyGPIO_Reset)
[Anonymous Symbol] 0x080001f4 Section 0 driver_gpio.o(.text.MyGPIO_Set)
[Anonymous Symbol] 0x08000204 Section 0 driver_timer.o(.text.MyTimer_Init)
[Anonymous Symbol] 0x0800029c Section 0 driver_timer.o(.text.MyTimer_Start)
[Anonymous Symbol] 0x080002a8 Section 0 driver_timer.o(.text.MyTimer_Stop)
[Anonymous Symbol] 0x080002b4 Section 0 system_stm32f10x.o(.text.SystemInit)
[Anonymous Symbol] 0x080003c4 Section 0 main.o(.text.main)
[Anonymous Symbol] 0x080001e8 Section 0 driver_gpio.o(.text.MyGPIO_Toggle)
[Anonymous Symbol] 0x080001f8 Section 0 driver_timer.o(.text.MyTimer_EnableInterrupt)
[Anonymous Symbol] 0x08000220 Section 0 driver_timer.o(.text.MyTimer_Init)
[Anonymous Symbol] 0x080002b0 Section 0 driver_timer.o(.text.MyTimer_SetPriority)
[Anonymous Symbol] 0x080002c4 Section 0 driver_timer.o(.text.MyTimer_Start)
[Anonymous Symbol] 0x080002d0 Section 0 system_stm32f10x.o(.text.SystemInit)
[Anonymous Symbol] 0x080003e0 Section 0 main.o(.text.TIM2_IRQHandler)
[Anonymous Symbol] 0x08000400 Section 0 main.o(.text.main)
i.__scatterload_copy 0x08000466 Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x08000474 Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x08000476 Section 14 handlers.o(i.__scatterload_zeroinit)
@ -195,7 +205,6 @@ Image Symbol Table
TIM1_CC_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_TRG_COM_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_UP_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM2_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM3_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM4_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text)
USART1_IRQHandler 0x0800011b Thumb Code 0 startup_stm32f10x_md.o(.text)
@ -208,13 +217,14 @@ Image Symbol Table
__scatterload 0x08000125 Thumb Code 28 init.o(.text)
__scatterload_rt2 0x08000125 Thumb Code 0 init.o(.text)
MyGPIO_Init 0x08000149 Thumb Code 144 driver_gpio.o(.text.MyGPIO_Init)
MyGPIO_Reset 0x080001e9 Thumb Code 10 driver_gpio.o(.text.MyGPIO_Reset)
MyGPIO_Set 0x080001f5 Thumb Code 14 driver_gpio.o(.text.MyGPIO_Set)
MyTimer_Init 0x08000205 Thumb Code 152 driver_timer.o(.text.MyTimer_Init)
MyTimer_Start 0x0800029d Thumb Code 12 driver_timer.o(.text.MyTimer_Start)
MyTimer_Stop 0x080002a9 Thumb Code 12 driver_timer.o(.text.MyTimer_Stop)
SystemInit 0x080002b5 Thumb Code 272 system_stm32f10x.o(.text.SystemInit)
main 0x080003c5 Thumb Code 162 main.o(.text.main)
MyGPIO_Toggle 0x080001e9 Thumb Code 14 driver_gpio.o(.text.MyGPIO_Toggle)
MyTimer_EnableInterrupt 0x080001f9 Thumb Code 38 driver_timer.o(.text.MyTimer_EnableInterrupt)
MyTimer_Init 0x08000221 Thumb Code 144 driver_timer.o(.text.MyTimer_Init)
MyTimer_SetPriority 0x080002b1 Thumb Code 18 driver_timer.o(.text.MyTimer_SetPriority)
MyTimer_Start 0x080002c5 Thumb Code 12 driver_timer.o(.text.MyTimer_Start)
SystemInit 0x080002d1 Thumb Code 272 system_stm32f10x.o(.text.SystemInit)
TIM2_IRQHandler 0x080003e1 Thumb Code 32 main.o(.text.TIM2_IRQHandler)
main 0x08000401 Thumb Code 102 main.o(.text.main)
__scatterload_copy 0x08000467 Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x08000475 Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x08000477 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
@ -236,32 +246,34 @@ Memory Map of the image
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x08000000 0x08000000 0x000000ec Data RO 45 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 66 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 69 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 72 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 74 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 76 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 77 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000000 Code RO 79 .ARM.Collect$$$$0000000D mc_w.l(entry10a.o)
0x080000fc 0x080000fc 0x00000000 Code RO 81 .ARM.Collect$$$$0000000F mc_w.l(entry11a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 70 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000100 0x08000100 0x00000024 Code RO 46 * .text startup_stm32f10x_md.o
0x08000124 0x08000124 0x00000024 Code RO 83 .text mc_w.l(init.o)
0x08000148 0x08000148 0x000000a0 Code RO 11 .text.MyGPIO_Init driver_gpio.o
0x080001e8 0x080001e8 0x0000000a Code RO 17 .text.MyGPIO_Reset driver_gpio.o
0x080001f2 0x080001f2 0x00000002 PAD
0x080001f4 0x080001f4 0x0000000e Code RO 15 .text.MyGPIO_Set driver_gpio.o
0x08000202 0x08000202 0x00000002 PAD
0x08000204 0x08000204 0x00000098 Code RO 29 .text.MyTimer_Init driver_timer.o
0x0800029c 0x0800029c 0x0000000c Code RO 31 .text.MyTimer_Start driver_timer.o
0x080002a8 0x080002a8 0x0000000c Code RO 33 .text.MyTimer_Stop driver_timer.o
0x080002b4 0x080002b4 0x00000110 Code RO 53 .text.SystemInit system_stm32f10x.o
0x080003c4 0x080003c4 0x000000a2 Code RO 2 .text.main main.o
0x08000466 0x08000466 0x0000000e Code RO 87 i.__scatterload_copy mc_w.l(handlers.o)
0x08000474 0x08000474 0x00000002 Code RO 88 i.__scatterload_null mc_w.l(handlers.o)
0x08000476 0x08000476 0x0000000e Code RO 89 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x08000484 0x08000484 0x00000010 Data RO 86 Region$$Table anon$$obj.o
0x08000000 0x08000000 0x000000ec Data RO 52 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 73 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 76 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 79 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 81 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 83 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 84 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000000 Code RO 86 .ARM.Collect$$$$0000000D mc_w.l(entry10a.o)
0x080000fc 0x080000fc 0x00000000 Code RO 88 .ARM.Collect$$$$0000000F mc_w.l(entry11a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 77 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000100 0x08000100 0x00000024 Code RO 53 * .text startup_stm32f10x_md.o
0x08000124 0x08000124 0x00000024 Code RO 90 .text mc_w.l(init.o)
0x08000148 0x08000148 0x000000a0 Code RO 14 .text.MyGPIO_Init driver_gpio.o
0x080001e8 0x080001e8 0x0000000e Code RO 22 .text.MyGPIO_Toggle driver_gpio.o
0x080001f6 0x080001f6 0x00000002 PAD
0x080001f8 0x080001f8 0x00000026 Code RO 38 .text.MyTimer_EnableInterrupt driver_timer.o
0x0800021e 0x0800021e 0x00000002 PAD
0x08000220 0x08000220 0x00000090 Code RO 32 .text.MyTimer_Init driver_timer.o
0x080002b0 0x080002b0 0x00000012 Code RO 40 .text.MyTimer_SetPriority driver_timer.o
0x080002c2 0x080002c2 0x00000002 PAD
0x080002c4 0x080002c4 0x0000000c Code RO 34 .text.MyTimer_Start driver_timer.o
0x080002d0 0x080002d0 0x00000110 Code RO 60 .text.SystemInit system_stm32f10x.o
0x080003e0 0x080003e0 0x00000020 Code RO 2 .text.TIM2_IRQHandler main.o
0x08000400 0x08000400 0x00000066 Code RO 4 .text.main main.o
0x08000466 0x08000466 0x0000000e Code RO 94 i.__scatterload_copy mc_w.l(handlers.o)
0x08000474 0x08000474 0x00000002 Code RO 95 i.__scatterload_null mc_w.l(handlers.o)
0x08000476 0x08000476 0x0000000e Code RO 96 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x08000484 0x08000484 0x00000010 Data RO 93 Region$$Table anon$$obj.o
Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08000494, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE)
@ -273,7 +285,7 @@ Memory Map of the image
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000000 - 0x00000400 Zero RW 43 STACK startup_stm32f10x_md.o
0x20000000 - 0x00000400 Zero RW 50 STACK startup_stm32f10x_md.o
==============================================================================
@ -283,16 +295,16 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
184 16 0 0 0 2117 driver_gpio.o
176 0 0 0 0 2360 driver_timer.o
162 0 0 0 0 2120 main.o
174 16 0 0 0 2117 driver_gpio.o
212 0 0 0 0 4392 driver_timer.o
134 0 0 0 0 3305 main.o
36 8 236 0 1024 840 startup_stm32f10x_md.o
272 0 0 0 0 2793 system_stm32f10x.o
----------------------------------------------------------------------
834 24 252 0 1024 10230 Object Totals
834 24 252 0 1024 13447 Object Totals
0 0 16 0 0 0 (incl. Generated)
4 0 0 0 0 0 (incl. Padding)
6 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
@ -329,8 +341,8 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
920 40 252 0 1024 10390 Grand Totals
920 40 252 0 1024 10390 ELF Image Totals
920 40 252 0 1024 13607 Grand Totals
920 40 252 0 1024 13607 ELF Image Totals
920 40 252 0 0 0 ROM Totals
==============================================================================

파일 보기

@ -1,6 +1,6 @@
./objects/driver_adc.o: ..\drivers\Driver_ADC.c ..\drivers\Driver_Timer.h \
C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \
RTE\_sim\RTE_Components.h \
RTE\_board\RTE_Components.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \
C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \

파일 보기

@ -1,7 +1,7 @@
./objects/driver_gpio.o: ..\drivers\Driver_GPIO.c \
..\drivers\Driver_GPIO.h \
C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \
RTE\_sim\RTE_Components.h \
RTE\_board\RTE_Components.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \
C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \

파일 보기

@ -1,7 +1,7 @@
./objects/driver_timer.o: ..\drivers\Driver_Timer.c \
..\drivers\Driver_Timer.h \
C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \
RTE\_sim\RTE_Components.h \
RTE\_board\RTE_Components.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \
C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \

Binary file not shown.

파일 보기

@ -1,6 +1,6 @@
./objects/main.o: src\main.c \
C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \
RTE\_sim\RTE_Components.h \
RTE\_board\RTE_Components.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \
C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \

Binary file not shown.

파일 보기

@ -1,6 +1,6 @@
./objects/system_stm32f10x.o: RTE\Device\STM32F103RB\system_stm32f10x.c \
C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h \
RTE\_sim\RTE_Components.h \
RTE\_board\RTE_Components.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h \
C:\Keil_v5\ARM\ARMCLANG\Bin\..\include\stdint.h \
C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_version.h \

파일 보기

@ -1,6 +1,6 @@
Dependencies for Project 'tp', Target 'board': (DO NOT MODIFY !)
CompilerVersion: 6190000::V6.19::ARMCLANG
F (.\src\main.c)(0x6418B06C)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD)
F (.\src\main.c)(0x641A292B)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
I (RTE\_board\RTE_Components.h)(0x6415C72E)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E)
@ -10,8 +10,8 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
I (..\drivers\Driver_GPIO.h)(0x6418B324)
I (..\drivers\Driver_Timer.h)(0x6418AED3)
I (..\drivers\Driver_ADC.h)(0x64185970)
I (..\drivers\Driver_Timer.h)(0x641A1BC2)
I (..\drivers\Driver_ADC.h)(0x641A2645)
F (..\drivers\Driver_GPIO.c)(0x6418B3FF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_gpio.o -MD)
I (..\drivers\Driver_GPIO.h)(0x6418B324)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
@ -23,8 +23,8 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
F (..\drivers\Driver_GPIO.h)(0x6418B324)()
F (..\drivers\Driver_Timer.c)(0x6418AEFF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD)
I (..\drivers\Driver_Timer.h)(0x6418AED3)
F (..\drivers\Driver_Timer.c)(0x641A2797)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD)
I (..\drivers\Driver_Timer.h)(0x641A1BC2)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
I (RTE\_board\RTE_Components.h)(0x6415C72E)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E)
@ -33,9 +33,9 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
F (..\drivers\Driver_Timer.h)(0x6418AED3)()
F (..\drivers\Driver_Timer.h)(0x641A1BC2)()
F (..\drivers\Driver_ADC.c)(0x64182F1D)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_adc.o -MD)
I (..\drivers\Driver_Timer.h)(0x6418AED3)
I (..\drivers\Driver_Timer.h)(0x641A1BC2)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
I (RTE\_board\RTE_Components.h)(0x6415C72E)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E)
@ -44,7 +44,7 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
F (..\drivers\Driver_ADC.h)(0x64185970)()
F (..\drivers\Driver_ADC.h)(0x641A2645)()
F (RTE/Device/STM32F103RB/RTE_Device.h)(0x5FC0B25A)()
F (RTE/Device/STM32F103RB/startup_stm32f10x_md.s)(0x61ADDBCE)(--target=arm-arm-none-eabi -mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,--pd,"__MICROLIB SETA 1" -Wa,armasm,--pd,"__EVAL SETA 1" -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -Wa,armasm,--pd,"__UVISION_VERSION SETA 538" -Wa,armasm,--pd,"_RTE_ SETA 1" -Wa,armasm,--pd,"STM32F10X_MD SETA 1" -Wa,armasm,--pd,"_RTE_ SETA 1" -o ./objects/startup_stm32f10x_md.o)
F (RTE/Device/STM32F103RB/system_stm32f10x.c)(0x61ADDBCE)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_board -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/system_stm32f10x.o -MD)

Binary file not shown.

파일 보기

@ -17,7 +17,7 @@ Library Manager: ArmAr.exe V6.19
Hex Converter: FromElf.exe V6.19
CPU DLL: SARMCM3.DLL V5.38.0.0
Dialog DLL: DARMSTM.DLL V1.69.1.0
Target DLL: UL2CM3.DLL V1.164.8.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.1.0.0
Dialog DLL: TCM.DLL V1.56.4.0
<h2>Project:</h2>
@ -26,13 +26,13 @@ Project File Date: 03/20/2023
<h2>Output:</h2>
*** Using Compiler 'V6.19', folder: 'C:\Keil_v5\ARM\ARMCLANG\Bin'
Rebuild target 'sim'
compiling Driver_ADC.c...
assembling startup_stm32f10x_md.s...
compiling system_stm32f10x.c...
Rebuild target 'board'
compiling Driver_Timer.c...
compiling Driver_GPIO.c...
compiling Driver_ADC.c...
assembling startup_stm32f10x_md.s...
compiling main.c...
compiling system_stm32f10x.c...
linking...
Program Size: Code=920 RO-data=252 RW-data=0 ZI-data=1024
".\Objects\tp_sim.axf" - 0 Error(s), 0 Warning(s).
@ -53,7 +53,7 @@ Package Vendor: Keil
<h2>Collection of Component include folders:</h2>
./RTE/Device/STM32F103RB
./RTE/_sim
./RTE/_board
C:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include
C:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include

파일 보기

@ -1,6 +1,6 @@
Dependencies for Project 'tp', Target 'sim': (DO NOT MODIFY !)
CompilerVersion: 6190000::V6.19::ARMCLANG
F (.\src\main.c)(0x6418B461)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD)
F (.\src\main.c)(0x641A28AC)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/main.o -MD)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
I (RTE\_sim\RTE_Components.h)(0x6415C555)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E)
@ -10,8 +10,8 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
I (..\drivers\Driver_GPIO.h)(0x6418B324)
I (..\drivers\Driver_Timer.h)(0x6418AED3)
I (..\drivers\Driver_ADC.h)(0x64185970)
I (..\drivers\Driver_Timer.h)(0x641A1BC2)
I (..\drivers\Driver_ADC.h)(0x641A2645)
F (..\drivers\Driver_GPIO.c)(0x6418B3FF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_gpio.o -MD)
I (..\drivers\Driver_GPIO.h)(0x6418B324)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
@ -23,8 +23,8 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
F (..\drivers\Driver_GPIO.h)(0x6418B324)()
F (..\drivers\Driver_Timer.c)(0x6418AEFF)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD)
I (..\drivers\Driver_Timer.h)(0x6418AED3)
F (..\drivers\Driver_Timer.c)(0x641A2797)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_timer.o -MD)
I (..\drivers\Driver_Timer.h)(0x641A1BC2)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
I (RTE\_sim\RTE_Components.h)(0x6415C555)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E)
@ -33,9 +33,9 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
F (..\drivers\Driver_Timer.h)(0x6418AED3)()
F (..\drivers\Driver_Timer.h)(0x641A1BC2)()
F (..\drivers\Driver_ADC.c)(0x64182F1D)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/driver_adc.o -MD)
I (..\drivers\Driver_Timer.h)(0x6418AED3)
I (..\drivers\Driver_Timer.h)(0x641A1BC2)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\stm32f10x.h)(0x61ADDBCE)
I (RTE\_sim\RTE_Components.h)(0x6415C555)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\core_cm3.h)(0x626FAD4E)
@ -44,7 +44,7 @@ I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cms
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_compiler.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\ARM\CMSIS\5.9.0\CMSIS\Core\Include\cmsis_armclang.h)(0x626FAD4E)
I (C:\Users\robin\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.4.0\Device\Include\system_stm32f10x.h)(0x61ADDBCE)
F (..\drivers\Driver_ADC.h)(0x64185970)()
F (..\drivers\Driver_ADC.h)(0x641A2645)()
F (RTE/Device/STM32F103RB/RTE_Device.h)(0x5FC0B25A)()
F (RTE/Device/STM32F103RB/startup_stm32f10x_md.s)(0x61ADDBCE)(--target=arm-arm-none-eabi -mcpu=cortex-m3 -masm=auto -Wa,armasm,--diag_suppress=A1950W -c -gdwarf-4 -Wa,armasm,--pd,"__MICROLIB SETA 1" -Wa,armasm,--pd,"__EVAL SETA 1" -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -Wa,armasm,--pd,"__UVISION_VERSION SETA 538" -Wa,armasm,--pd,"_RTE_ SETA 1" -Wa,armasm,--pd,"STM32F10X_MD SETA 1" -Wa,armasm,--pd,"_RTE_ SETA 1" -o ./objects/startup_stm32f10x_md.o)
F (RTE/Device/STM32F103RB/system_stm32f10x.c)(0x61ADDBCE)(-xc -std=c90 --target=arm-arm-none-eabi -mcpu=cortex-m3 -c -fno-rtti -funsigned-char -fshort-enums -fshort-wchar -D__EVAL -D__MICROLIB -gdwarf-4 -O1 -ffunction-sections -Wno-packed -Wno-missing-variable-declarations -Wno-missing-prototypes -Wno-missing-noreturn -Wno-sign-conversion -Wno-nonportable-include-path -Wno-reserved-id-macro -Wno-unused-macros -Wno-documentation-unknown-command -Wno-documentation -Wno-license-management -Wno-parentheses-equality -Wno-reserved-identifier -I ./src -I ./include -I ../drivers -I./RTE/Device/STM32F103RB -I./RTE/_sim -IC:/Users/robin/AppData/Local/Arm/Packs/ARM/CMSIS/5.9.0/CMSIS/Core/Include -IC:/Users/robin/AppData/Local/Arm/Packs/Keil/STM32F1xx_DFP/2.4.0/Device/Include -D__UVISION_VERSION="538" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o ./objects/system_stm32f10x.o -MD)

파일 보기

@ -3,9 +3,9 @@
<title>Static Call Graph - [.\Objects\tp_sim.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\Objects\tp_sim.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6190004: Last Updated: Mon Mar 20 20:30:45 2023
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 6190004: Last Updated: Tue Mar 21 23:01:30 2023
<BR><P>
<H3>Maximum Stack Usage = 24 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
<H3>Maximum Stack Usage = 32 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
main &rArr; MyGPIO_Init
<P>
@ -69,7 +69,7 @@ Function Pointers
<LI><a href="#[25]">TIM1_CC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[24]">TIM1_TRG_COM_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[23]">TIM1_UP_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[26]">TIM2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[26]">TIM2_IRQHandler</a> from main.o(.text.TIM2_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[27]">TIM3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[28]">TIM4_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[2f]">USART1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
@ -279,9 +279,6 @@ Global Symbols
<P><STRONG><a name="[23]"></a>TIM1_UP_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[26]"></a>TIM2_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[27]"></a>TIM3_IRQHandler</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
@ -317,29 +314,29 @@ Global Symbols
<P><STRONG><a name="[47]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[3b]"></a>MyGPIO_Init</STRONG> (Thumb, 144 bytes, Stack size 8 bytes, driver_gpio.o(.text.MyGPIO_Init))
<P><STRONG><a name="[3c]"></a>MyGPIO_Init</STRONG> (Thumb, 144 bytes, Stack size 8 bytes, driver_gpio.o(.text.MyGPIO_Init))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = MyGPIO_Init
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[40]"></a>MyGPIO_Reset</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, driver_gpio.o(.text.MyGPIO_Reset))
<P><STRONG><a name="[3b]"></a>MyGPIO_Toggle</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, driver_gpio.o(.text.MyGPIO_Toggle))
<BR><BR>[Called By]<UL><LI><a href="#[26]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;TIM2_IRQHandler
</UL>
<P><STRONG><a name="[3e]"></a>MyTimer_EnableInterrupt</STRONG> (Thumb, 38 bytes, Stack size 0 bytes, driver_timer.o(.text.MyTimer_EnableInterrupt))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3f]"></a>MyGPIO_Set</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, driver_gpio.o(.text.MyGPIO_Set))
<P><STRONG><a name="[3d]"></a>MyTimer_Init</STRONG> (Thumb, 144 bytes, Stack size 0 bytes, driver_timer.o(.text.MyTimer_Init))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3c]"></a>MyTimer_Init</STRONG> (Thumb, 152 bytes, Stack size 0 bytes, driver_timer.o(.text.MyTimer_Init))
<P><STRONG><a name="[3f]"></a>MyTimer_SetPriority</STRONG> (Thumb, 18 bytes, Stack size 0 bytes, driver_timer.o(.text.MyTimer_SetPriority))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3d]"></a>MyTimer_Start</STRONG> (Thumb, 12 bytes, Stack size 0 bytes, driver_timer.o(.text.MyTimer_Start))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3e]"></a>MyTimer_Stop</STRONG> (Thumb, 12 bytes, Stack size 0 bytes, driver_timer.o(.text.MyTimer_Stop))
<P><STRONG><a name="[40]"></a>MyTimer_Start</STRONG> (Thumb, 12 bytes, Stack size 0 bytes, driver_timer.o(.text.MyTimer_Start))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
@ -348,15 +345,21 @@ Global Symbols
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
</UL>
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 162 bytes, Stack size 16 bytes, main.o(.text.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = main &rArr; MyGPIO_Init
<P><STRONG><a name="[26]"></a>TIM2_IRQHandler</STRONG> (Thumb, 32 bytes, Stack size 8 bytes, main.o(.text.TIM2_IRQHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM2_IRQHandler
</UL>
<BR>[Calls]<UL><LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Reset
<LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Set
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Stop
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Start
<LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Init
<LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
<BR>[Calls]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Toggle
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 102 bytes, Stack size 24 bytes, main.o(.text.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 32<LI>Call Chain = main &rArr; MyGPIO_Init
</UL>
<BR>[Calls]<UL><LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Start
<LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_SetPriority
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_EnableInterrupt
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Init
<LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
</UL>
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
</UL>

파일 보기

@ -3,6 +3,13 @@
#include "Driver_Timer.h"
#include "Driver_ADC.h"
void TIM2_IRQHandler(void)
{
MyGPIO_Toggle(GPIOA, 5);
TIM2->SR &= ~TIM_SR_UIF; // Reset le flag d'interruption
}
int main(void) {
// Configure la broche PA5 en sortie
@ -18,53 +25,21 @@ int main(void) {
GPIO_InitStructure.GPIO = GPIOC;
MyGPIO_Init(&GPIO_InitStructure);
// Configure la broche PC14 en entrée avec une résistance de pull-down
GPIO_InitStructure.GPIO_Pin = 14;
GPIO_InitStructure.GPIO_Conf = In_PullDown;
GPIO_InitStructure.GPIO = GPIOC;
MyGPIO_Init(&GPIO_InitStructure);
MyTimer_Struct_TypeDef Timer;
Timer.Timer = TIM2;
Timer.PSC = 7200; // Prescaler = 7200, donc chaque tick d'horloge prend 0,1ms (10 MHz)
Timer.ARR = 5000; // Autoreload = 5000, donc le timer compte jusqu'à 5000, ce qui prend 500ms (0,1ms * 5000)
Timer.IRQn = TIM2_IRQn; // Numéro d'interruption correspondant au Timer 2 (28)
MyTimer_Init(&Timer); // Initialise le Timer 2
MyTimer_EnableInterrupt(&Timer); // Active l'interruption du Timer
MyTimer_SetPriority(&Timer, 0); // Set la priorité du Timer
MyTimer_Start(&Timer); // Démarre le Timer
// EXTended Interrupt controller
//RCC->APB2ENR |= RCC_APB2ENR_SYSCFGEN; // Active la clock pour pouvoir accéder à la config system
//AFIO->EXTICR1 &= ~(AFIO_EXTICR1_EXTI0_PC)
//AFIO_EXTICR
while(1) {
/*
// Vérifie si le bouton est pressé
if(MyGPIO_Read(GPIOC, 13) == 0) {
// Toggle la LED
MyGPIO_Toggle(GPIOA, 5);
// Delay pour éviter les rebonds du au ressort du bouton
delay();
}
*/
MyTimer_Start(&Timer); // Démarre le Timer 2
while (Timer.Timer->CNT != Timer.ARR - 1); // Attend que le compteur atteigne la valeur d'autoreload
MyTimer_Stop(&Timer); // Arrête le Timer 2
MyGPIO_Set(GPIOA, 5);
MyTimer_Start(&Timer); // Démarre le Timer 2
while (Timer.Timer->CNT != Timer.ARR - 1); // Attend que le compteur atteigne la valeur d'autoreload
MyTimer_Stop(&Timer); // Arrête le Timer 2
MyGPIO_Reset(GPIOA, 5);
}
}

File diff suppressed because one or more lines are too long

파일 보기

@ -75,7 +75,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>1</IsCurrentTarget>
<IsCurrentTarget>0</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<DebugOpt>
@ -125,7 +125,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>DLGDARM</Key>
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=60,88,594,449,0)(180=-1,-1,-1,-1,0)(120=799,96,1220,523,0)(121=75,104,496,531,0)(122=1230,203,1651,630,1)(123=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=1228,73,1822,824,1)(132=-1,-1,-1,-1,0)(133=-1,-1,-1,-1,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(234=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)</Name>
<Name>(1010=-1,-1,-1,-1,0)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=-1,-1,-1,-1,0)(110=-1,-1,-1,-1,0)(111=-1,-1,-1,-1,0)(1011=60,88,594,449,0)(180=-1,-1,-1,-1,0)(120=652,104,1073,531,0)(121=75,104,496,531,0)(122=798,193,1219,620,0)(123=-1,-1,-1,-1,0)(140=-1,-1,-1,-1,0)(240=-1,-1,-1,-1,0)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=-1,-1,-1,-1,0)(131=1007,148,1601,899,1)(132=614,253,1208,1004,0)(133=599,230,1193,981,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=-1,-1,-1,-1,0)(211=-1,-1,-1,-1,0)(220=-1,-1,-1,-1,0)(221=-1,-1,-1,-1,0)(230=-1,-1,-1,-1,0)(234=-1,-1,-1,-1,0)(231=-1,-1,-1,-1,0)(232=-1,-1,-1,-1,0)(233=-1,-1,-1,-1,0)(150=-1,-1,-1,-1,0)(151=-1,-1,-1,-1,0)</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
@ -138,24 +138,7 @@
<Name>UL2CM3(-S0 -C0 -P0 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128 -FS08000000 -FL020000 -FP0($$Device:STM32F103RB$Flash\STM32F10x_128.FLM))</Name>
</SetRegEntry>
</TargetDriverDllRegistry>
<Breakpoint>
<Bp>
<Number>0</Number>
<Type>0</Type>
<LineNumber>22</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>134218128</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>1</BreakIfRCount>
<Filename>..\drivers\Driver_GPIO.c</Filename>
<ExecCommand></ExecCommand>
<Expression>\\tp_sim\../drivers/Driver_GPIO.c\22</Expression>
</Bp>
</Breakpoint>
<Breakpoint/>
<Tracepoint>
<THDelay>0</THDelay>
</Tracepoint>
@ -262,7 +245,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>0</IsCurrentTarget>
<IsCurrentTarget>1</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<DebugOpt>
@ -379,6 +362,10 @@
<pSingCmdsp></pSingCmdsp>
<pMultCmdsp></pMultCmdsp>
<SystemViewers>
<Entry>
<Name>System Viewer\GPIOA</Name>
<WinId>35905</WinId>
</Entry>
<Entry>
<Name>System Viewer\TIM2</Name>
<WinId>35904</WinId>