ajout interruptions

This commit is contained in:
Celia 2021-09-24 18:38:27 +02:00
parent b9f4f0e707
commit 19c4fe9398
26 changed files with 467 additions and 220 deletions

View file

@ -1,13 +1,10 @@
#include "Driver_TIMER.h"
/*typedef struct {
TIM_TypeDef * Timer ;
uint16_t ARR ;
uint16_t PSC ;
} MyTimer_Struct_TypeDef ;
*/
//réservation d'un espace mémoire pour un pointeur de fonction associé à chacun des timers
void (* IT_function_TIM1) (void) = 0x0;
void (* IT_function_TIM2) (void) = 0x0;
void (* IT_function_TIM3) (void) = 0x0;
void (* IT_function_TIM4) (void) = 0x0;
void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer) {
Timer -> Timer -> ARR = Timer -> ARR -1;
@ -24,3 +21,59 @@ void Activate_TIM(int i) {
RCC-> APB1ENR |= 0x01 << (i-2) ;
}
}
void MyTimer_Active_IT ( TIM_TypeDef * Timer , char Prio , void (* IT_function) (void)) {
//active l'interruption sur timer et pointe vers la fonction IT_function avec la priorité prio
//"Trigger DMA request enabled"
Timer -> DIER |= 1;
if (Timer == TIM1) {
NVIC_EnableIRQ(TIM1_TRG_COM_IRQn);
NVIC_SetPriority(TIM1_TRG_COM_IRQn, Prio);
IT_function_TIM1 = IT_function ;
}
else if (Timer == TIM2) {
NVIC_EnableIRQ(TIM2_IRQn);
NVIC_SetPriority(TIM2_IRQn, Prio);
IT_function_TIM2 = IT_function ;
}
else if (Timer == TIM3) {
NVIC_EnableIRQ(TIM3_IRQn);
NVIC_SetPriority(TIM3_IRQn, Prio);
IT_function_TIM3 = IT_function ;
}
else if (Timer == TIM4) {
NVIC_EnableIRQ(TIM4_IRQn);
NVIC_SetPriority(TIM4_IRQn, Prio);
IT_function_TIM4 = IT_function ;
}
}
void TIM1_TRG_COM_IRQHandler(void) {
//on met à 0 le flag d'interruption
TIM1->SR &= ~1;
if (IT_function_TIM1)
(* IT_function_TIM1) ();
}
void TIM2_IRQHandler(void) {
//on met à 0 le flag d'interruption
TIM2->SR &= ~1;
if(IT_function_TIM2)
(* IT_function_TIM2) ();
}
void TIM3_IRQHandler(void) {
//on met à 0 le flag d'interruption
TIM3->SR &= ~1;
if(IT_function_TIM3)
(* IT_function_TIM3) ();
}
void TIM4_IRQHandler(void) {
//on met à 0 le flag d'interruption
TIM4->SR &= ~1;
if(IT_function_TIM4)
(* IT_function_TIM4) ();
}

View file

@ -11,6 +11,11 @@ typedef struct {
void MyTimer_Base_Init(MyTimer_Struct_TypeDef * Timer) ;
void Activate_TIM(int) ;
void MyTimer_Active_IT ( TIM_TypeDef * , char , void (*) (void)) ;
void TIM1_TRG_COM_IRQHandler(void) ;
void TIM2_IRQHandler(void) ;
void TIM3_IRQHandler(void) ;
void TIM4_IRQHandler(void) ;
#define MyTimer_Base_Start(Timer) (Timer->CR1 |= 0x1)
#define MyTimer_Base_Stop(Timer) (Timer->CR1 &= ~0x1)

View file

@ -465,13 +465,13 @@ ARM Macro Assembler Page 8
00000000
Command Line: --debug --xref --diag_suppress=9931 --cpu=Cortex-M3 --apcs=interw
ork --depend=.\objects\startup_stm32f10x_md.d -o.\objects\startup_stm32f10x_md.
o -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local
\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Ar
m\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --p
redefine="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 533" --predefi
ne="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1"
--list=.\listings\startup_stm32f10x_md.lst RTE\Device\STM32F103RB\startup_stm32
f10x_md.s
o -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\A
rm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\
Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --pre
define="__MICROLIB SETA 1" --predefine="__UVISION_VERSION SETA 533" --predefine
="_RTE_ SETA 1" --predefine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1" --
list=.\listings\startup_stm32f10x_md.lst RTE\Device\STM32F103RB\startup_stm32f1
0x_md.s

View file

@ -4,13 +4,32 @@ Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601]
Section Cross References
principal.o(i.main) refers to driver_timer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
principal.o(i.handle_TIM2) refers to driver_gpio.o(i.MyGPIO_Toggle) for MyGPIO_Toggle
principal.o(i.handle_TIM2) refers to principal.o(.data) for greenLed
principal.o(i.main) refers to driver_timer.o(i.Activate_TIM) for Activate_TIM
principal.o(i.main) refers to driver_gpio.o(i.MyGPIO_Activate) for MyGPIO_Activate
principal.o(i.main) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
principal.o(i.main) refers to driver_timer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
principal.o(i.main) refers to driver_gpio.o(i.MyGPIO_Set) for MyGPIO_Set
principal.o(i.main) refers to driver_timer.o(i.MyTimer_Active_IT) for MyTimer_Active_IT
principal.o(i.main) refers to principal.o(.data) for greenLed
principal.o(i.main) refers to principal.o(i.handle_TIM2) for handle_TIM2
driver_gpio.o(i.MyGPIO_Init) refers to driver_gpio.o(i.MyGPIO_Set) for MyGPIO_Set
driver_gpio.o(i.MyGPIO_Toggle) refers to driver_gpio.o(i.MyGPIO_Reset) for MyGPIO_Reset
driver_gpio.o(i.MyGPIO_Toggle) refers to driver_gpio.o(i.MyGPIO_Set) for MyGPIO_Set
driver_timer.o(i.MyTimer_Active_IT) refers to driver_timer.o(i.__NVIC_EnableIRQ) for __NVIC_EnableIRQ
driver_timer.o(i.MyTimer_Active_IT) refers to driver_timer.o(i.__NVIC_SetPriority) for __NVIC_SetPriority
driver_timer.o(i.MyTimer_Active_IT) refers to driver_timer.o(.data) for IT_function_TIM1
driver_timer.o(i.TIM1_TRG_COM_IRQHandler) refers to driver_timer.o(.data) for IT_function_TIM1
driver_timer.o(i.TIM2_IRQHandler) refers to driver_timer.o(.data) for IT_function_TIM2
driver_timer.o(i.TIM3_IRQHandler) refers to driver_timer.o(.data) for IT_function_TIM3
driver_timer.o(i.TIM4_IRQHandler) refers to driver_timer.o(.data) for IT_function_TIM4
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 driver_timer.o(i.TIM1_TRG_COM_IRQHandler) for TIM1_TRG_COM_IRQHandler
startup_stm32f10x_md.o(RESET) refers to driver_timer.o(i.TIM2_IRQHandler) for TIM2_IRQHandler
startup_stm32f10x_md.o(RESET) refers to driver_timer.o(i.TIM3_IRQHandler) for TIM3_IRQHandler
startup_stm32f10x_md.o(RESET) refers to driver_timer.o(i.TIM4_IRQHandler) for TIM4_IRQHandler
startup_stm32f10x_md.o(.text) refers to system_stm32f10x.o(i.SystemInit) for SystemInit
startup_stm32f10x_md.o(.text) refers to entry.o(.ARM.Collect$$$$00000000) for __main
system_stm32f10x.o(i.SetSysClock) refers to system_stm32f10x.o(i.SetSysClockTo72) for SetSysClockTo72
@ -44,12 +63,7 @@ Removing Unused input sections from the image.
Removing driver_gpio.o(.rev16_text), (4 bytes).
Removing driver_gpio.o(.revsh_text), (4 bytes).
Removing driver_gpio.o(.rrx_text), (6 bytes).
Removing driver_gpio.o(i.MyGPIO_Activate), (24 bytes).
Removing driver_gpio.o(i.MyGPIO_Init), (236 bytes).
Removing driver_gpio.o(i.MyGPIO_Read), (12 bytes).
Removing driver_gpio.o(i.MyGPIO_Reset), (12 bytes).
Removing driver_gpio.o(i.MyGPIO_Set), (8 bytes).
Removing driver_gpio.o(i.MyGPIO_Toggle), (36 bytes).
Removing driver_timer.o(.rev16_text), (4 bytes).
Removing driver_timer.o(.revsh_text), (4 bytes).
Removing driver_timer.o(.rrx_text), (6 bytes).
@ -60,7 +74,7 @@ Removing Unused input sections from the image.
Removing system_stm32f10x.o(i.SystemCoreClockUpdate), (164 bytes).
Removing system_stm32f10x.o(.data), (20 bytes).
21 unused section(s) (total 1080 bytes) removed from the image.
16 unused section(s) (total 764 bytes) removed from the image.
==============================================================================
@ -70,21 +84,21 @@ Image Symbol Table
Symbol Name Value Ov Type Size Object(Section)
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry11b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
Includes\Driver_GPIO.c 0x00000000 Number 0 driver_gpio.o ABSOLUTE
Includes\Driver_TIMER.c 0x00000000 Number 0 driver_timer.o ABSOLUTE
Includes\\Driver_GPIO.c 0x00000000 Number 0 driver_gpio.o ABSOLUTE
@ -112,17 +126,34 @@ Image Symbol Table
.text 0x08000104 Section 36 startup_stm32f10x_md.o(.text)
.text 0x08000128 Section 36 init.o(.text)
i.Activate_TIM 0x0800014c Section 0 driver_timer.o(i.Activate_TIM)
i.MyTimer_Base_Init 0x08000174 Section 0 driver_timer.o(i.MyTimer_Base_Init)
i.SetSysClock 0x08000186 Section 0 system_stm32f10x.o(i.SetSysClock)
SetSysClock 0x08000187 Thumb Code 8 system_stm32f10x.o(i.SetSysClock)
i.SetSysClockTo72 0x08000190 Section 0 system_stm32f10x.o(i.SetSysClockTo72)
SetSysClockTo72 0x08000191 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72)
i.SystemInit 0x08000270 Section 0 system_stm32f10x.o(i.SystemInit)
i.__scatterload_copy 0x080002d0 Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x080002de Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x080002e0 Section 14 handlers.o(i.__scatterload_zeroinit)
i.main 0x080002f0 Section 0 principal.o(i.main)
STACK 0x20000000 Section 1024 startup_stm32f10x_md.o(STACK)
i.MyGPIO_Activate 0x08000174 Section 0 driver_gpio.o(i.MyGPIO_Activate)
i.MyGPIO_Init 0x0800018c Section 0 driver_gpio.o(i.MyGPIO_Init)
i.MyGPIO_Reset 0x08000278 Section 0 driver_gpio.o(i.MyGPIO_Reset)
i.MyGPIO_Set 0x08000284 Section 0 driver_gpio.o(i.MyGPIO_Set)
i.MyGPIO_Toggle 0x0800028c Section 0 driver_gpio.o(i.MyGPIO_Toggle)
i.MyTimer_Active_IT 0x080002b0 Section 0 driver_timer.o(i.MyTimer_Active_IT)
i.MyTimer_Base_Init 0x08000344 Section 0 driver_timer.o(i.MyTimer_Base_Init)
i.SetSysClock 0x08000356 Section 0 system_stm32f10x.o(i.SetSysClock)
SetSysClock 0x08000357 Thumb Code 8 system_stm32f10x.o(i.SetSysClock)
i.SetSysClockTo72 0x08000360 Section 0 system_stm32f10x.o(i.SetSysClockTo72)
SetSysClockTo72 0x08000361 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72)
i.SystemInit 0x08000440 Section 0 system_stm32f10x.o(i.SystemInit)
i.TIM1_TRG_COM_IRQHandler 0x080004a0 Section 0 driver_timer.o(i.TIM1_TRG_COM_IRQHandler)
i.TIM2_IRQHandler 0x080004c4 Section 0 driver_timer.o(i.TIM2_IRQHandler)
i.TIM3_IRQHandler 0x080004e8 Section 0 driver_timer.o(i.TIM3_IRQHandler)
i.TIM4_IRQHandler 0x0800050c Section 0 driver_timer.o(i.TIM4_IRQHandler)
i.__NVIC_EnableIRQ 0x08000530 Section 0 driver_timer.o(i.__NVIC_EnableIRQ)
__NVIC_EnableIRQ 0x08000531 Thumb Code 34 driver_timer.o(i.__NVIC_EnableIRQ)
i.__NVIC_SetPriority 0x08000554 Section 0 driver_timer.o(i.__NVIC_SetPriority)
__NVIC_SetPriority 0x08000555 Thumb Code 32 driver_timer.o(i.__NVIC_SetPriority)
i.__scatterload_copy 0x0800057c Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x0800058a Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x0800058c Section 14 handlers.o(i.__scatterload_zeroinit)
i.handle_TIM2 0x0800059c Section 0 principal.o(i.handle_TIM2)
i.main 0x080005b0 Section 0 principal.o(i.main)
.data 0x20000000 Section 16 principal.o(.data)
.data 0x20000010 Section 16 driver_timer.o(.data)
STACK 0x20000020 Section 1024 startup_stm32f10x_md.o(STACK)
Global Symbols
@ -190,11 +221,7 @@ Image Symbol Table
TAMPER_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_BRK_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_CC_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_TRG_COM_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM1_UP_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM2_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM3_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
TIM4_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
USART1_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
USART2_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
USART3_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
@ -205,15 +232,32 @@ Image Symbol Table
__scatterload 0x08000129 Thumb Code 28 init.o(.text)
__scatterload_rt2 0x08000129 Thumb Code 0 init.o(.text)
Activate_TIM 0x0800014d Thumb Code 36 driver_timer.o(i.Activate_TIM)
MyTimer_Base_Init 0x08000175 Thumb Code 18 driver_timer.o(i.MyTimer_Base_Init)
SystemInit 0x08000271 Thumb Code 78 system_stm32f10x.o(i.SystemInit)
__scatterload_copy 0x080002d1 Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x080002df Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x080002e1 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
main 0x080002f1 Thumb Code 50 principal.o(i.main)
Region$$Table$$Base 0x08000328 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08000338 Number 0 anon$$obj.o(Region$$Table)
__initial_sp 0x20000400 Data 0 startup_stm32f10x_md.o(STACK)
MyGPIO_Activate 0x08000175 Thumb Code 18 driver_gpio.o(i.MyGPIO_Activate)
MyGPIO_Init 0x0800018d Thumb Code 236 driver_gpio.o(i.MyGPIO_Init)
MyGPIO_Reset 0x08000279 Thumb Code 12 driver_gpio.o(i.MyGPIO_Reset)
MyGPIO_Set 0x08000285 Thumb Code 8 driver_gpio.o(i.MyGPIO_Set)
MyGPIO_Toggle 0x0800028d Thumb Code 36 driver_gpio.o(i.MyGPIO_Toggle)
MyTimer_Active_IT 0x080002b1 Thumb Code 120 driver_timer.o(i.MyTimer_Active_IT)
MyTimer_Base_Init 0x08000345 Thumb Code 18 driver_timer.o(i.MyTimer_Base_Init)
SystemInit 0x08000441 Thumb Code 78 system_stm32f10x.o(i.SystemInit)
TIM1_TRG_COM_IRQHandler 0x080004a1 Thumb Code 28 driver_timer.o(i.TIM1_TRG_COM_IRQHandler)
TIM2_IRQHandler 0x080004c5 Thumb Code 32 driver_timer.o(i.TIM2_IRQHandler)
TIM3_IRQHandler 0x080004e9 Thumb Code 28 driver_timer.o(i.TIM3_IRQHandler)
TIM4_IRQHandler 0x0800050d Thumb Code 28 driver_timer.o(i.TIM4_IRQHandler)
__scatterload_copy 0x0800057d Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x0800058b Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x0800058d Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
handle_TIM2 0x0800059d Thumb Code 14 principal.o(i.handle_TIM2)
main 0x080005b1 Thumb Code 98 principal.o(i.main)
Region$$Table$$Base 0x08000624 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08000644 Number 0 anon$$obj.o(Region$$Table)
MonTimer 0x20000000 Data 8 principal.o(.data)
greenLed 0x20000008 Data 8 principal.o(.data)
IT_function_TIM1 0x20000010 Data 4 driver_timer.o(.data)
IT_function_TIM2 0x20000014 Data 4 driver_timer.o(.data)
IT_function_TIM3 0x20000018 Data 4 driver_timer.o(.data)
IT_function_TIM4 0x2000001c Data 4 driver_timer.o(.data)
__initial_sp 0x20000420 Data 0 startup_stm32f10x_md.o(STACK)
@ -223,49 +267,66 @@ Memory Map of the image
Image Entry point : 0x08000105
Load Region LR_1 (Base: 0x08000000, Size: 0x00000338, Max: 0xffffffff, ABSOLUTE)
Load Region LR_1 (Base: 0x08000000, Size: 0x00000664, Max: 0xffffffff, ABSOLUTE)
Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000338, Max: 0xffffffff, ABSOLUTE)
Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000644, Max: 0xffffffff, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x08000000 0x08000000 0x000000ec Data RO 149 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 200 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 203 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 206 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 208 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 210 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 211 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 218 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
0x08000100 0x08000100 0x00000000 Code RO 213 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
0x08000100 0x08000100 0x00000000 Code RO 215 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
0x08000100 0x08000100 0x00000004 Code RO 204 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000104 0x08000104 0x00000024 Code RO 150 * .text startup_stm32f10x_md.o
0x08000128 0x08000128 0x00000024 Code RO 219 .text mc_w.l(init.o)
0x0800014c 0x0800014c 0x00000028 Code RO 117 i.Activate_TIM driver_timer.o
0x08000174 0x08000174 0x00000012 Code RO 118 i.MyTimer_Base_Init driver_timer.o
0x08000186 0x08000186 0x00000008 Code RO 157 i.SetSysClock system_stm32f10x.o
0x0800018e 0x0800018e 0x00000002 PAD
0x08000190 0x08000190 0x000000e0 Code RO 158 i.SetSysClockTo72 system_stm32f10x.o
0x08000270 0x08000270 0x00000060 Code RO 160 i.SystemInit system_stm32f10x.o
0x080002d0 0x080002d0 0x0000000e Code RO 223 i.__scatterload_copy mc_w.l(handlers.o)
0x080002de 0x080002de 0x00000002 Code RO 224 i.__scatterload_null mc_w.l(handlers.o)
0x080002e0 0x080002e0 0x0000000e Code RO 225 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x080002ee 0x080002ee 0x00000002 PAD
0x080002f0 0x080002f0 0x00000038 Code RO 4 i.main principal.o
0x08000328 0x08000328 0x00000010 Data RO 221 Region$$Table anon$$obj.o
0x08000000 0x08000000 0x000000ec Data RO 208 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 259 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 262 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 265 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 267 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 269 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 270 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 277 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
0x08000100 0x08000100 0x00000000 Code RO 272 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
0x08000100 0x08000100 0x00000000 Code RO 274 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
0x08000100 0x08000100 0x00000004 Code RO 263 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000104 0x08000104 0x00000024 Code RO 209 * .text startup_stm32f10x_md.o
0x08000128 0x08000128 0x00000024 Code RO 278 .text mc_w.l(init.o)
0x0800014c 0x0800014c 0x00000028 Code RO 129 i.Activate_TIM driver_timer.o
0x08000174 0x08000174 0x00000018 Code RO 72 i.MyGPIO_Activate driver_gpio.o
0x0800018c 0x0800018c 0x000000ec Code RO 73 i.MyGPIO_Init driver_gpio.o
0x08000278 0x08000278 0x0000000c Code RO 75 i.MyGPIO_Reset driver_gpio.o
0x08000284 0x08000284 0x00000008 Code RO 76 i.MyGPIO_Set driver_gpio.o
0x0800028c 0x0800028c 0x00000024 Code RO 77 i.MyGPIO_Toggle driver_gpio.o
0x080002b0 0x080002b0 0x00000094 Code RO 130 i.MyTimer_Active_IT driver_timer.o
0x08000344 0x08000344 0x00000012 Code RO 131 i.MyTimer_Base_Init driver_timer.o
0x08000356 0x08000356 0x00000008 Code RO 216 i.SetSysClock system_stm32f10x.o
0x0800035e 0x0800035e 0x00000002 PAD
0x08000360 0x08000360 0x000000e0 Code RO 217 i.SetSysClockTo72 system_stm32f10x.o
0x08000440 0x08000440 0x00000060 Code RO 219 i.SystemInit system_stm32f10x.o
0x080004a0 0x080004a0 0x00000024 Code RO 132 i.TIM1_TRG_COM_IRQHandler driver_timer.o
0x080004c4 0x080004c4 0x00000024 Code RO 133 i.TIM2_IRQHandler driver_timer.o
0x080004e8 0x080004e8 0x00000024 Code RO 134 i.TIM3_IRQHandler driver_timer.o
0x0800050c 0x0800050c 0x00000024 Code RO 135 i.TIM4_IRQHandler driver_timer.o
0x08000530 0x08000530 0x00000022 Code RO 136 i.__NVIC_EnableIRQ driver_timer.o
0x08000552 0x08000552 0x00000002 PAD
0x08000554 0x08000554 0x00000028 Code RO 137 i.__NVIC_SetPriority driver_timer.o
0x0800057c 0x0800057c 0x0000000e Code RO 282 i.__scatterload_copy mc_w.l(handlers.o)
0x0800058a 0x0800058a 0x00000002 Code RO 283 i.__scatterload_null mc_w.l(handlers.o)
0x0800058c 0x0800058c 0x0000000e Code RO 284 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x0800059a 0x0800059a 0x00000002 PAD
0x0800059c 0x0800059c 0x00000014 Code RO 4 i.handle_TIM2 principal.o
0x080005b0 0x080005b0 0x00000074 Code RO 5 i.main principal.o
0x08000624 0x08000624 0x00000020 Data RO 280 Region$$Table anon$$obj.o
Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08000338, Size: 0x00000000, Max: 0xffffffff, ABSOLUTE)
**** No section assigned to this execution region ****
Execution Region ER_ZI (Exec base: 0x20000000, Load base: 0x08000338, Size: 0x00000400, Max: 0xffffffff, ABSOLUTE)
Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08000644, Size: 0x00000020, Max: 0xffffffff, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000000 - 0x00000400 Zero RW 147 STACK startup_stm32f10x_md.o
0x20000000 0x08000644 0x00000010 Data RW 6 .data principal.o
0x20000010 0x08000654 0x00000010 Data RW 138 .data driver_timer.o
Execution Region ER_ZI (Exec base: 0x20000020, Load base: 0x08000664, Size: 0x00000400, Max: 0xffffffff, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000020 - 0x00000400 Zero RW 206 STACK startup_stm32f10x_md.o
==============================================================================
@ -275,15 +336,16 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
58 4 0 0 0 1839 driver_timer.o
56 6 0 0 0 207455 principal.o
316 6 0 0 0 3616 driver_gpio.o
424 68 0 16 0 6033 driver_timer.o
136 24 0 16 0 208769 principal.o
36 8 236 0 1024 840 startup_stm32f10x_md.o
328 28 0 0 0 2101 system_stm32f10x.o
----------------------------------------------------------------------
480 46 252 0 1024 212235 Object Totals
0 0 16 0 0 0 (incl. Generated)
2 0 0 0 0 0 (incl. Padding)
1244 134 268 32 1024 221359 Object Totals
0 0 32 0 0 0 (incl. Generated)
4 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
@ -321,15 +383,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
572 62 252 0 1024 212247 Grand Totals
572 62 252 0 1024 212247 ELF Image Totals
572 62 252 0 0 0 ROM Totals
1336 150 268 32 1024 220695 Grand Totals
1336 150 268 32 1024 220695 ELF Image Totals
1336 150 268 32 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 824 ( 0.80kB)
Total RW Size (RW Data + ZI Data) 1024 ( 1.00kB)
Total ROM Size (Code + RO Data + RW Data) 824 ( 0.80kB)
Total RO Size (Code + RO Data) 1604 ( 1.57kB)
Total RW Size (RW Data + ZI Data) 1056 ( 1.03kB)
Total ROM Size (Code + RO Data + RW Data) 1636 ( 1.60kB)
==============================================================================

View file

@ -0,0 +1,2 @@
[EXTDLL]
Count=0

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\driver_gpio.o: Includes\Driver_GPIO.c
.\objects\driver_gpio.o: Includes\Driver_GPIO.h
.\objects\driver_gpio.o: C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\driver_gpio.o: .\RTE\_Simulation\RTE_Components.h
.\objects\driver_gpio.o: .\RTE\_carteSTM\RTE_Components.h
.\objects\driver_gpio.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\driver_gpio.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\driver_gpio.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\driver_timer.o: Includes\Driver_TIMER.c
.\objects\driver_timer.o: Includes\Driver_TIMER.h
.\objects\driver_timer.o: C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\driver_timer.o: .\RTE\_Simulation\RTE_Components.h
.\objects\driver_timer.o: .\RTE\_carteSTM\RTE_Components.h
.\objects\driver_timer.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\driver_timer.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\driver_timer.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,10 +1,11 @@
.\objects\principal.o: Source\principal.c
.\objects\principal.o: C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\principal.o: .\RTE\_Simulation\RTE_Components.h
.\objects\principal.o: .\RTE\_carteSTM\RTE_Components.h
.\objects\principal.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\principal.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\principal.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
.\objects\principal.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
.\objects\principal.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
.\objects\principal.o: C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
.\objects\principal.o: .\Includes\Driver_GPIO.h
.\objects\principal.o: .\Includes\Driver_TIMER.h

Binary file not shown.

View file

@ -1,6 +1,6 @@
.\objects\system_stm32f10x.o: RTE\Device\STM32F103RB\system_stm32f10x.c
.\objects\system_stm32f10x.o: C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\system_stm32f10x.o: .\RTE\_Simulation\RTE_Components.h
.\objects\system_stm32f10x.o: .\RTE\_carteSTM\RTE_Components.h
.\objects\system_stm32f10x.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\system_stm32f10x.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\system_stm32f10x.o: C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

View file

@ -17,7 +17,7 @@ Library Manager: ArmAr.exe V5.06 update 7 (build 960)
Hex Converter: FromElf.exe V5.06 update 7 (build 960)
CPU DLL: SARMCM3.DLL V5.33.0.0
Dialog DLL: DARMSTM.DLL V1.68.0.0
Target DLL: UL2CM3.DLL V1.163.9.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.8.0
Dialog DLL: TARMSTM.DLL V1.66.0.0
<h2>Project:</h2>
@ -26,15 +26,18 @@ Project File Date: 09/20/2021
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Simulation'
Rebuild target 'carteSTM'
assembling startup_stm32f10x_md.s...
compiling principal.c...
compiling system_stm32f10x.c...
compiling Driver_TIMER.c...
Source\principal.c(40): warning: #111-D: statement is unreachable
return 0;
Source\principal.c: 1 warning, 0 errors
compiling Driver_GPIO.c...
compiling Driver_TIMER.c...
compiling system_stm32f10x.c...
linking...
Program Size: Code=572 RO-data=252 RW-data=0 ZI-data=1024
".\Objects\timer_act2.axf" - 0 Error(s), 0 Warning(s).
Program Size: Code=1336 RO-data=268 RW-data=32 ZI-data=1024
".\Objects\timer_act2.axf" - 0 Error(s), 1 Warning(s).
<h2>Software Packages used:</h2>
@ -52,7 +55,7 @@ Package Vendor: Keil
<h2>Collection of Component include folders:</h2>
.\RTE\Device\STM32F103RB
.\RTE\_Simulation
.\RTE\_carteSTM
C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include
C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include

View file

@ -3,7 +3,7 @@
<title>Static Call Graph - [.\Objects\timer_act2.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\Objects\timer_act2.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Fri Sep 24 16:10:21 2021
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Fri Sep 24 18:37:27 2021
<BR><P>
<H3>Maximum Stack Usage = 28 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
@ -58,7 +58,7 @@ Function Pointers
<LI><a href="#[f]">RCC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[33]">RTCAlarm_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[d]">RTC_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[38]">Reset_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[39]">Reset_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[2d]">SPI1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[2e]">SPI2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[6]">SVC_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
@ -67,11 +67,11 @@ Function Pointers
<LI><a href="#[c]">TAMPER_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[22]">TIM1_BRK_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<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="#[24]">TIM1_TRG_COM_IRQHandler</a> from driver_timer.o(i.TIM1_TRG_COM_IRQHandler) 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="#[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="#[26]">TIM2_IRQHandler</a> from driver_timer.o(i.TIM2_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[27]">TIM3_IRQHandler</a> from driver_timer.o(i.TIM3_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[28]">TIM4_IRQHandler</a> from driver_timer.o(i.TIM4_IRQHandler) 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)
<LI><a href="#[30]">USART2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[31]">USART3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
@ -81,6 +81,7 @@ Function Pointers
<LI><a href="#[5]">UsageFault_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[a]">WWDG_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[37]">__main</a> from entry.o(.ARM.Collect$$$$00000000) referenced from startup_stm32f10x_md.o(.text)
<LI><a href="#[38]">handle_TIM2</a> from principal.o(i.handle_TIM2) referenced from principal.o(i.main)
<LI><a href="#[35]">main</a> from principal.o(i.main) referenced from entry9a.o(.ARM.Collect$$$$0000000B)
</UL>
<P>
@ -90,29 +91,29 @@ Global Symbols
<P><STRONG><a name="[37]"></a>__main</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry.o(.ARM.Collect$$$$00000000))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
</UL>
<P><STRONG><a name="[40]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[49]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[39]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
<P><STRONG><a name="[3a]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL>
<P><STRONG><a name="[3b]"></a>__main_after_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Called By]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
<P><STRONG><a name="[3c]"></a>__main_after_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Called By]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__scatterload
</UL>
<P><STRONG><a name="[41]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[4a]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[42]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[4b]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[43]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[4c]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[44]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
<P><STRONG><a name="[4d]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
<P><STRONG><a name="[45]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[4e]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[46]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
<P><STRONG><a name="[4f]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
<P><STRONG><a name="[38]"></a>Reset_Handler</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<P><STRONG><a name="[39]"></a>Reset_Handler</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<P><STRONG><a name="[1]"></a>NMI_Handler</STRONG> (Thumb, 2 bytes, Stack size 0 bytes, startup_stm32f10x_md.o(.text))
<BR><BR>[Calls]<UL><LI><a href="#[1]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;NMI_Handler
@ -274,21 +275,9 @@ Global Symbols
<P><STRONG><a name="[25]"></a>TIM1_CC_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="[24]"></a>TIM1_TRG_COM_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="[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>
<P><STRONG><a name="[28]"></a>TIM4_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="[2f]"></a>USART1_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>
@ -310,58 +299,139 @@ Global Symbols
<P><STRONG><a name="[a]"></a>WWDG_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="[3a]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
<BR><BR>[Calls]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__main_after_scatterload
<P><STRONG><a name="[3b]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
<BR><BR>[Calls]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__main_after_scatterload
</UL>
<BR>[Called By]<UL><LI><a href="#[39]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
<BR>[Called By]<UL><LI><a href="#[3a]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;_main_scatterload
</UL>
<P><STRONG><a name="[47]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[50]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[3f]"></a>Activate_TIM</STRONG> (Thumb, 36 bytes, Stack size 0 bytes, driver_timer.o(i.Activate_TIM))
<P><STRONG><a name="[46]"></a>Activate_TIM</STRONG> (Thumb, 36 bytes, Stack size 0 bytes, driver_timer.o(i.Activate_TIM))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3e]"></a>MyTimer_Base_Init</STRONG> (Thumb, 18 bytes, Stack size 0 bytes, driver_timer.o(i.MyTimer_Base_Init))
<P><STRONG><a name="[47]"></a>MyGPIO_Activate</STRONG> (Thumb, 18 bytes, Stack size 0 bytes, driver_gpio.o(i.MyGPIO_Activate))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3d]"></a>MyGPIO_Init</STRONG> (Thumb, 236 bytes, Stack size 4 bytes, driver_gpio.o(i.MyGPIO_Init))
<BR><BR>[Stack]<UL><LI>Max Depth = 4<LI>Call Chain = MyGPIO_Init
</UL>
<BR>[Calls]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Set
</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, 12 bytes, Stack size 0 bytes, driver_gpio.o(i.MyGPIO_Reset))
<BR><BR>[Called By]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Toggle
</UL>
<P><STRONG><a name="[3e]"></a>MyGPIO_Set</STRONG> (Thumb, 8 bytes, Stack size 0 bytes, driver_gpio.o(i.MyGPIO_Set))
<BR><BR>[Called By]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Toggle
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
<LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3f]"></a>MyGPIO_Toggle</STRONG> (Thumb, 36 bytes, Stack size 12 bytes, driver_gpio.o(i.MyGPIO_Toggle))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = MyGPIO_Toggle
</UL>
<BR>[Calls]<UL><LI><a href="#[40]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Reset
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Set
</UL>
<BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;handle_TIM2
</UL>
<P><STRONG><a name="[41]"></a>MyTimer_Active_IT</STRONG> (Thumb, 120 bytes, Stack size 16 bytes, driver_timer.o(i.MyTimer_Active_IT))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = MyTimer_Active_IT &rArr; __NVIC_SetPriority
</UL>
<BR>[Calls]<UL><LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__NVIC_SetPriority
<LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;__NVIC_EnableIRQ
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[48]"></a>MyTimer_Base_Init</STRONG> (Thumb, 18 bytes, Stack size 0 bytes, driver_timer.o(i.MyTimer_Base_Init))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[36]"></a>SystemInit</STRONG> (Thumb, 78 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SystemInit))
<BR><BR>[Stack]<UL><LI>Max Depth = 28<LI>Call Chain = SystemInit &rArr; SetSysClock &rArr; SetSysClockTo72
</UL>
<BR>[Calls]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
<BR>[Calls]<UL><LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
</UL>
<P><STRONG><a name="[48]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[49]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[4a]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 50 bytes, Stack size 16 bytes, principal.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 16<LI>Call Chain = main
<P><STRONG><a name="[24]"></a>TIM1_TRG_COM_IRQHandler</STRONG> (Thumb, 28 bytes, Stack size 8 bytes, driver_timer.o(i.TIM1_TRG_COM_IRQHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM1_TRG_COM_IRQHandler
</UL>
<BR>[Calls]<UL><LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Init
<LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Activate_TIM
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[26]"></a>TIM2_IRQHandler</STRONG> (Thumb, 32 bytes, Stack size 8 bytes, driver_timer.o(i.TIM2_IRQHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM2_IRQHandler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[27]"></a>TIM3_IRQHandler</STRONG> (Thumb, 28 bytes, Stack size 8 bytes, driver_timer.o(i.TIM3_IRQHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM3_IRQHandler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[28]"></a>TIM4_IRQHandler</STRONG> (Thumb, 28 bytes, Stack size 8 bytes, driver_timer.o(i.TIM4_IRQHandler))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = TIM4_IRQHandler
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[51]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[52]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[53]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[38]"></a>handle_TIM2</STRONG> (Thumb, 14 bytes, Stack size 8 bytes, principal.o(i.handle_TIM2))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = handle_TIM2 &rArr; MyGPIO_Toggle
</UL>
<BR>[Calls]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Toggle
</UL>
<BR>[Address Reference Count : 1]<UL><LI> principal.o(i.main)
</UL>
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 98 bytes, Stack size 0 bytes, principal.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = main &rArr; MyTimer_Active_IT &rArr; __NVIC_SetPriority
</UL>
<BR>[Calls]<UL><LI><a href="#[48]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Init
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Active_IT
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Set
<LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
<LI><a href="#[47]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Activate
<LI><a href="#[46]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Activate_TIM
</UL>
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
</UL><P>
<H3>
Local Symbols
</H3>
<P><STRONG><a name="[3c]"></a>SetSysClock</STRONG> (Thumb, 8 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SetSysClock))
<P><STRONG><a name="[42]"></a>__NVIC_EnableIRQ</STRONG> (Thumb, 34 bytes, Stack size 0 bytes, driver_timer.o(i.__NVIC_EnableIRQ))
<BR><BR>[Called By]<UL><LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Active_IT
</UL>
<P><STRONG><a name="[43]"></a>__NVIC_SetPriority</STRONG> (Thumb, 32 bytes, Stack size 8 bytes, driver_timer.o(i.__NVIC_SetPriority))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = __NVIC_SetPriority
</UL>
<BR>[Called By]<UL><LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Active_IT
</UL>
<P><STRONG><a name="[44]"></a>SetSysClock</STRONG> (Thumb, 8 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SetSysClock))
<BR><BR>[Stack]<UL><LI>Max Depth = 20<LI>Call Chain = SetSysClock &rArr; SetSysClockTo72
</UL>
<BR>[Calls]<UL><LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClockTo72
<BR>[Calls]<UL><LI><a href="#[45]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClockTo72
</UL>
<BR>[Called By]<UL><LI><a href="#[36]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SystemInit
</UL>
<P><STRONG><a name="[3d]"></a>SetSysClockTo72</STRONG> (Thumb, 214 bytes, Stack size 12 bytes, system_stm32f10x.o(i.SetSysClockTo72))
<P><STRONG><a name="[45]"></a>SetSysClockTo72</STRONG> (Thumb, 214 bytes, Stack size 12 bytes, system_stm32f10x.o(i.SetSysClockTo72))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = SetSysClockTo72
</UL>
<BR>[Called By]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
<BR>[Called By]<UL><LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
</UL>
<P>
<H3>

View file

@ -1,6 +1,6 @@
Dependencies for Project 'timer_act2', Target 'Simulation': (DO NOT MODIFY !)
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
F (.\Source\principal.c)(0x614DDC4B)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\principal.o --omf_browse .\objects\principal.crf --depend .\objects\principal.d)
F (.\Source\principal.c)(0x614DFD86)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\principal.o --omf_browse .\objects\principal.crf --depend .\objects\principal.d)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58259ADC)
I (.\RTE\_Simulation\RTE_Components.h)(0x61487B1E)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F3392)
@ -9,8 +9,9 @@ I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cms
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E836932)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F3392)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58259ADC)
I (.\Includes\Driver_TIMER.h)(0x614DD6EB)
F (.\Includes\Driver_GPIO.c)(0x61489146)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (.\Includes\Driver_GPIO.h)(0x61476D7E)
I (.\Includes\Driver_TIMER.h)(0x614DED89)
F (.\Includes\Driver_GPIO.c)(0x614DFC28)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (Includes\Driver_GPIO.h)(0x61476D7E)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58259ADC)
I (.\RTE\_Simulation\RTE_Components.h)(0x61487B1E)
@ -21,8 +22,8 @@ I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cms
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F3392)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58259ADC)
F (.\Includes\Driver_GPIO.h)(0x61476D7E)()
F (.\Includes\Driver_TIMER.c)(0x614DD6E5)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_timer.o --omf_browse .\objects\driver_timer.crf --depend .\objects\driver_timer.d)
I (Includes\Driver_TIMER.h)(0x614DD6EB)
F (.\Includes\Driver_TIMER.c)(0x614DFDB4)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_timer.o --omf_browse .\objects\driver_timer.crf --depend .\objects\driver_timer.d)
I (Includes\Driver_TIMER.h)(0x614DED89)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58259ADC)
I (.\RTE\_Simulation\RTE_Components.h)(0x61487B1E)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F3392)
@ -31,7 +32,7 @@ I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cms
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E836932)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F3392)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58259ADC)
F (.\Includes\Driver_TIMER.h)(0x614DD6EB)()
F (.\Includes\Driver_TIMER.h)(0x614DED89)()
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59284216)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x58259ADC)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 533" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list .\listings\startup_stm32f10x_md.lst --xref -o .\objects\startup_stm32f10x_md.o --depend .\objects\startup_stm32f10x_md.d)
F (RTE\Device\STM32F103RB\system_stm32f10x.c)(0x58259ADC)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_Simulation -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)

View file

@ -1,6 +1,6 @@
Dependencies for Project 'timer_act2', Target 'carteSTM': (DO NOT MODIFY !)
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
F (.\Source\principal.c)(0x61489856)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\principal.o --omf_browse .\objects\principal.crf --depend .\objects\principal.d)
F (.\Source\principal.c)(0x614DFEC0)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\principal.o --omf_browse .\objects\principal.crf --depend .\objects\principal.d)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58259ADC)
I (.\RTE\_carteSTM\RTE_Components.h)(0x61487C22)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F3392)
@ -9,8 +9,9 @@ I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cms
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E836932)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F3392)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58259ADC)
I (.\Includes\Driver_TIMER.h)(0x61489859)
F (.\Includes\Driver_GPIO.c)(0x61489146)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (.\Includes\Driver_GPIO.h)(0x61476D7E)
I (.\Includes\Driver_TIMER.h)(0x614DED89)
F (.\Includes\Driver_GPIO.c)(0x614DFC28)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (Includes\Driver_GPIO.h)(0x61476D7E)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58259ADC)
I (.\RTE\_carteSTM\RTE_Components.h)(0x61487C22)
@ -21,8 +22,8 @@ I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cms
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F3392)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58259ADC)
F (.\Includes\Driver_GPIO.h)(0x61476D7E)()
F (.\Includes\Driver_TIMER.c)(0x6148985E)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_timer.o --omf_browse .\objects\driver_timer.crf --depend .\objects\driver_timer.d)
I (Includes\Driver_TIMER.h)(0x61489859)
F (.\Includes\Driver_TIMER.c)(0x614DFDB4)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_timer.o --omf_browse .\objects\driver_timer.crf --depend .\objects\driver_timer.d)
I (Includes\Driver_TIMER.h)(0x614DED89)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58259ADC)
I (.\RTE\_carteSTM\RTE_Components.h)(0x61487C22)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F3392)
@ -31,7 +32,7 @@ I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cms
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E836932)
I (C:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F3392)
I (C:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58259ADC)
F (.\Includes\Driver_TIMER.h)(0x61489859)()
F (.\Includes\Driver_TIMER.h)(0x614DED89)()
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59284216)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x58259ADC)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 533" --pd "_RTE_ SETA 1" --pd "STM32F10X_MD SETA 1" --pd "_RTE_ SETA 1" --list .\listings\startup_stm32f10x_md.lst --xref -o .\objects\startup_stm32f10x_md.o --depend .\objects\startup_stm32f10x_md.d)
F (RTE\Device\STM32F103RB\system_stm32f10x.c)(0x58259ADC)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\Includes -I.\RTE\Device\STM32F103RB -I.\RTE\_carteSTM -IC:\Users\chauz\AppData\Local\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Users\chauz\AppData\Local\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="533" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)

View file

@ -1,27 +1,41 @@
#include "stm32f10x.h"
#include "Driver_GPIO.h"
#include "Driver_TIMER.h"
MyTimer_Struct_TypeDef MonTimer ;
MyGPIO_Struct_TypeDef greenLed ;
void handle_TIM2(void) {
MyGPIO_Toggle(greenLed.GPIO, greenLed.GPIO_Pin);
}
int main(void) {
Activate_TIM(2);
MyGPIO_Activate(1);
greenLed.GPIO = GPIOA;
greenLed.GPIO_Pin = 5 ;
greenLed.GPIO_Conf = Out_Ppull ;
MyGPIO_Init(&greenLed);
/*typedef struct {
TIM_TypeDef * Timer ;
uint16_t ARR ;
uint16_t PSC ;
} MyTimer_Struct_TypeDef ;
*/
MyTimer_Struct_TypeDef MonTimer ;
MonTimer.Timer = TIM1 ;
MonTimer.Timer = TIM2 ;
//méthode PGCD
//MonTimer.ARR = 65454;
//MonTimer.PSC = 550 ;
MonTimer.ARR = 18000;
MonTimer.PSC = 2000 ;
MyTimer_Base_Init(&MonTimer);
Activate_TIM(1);
MyGPIO_Set(greenLed.GPIO,greenLed.GPIO_Pin);
MyTimer_Active_IT(TIM2, 1, handle_TIM2);
MyTimer_Base_Start(MonTimer.Timer);
while(1) {}
return 0;
}

File diff suppressed because one or more lines are too long

View file

@ -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=91,141,311,601,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,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=791,113,1385,864,0)(131=-1,-1,-1,-1,0)(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=75,104,451,661,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=91,141,311,601,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,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=791,113,1385,864,0)(131=530,21,1124,772,0)(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>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
@ -185,7 +185,12 @@
<Wi>
<IntNumber>0</IntNumber>
<FirstString>`TIM1_CNT</FirstString>
<SecondString>FF000000000000000000000000000000C093D1400000000000000000000000000000000054494D315F434E540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000000000000F03F180000000000000000000000000000000000000004010008</SecondString>
<SecondString>FF000000000000000000000000000000C093D1400000000000000000000000000000000054494D315F434E540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000001000000000000000000E03F150000000000000000000000000000000000000004010008</SecondString>
</Wi>
<Wi>
<IntNumber>1</IntNumber>
<FirstString>((PORTA &amp; 0x00000020) &gt;&gt; 5 &amp; 0x20) &gt;&gt; 5</FirstString>
<SecondString>008000000000000000000000000000000000F03F0000000000000000000000000000000028504F5254412026203078303030303030323029203E3E2035000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000100000002000000000000000000E03F1500000000000000000000000000000000000000B0050008</SecondString>
</Wi>
</LogicAnalyzers>
<DebugDescription>
@ -252,7 +257,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>0</IsCurrentTarget>
<IsCurrentTarget>1</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<DebugOpt>
@ -294,6 +299,31 @@
<pMon>STLink\ST-LINKIII-KEIL_SWO.dll</pMon>
</DebugOpt>
<TargetDriverDllRegistry>
<SetRegEntry>
<Number>0</Number>
<Key>ARMRTXEVENTFLAGS</Key>
<Name>-L70 -Z18 -C0 -M0 -T1</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
<Key>DLGTARM</Key>
<Name>(1010=75,104,451,661,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=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=-1,-1,-1,-1,0)(121=-1,-1,-1,-1,0)(122=-1,-1,-1,-1,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=150,126,744,820,0)(131=150,126,744,820,0)(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)(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>
<Key>ARMDBGFLAGS</Key>
<Name></Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
<Key>ST-LINKIII-KEIL_SWO</Key>
<Name>-U-O206 -O206 -SF10000 -C0 -A0 -I0 -HNlocalhost -HP7184 -P1 -N00("ARM CoreSight SW-DP (ARM Core") -D00(1BA01477) -L00(0) -TO131090 -TC10000000 -TT10000000 -TP21 -TDS8007 -TDT0 -TDC1F -TIEFFFFFFFF -TIP8 -FO7 -FD20000000 -FC1000 -FN1 -FF0STM32F10x_128.FLM -FS08000000 -FL020000 -FP0($$Device:STM32F103RB$Flash\STM32F10x_128.FLM)</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
<Key>DLGUARM</Key>
<Name>(105=-1,-1,-1,-1,0)</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
<Key>UL2CM3</Key>
@ -307,12 +337,12 @@
<DebugFlag>
<trace>0</trace>
<periodic>1</periodic>
<aLwin>0</aLwin>
<aLwin>1</aLwin>
<aCover>0</aCover>
<aSer1>0</aSer1>
<aSer2>0</aSer2>
<aPa>0</aPa>
<viewmode>0</viewmode>
<viewmode>1</viewmode>
<vrSel>0</vrSel>
<aSym>0</aSym>
<aTbox>0</aTbox>
@ -321,7 +351,7 @@
<AscS3>0</AscS3>
<aSer3>0</aSer3>
<eProf>0</eProf>
<aLa>0</aLa>
<aLa>1</aLa>
<aPa1>0</aPa1>
<AscS4>0</AscS4>
<aSer4>0</aSer4>
@ -345,7 +375,7 @@
<pMultCmdsp></pMultCmdsp>
<DebugDescription>
<Enable>1</Enable>
<EnableFlashSeq>1</EnableFlashSeq>
<EnableFlashSeq>0</EnableFlashSeq>
<EnableLog>0</EnableLog>
<Protocol>2</Protocol>
<DbgClock>10000000</DbgClock>