Compare commits

..

No commits in common. "girouette" and "master" have entirely different histories.

42 changed files with 405 additions and 4451 deletions

View file

@ -1,62 +0,0 @@
#include "MyGirouette.h"
#include "Driver_GPIO.h"
#include "MyTimer.h"
int x = 0;
void EXTI0_IRQHandler(void) {
x++;
//EXTI->PR &= ~(1<<0) ;
EXTI->PR |= (1<<0) ;
}
void Init_Girouette(void){
MyGPIO_Struct_TypeDef GPIOA0={
GPIOA,
0,
In_Floating
};
MyGPIO_Struct_TypeDef GPIOA1={
GPIOA,
1,
In_Floating
};
MyGPIO_Struct_TypeDef GPIOB0={
GPIOB,
0,
In_Floating
};
// Configuration du timer
/* MyTimer_Struct_TypeDef TIM;
TIM.Timer = TIM2;
TIM.ARR = 360*2;
TIM.PSC = 0;
MyTimer_Base_Init(&TIM);
TIM2->CCMR1 |= 0x1 << 0; //CH1
TIM2->CCMR1 |= 0x1 << 8; //CH2
TIM2->SMCR |= 0x1 << 0; // Capture Mode : 1 => seulement les fronts montants 2 => seulement les fronts descendants 3 => les 2
//TIM2->CCMR1 |= 0x1 << 2;
*/
// 0 Reset
NVIC->ISER[0] |= 1 << 6;
NVIC->IP[6] = 1<<4;
MyGPIO_Init(&GPIOB0);
RCC->APB2ENR |= RCC_APB2ENR_AFIOEN ;
AFIO->EXTICR[0] |= 0x0001; // PB0 AFIO
EXTI->RTSR |= 1 <<0 ; // rising
EXTI->IMR |= 1<<0 ; //mask
/* MyGPIO_Init(&GPIOA0);
MyGPIO_Init(&GPIOA1);
MyTimer_Base_Start(TIM2);*/
}
uint16_t Get_Angle(void){return (TIM2 -> CNT)/2;}

View file

@ -1,8 +0,0 @@
#ifndef __MYGIROUETTE_H
#define __MYGIROUETTE_H
#include "stm32f10x.h"
void Init_Girouette(void);
uint16_t Get_Angle(void);
#endif

View file

@ -43,9 +43,6 @@ void MyTimer_Base_Stop(TIM_TypeDef * Timer ) {
}
uint16_t Get_Timer_Count(TIM_TypeDef * Timer){
return Timer ->CNT;
}
void MyTimer_ActiveIT ( TIM_TypeDef * Timer , char Prio, void (* IT_function) (void)){
Timer->DIER |= 0x01; // on autorise l'interuption au niveau du timer
@ -111,7 +108,7 @@ void MyTimer_PWM(TIM_TypeDef * Timer, char Channel){
gpio.GPIO_Conf = AltOut_Ppull;
// Activation la capture du compteur (CNT) dans le registre capture register
Timer->CCER |= TIM_CCER_CC1E;
@ -125,7 +122,6 @@ void MyTimer_PWM(TIM_TypeDef * Timer, char Channel){
Timer->CCMR1 |= TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2;
Timer->CCMR1 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC1S); // mettre 00
Timer->CCR1 = 0;
Timer->CCER |= TIM_CCER_CC1E;
switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
case (int)TIM1 :
@ -162,7 +158,6 @@ void MyTimer_PWM(TIM_TypeDef * Timer, char Channel){
Timer->CCMR1 |= TIM_CCMR1_OC2M_1| TIM_CCMR1_OC2M_2;
Timer->CCMR1 &= ~(TIM_CCMR1_CC2S | TIM_CCMR1_CC2S); // mettre 00
Timer->CCR2 = 0;
Timer->CCER |= TIM_CCER_CC2E;
switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
case (int)TIM1 :
@ -194,11 +189,10 @@ void MyTimer_PWM(TIM_TypeDef * Timer, char Channel){
============== */
case 3 :
// On veut mettre les bits 4 à 6 de OC2M à 110 (PWM mode 1 p 415)
Timer->CCMR2 |= TIM_CCMR2_OC3M_1 | TIM_CCMR2_OC3M_2;
Timer->CCMR2 &= ~(TIM_CCMR2_CC3S | TIM_CCMR2_CC3S); // mettre 00
// On veut mettre les bits 4 à 6 de OC2M à 110 (PWM mode 1 p 349)
Timer->CCMR2 |= TIM_CCMR1_OC1M_1 | TIM_CCMR1_OC1M_2;
Timer->CCMR2 &= ~(TIM_CCMR1_CC1S | TIM_CCMR1_CC1S); // mettre 00
Timer->CCR3 = 0;
Timer->CCER |= TIM_CCER_CC3E;
switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
case (int)TIM1 :
@ -229,11 +223,10 @@ void MyTimer_PWM(TIM_TypeDef * Timer, char Channel){
============== */
case 4 :
// On veut mettre les bits 12 à 14 de OC2M à 110 (PWM mode 1 p 415)
Timer->CCMR2 |= TIM_CCMR2_OC4M_1 | TIM_CCMR2_OC4M_2;
Timer->CCMR2 &= ~(TIM_CCMR2_CC4S | TIM_CCMR2_CC4S); // mettre 00
// On veut mettre les bits 12 à 14 de OC2M à 110 (PWM mode 1 p 349)
Timer->CCMR2 |= TIM_CCMR1_OC2M_1 | TIM_CCMR1_OC2M_2;
Timer->CCMR2 &= ~(TIM_CCMR1_CC2S | TIM_CCMR1_CC2S); // mettre 00
Timer->CCR4 = 0;
Timer->CCER |= TIM_CCER_CC4E;
switch ((int)Timer) { // on cast le timer pour le comparer au pointeur des timers existants
case (int)TIM1 :
@ -285,28 +278,6 @@ void Set_PWM_PRCT(TIM_TypeDef * Timer, char Channel, int percent){
}
void Set_Duty_Cycle(TIM_TypeDef * Timer , char Channel,uint16_t crr){
switch(Channel){
case 1:
Timer->CCR1 = crr;
break;
case 2:
Timer->CCR2 = crr;
break;
case 3:
Timer->CCR3 = crr;
break;
case 4:
Timer->CCR4 = crr;
break;
}
}
uint16_t Get_Max_Duty(TIM_TypeDef * Timer){
return Timer->ARR;
}

View file

@ -28,19 +28,7 @@ void MyTimer_Base_Stop(TIM_TypeDef * Timer );
void MyTimer_ActiveIT (TIM_TypeDef * Timer, char Prio, void (* IT_function) (void));
void MyTimer_PWM(TIM_TypeDef * Timer, char Channel);
/**
* alpha = CRR/ARR, use Get_Max_Duty(Timer) to get ARR
*/
void Set_Duty_Cycle(TIM_TypeDef * Timer , char Channel,uint16_t crr);
/**
* Returns ARR
*/
uint16_t Get_Max_Duty(TIM_TypeDef * Timer);
void Set_PWM_PRCT(TIM_TypeDef * Timer, char Channel, int percent);
uint16_t Get_Timer_Count(TIM_TypeDef * Timer);
#endif

View file

@ -1,13 +0,0 @@
#ifndef MYVOILE_H
#define MYVOILE_H
#include "stm32f10x.h"
#include "MyTimer.h"
#define M (0.1-0.05)/(90.0*2.0) // Coefficient de la pente pour la fonction affine
void MyVoile_Init(void);
void Set_Voile(uint16_t angle);
#endif

View file

@ -4,38 +4,22 @@ Component: ARM Compiler 5.06 update 7 (build 960) Tool: armlink [4d3601]
Section Cross References
main.o(i.Callback) refers to myadc.o(i.startADC) for startADC
main.o(i.Callback) refers to myadc.o(i.read) for read
main.o(i.Callback) refers to fflti.o(.text) for __aeabi_i2f
main.o(i.Callback) refers to main.o(.data) for a
main.o(i.main) refers to mygirouette.o(i.Init_Girouette) for Init_Girouette
prinicpal.o(i.Callback) refers to myadc.o(i.startADC) for startADC
prinicpal.o(i.Callback) refers to myadc.o(i.read) for read
prinicpal.o(i.Callback) refers to prinicpal.o(.data) for a
prinicpal.o(i.main) refers to mytimer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
prinicpal.o(i.main) refers to myadc.o(i.initADC) for initADC
prinicpal.o(i.main) refers to mytimer.o(i.MyTimer_ActiveIT) for MyTimer_ActiveIT
prinicpal.o(i.main) refers to mytimer.o(i.MyTimer_Base_Start) for MyTimer_Base_Start
prinicpal.o(i.main) refers to prinicpal.o(i.Callback) for Callback
mytimer.o(i.MyTimer_ActiveIT) refers to mytimer.o(.data) for ptr1
mytimer.o(i.MyTimer_PWM) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
mytimer.o(i.TIM1_UP_IRQHandler) refers to mytimer.o(.data) for ptr1
mytimer.o(i.TIM2_IRQHandler) refers to mytimer.o(.data) for ptr2
mytimer.o(i.TIM3_IRQHandler) refers to mytimer.o(.data) for ptr3
mytimer.o(i.TIM4_IRQHandler) refers to mytimer.o(.data) for ptr4
mygirouette.o(i.EXTI0_IRQHandler) refers to mygirouette.o(.data) for x
mygirouette.o(i.Init_Girouette) refers to driver_gpio.o(i.MyGPIO_Init) for MyGPIO_Init
mygirouette.o(i.Init_Girouette) refers to mygirouette.o(.constdata) for .constdata
myvoile.o(i.MyVoile_Init) refers to mytimer.o(i.MyTimer_Base_Init) for MyTimer_Base_Init
myvoile.o(i.MyVoile_Init) refers to mytimer.o(i.MyTimer_PWM) for MyTimer_PWM
myvoile.o(i.MyVoile_Init) refers to mytimer.o(i.MyTimer_Base_Start) for MyTimer_Base_Start
myvoile.o(i.MyVoile_Init) refers to myvoile.o(.constdata) for .constdata
myvoile.o(i.Set_Voile) refers to dfltui.o(.text) for __aeabi_ui2d
myvoile.o(i.Set_Voile) refers to cdcmple.o(.text) for __aeabi_cdcmple
myvoile.o(i.Set_Voile) refers to dmul.o(.text) for __aeabi_dmul
myvoile.o(i.Set_Voile) refers to ddiv.o(.text) for __aeabi_ddiv
myvoile.o(i.Set_Voile) refers to dadd.o(.text) for __aeabi_drsub
myvoile.o(i.Set_Voile) refers to d2f.o(.text) for __aeabi_d2f
myvoile.o(i.Set_Voile) refers to mytimer.o(i.Get_Max_Duty) for Get_Max_Duty
myvoile.o(i.Set_Voile) refers to ffltui.o(.text) for __aeabi_ui2f
myvoile.o(i.Set_Voile) refers to fmul.o(.text) for __aeabi_fmul
myvoile.o(i.Set_Voile) refers to ffixui.o(.text) for __aeabi_f2uiz
myvoile.o(i.Set_Voile) refers to mytimer.o(i.Set_Duty_Cycle) for Set_Duty_Cycle
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 mygirouette.o(i.EXTI0_IRQHandler) for EXTI0_IRQHandler
startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM1_UP_IRQHandler) for TIM1_UP_IRQHandler
startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM2_IRQHandler) for TIM2_IRQHandler
startup_stm32f10x_md.o(RESET) refers to mytimer.o(i.TIM3_IRQHandler) for TIM3_IRQHandler
@ -53,34 +37,13 @@ Section Cross References
entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry9a.o(.ARM.Collect$$$$0000000B) for _main_init
entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry5.o(.ARM.Collect$$$$00000004) for _main_scatterload
entry.o(.ARM.Collect$$$$00000000) refers (Special) to entry2.o(.ARM.Collect$$$$00000001) for _main_stk
fmul.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
dadd.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
dadd.o(.text) refers to llshl.o(.text) for __aeabi_llsl
dadd.o(.text) refers to llsshr.o(.text) for __aeabi_lasr
dadd.o(.text) refers to depilogue.o(.text) for _double_epilogue
dmul.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
dmul.o(.text) refers to depilogue.o(.text) for _double_epilogue
ddiv.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
ddiv.o(.text) refers to depilogue.o(.text) for _double_round
fflti.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
fflti.o(.text) refers to fepilogue.o(.text) for _float_epilogue
ffltui.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
ffltui.o(.text) refers to fepilogue.o(.text) for _float_epilogue
dfltui.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
dfltui.o(.text) refers to depilogue.o(.text) for _double_epilogue
ffixui.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
cdcmple.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
d2f.o(.text) refers (Special) to iusefp.o(.text) for __I$use$fp
d2f.o(.text) refers to fepilogue.o(.text) for _float_round
entry2.o(.ARM.Collect$$$$00000001) refers to entry2.o(.ARM.Collect$$$$00002712) for __lit__00000000
entry2.o(.ARM.Collect$$$$00002712) refers to startup_stm32f10x_md.o(STACK) for __initial_sp
entry2.o(__vectab_stack_and_reset_area) refers to startup_stm32f10x_md.o(STACK) for __initial_sp
entry2.o(__vectab_stack_and_reset_area) refers to entry.o(.ARM.Collect$$$$00000000) for __main
entry5.o(.ARM.Collect$$$$00000004) refers to init.o(.text) for __scatterload
entry9a.o(.ARM.Collect$$$$0000000B) refers to main.o(i.main) for main
entry9b.o(.ARM.Collect$$$$0000000C) refers to main.o(i.main) for main
depilogue.o(.text) refers to llshl.o(.text) for __aeabi_llsl
depilogue.o(.text) refers to llushr.o(.text) for __aeabi_llsr
entry9a.o(.ARM.Collect$$$$0000000B) refers to prinicpal.o(i.main) for main
entry9b.o(.ARM.Collect$$$$0000000C) refers to prinicpal.o(i.main) for main
init.o(.text) refers to entry5.o(.ARM.Collect$$$$00000004) for __main_after_scatterload
@ -88,66 +51,34 @@ Section Cross References
Removing Unused input sections from the image.
Removing main.o(.rev16_text), (4 bytes).
Removing main.o(.revsh_text), (4 bytes).
Removing main.o(.rrx_text), (6 bytes).
Removing main.o(i.Callback), (28 bytes).
Removing main.o(.data), (12 bytes).
Removing mytimer.o(.rev16_text), (4 bytes).
Removing mytimer.o(.revsh_text), (4 bytes).
Removing mytimer.o(.rrx_text), (6 bytes).
Removing mytimer.o(i.Get_Max_Duty), (6 bytes).
Removing mytimer.o(i.Get_Timer_Count), (6 bytes).
Removing mytimer.o(i.MyTimer_ActiveIT), (176 bytes).
Removing mytimer.o(i.MyTimer_Base_Init), (108 bytes).
Removing mytimer.o(i.MyTimer_Base_Start), (10 bytes).
Removing mytimer.o(i.MyTimer_Base_Stop), (10 bytes).
Removing mytimer.o(i.MyTimer_PWM), (488 bytes).
Removing mytimer.o(i.Set_Duty_Cycle), (40 bytes).
Removing mytimer.o(i.Set_PWM_PRCT), (56 bytes).
Removing myadc.o(.rev16_text), (4 bytes).
Removing myadc.o(.revsh_text), (4 bytes).
Removing myadc.o(.rrx_text), (6 bytes).
Removing myadc.o(i.initADC), (60 bytes).
Removing myadc.o(i.read), (32 bytes).
Removing myadc.o(i.startADC), (20 bytes).
Removing prinicpal.o(.rev16_text), (4 bytes).
Removing prinicpal.o(.revsh_text), (4 bytes).
Removing prinicpal.o(.rrx_text), (6 bytes).
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_Init), (180 bytes).
Removing driver_gpio.o(i.MyGPIO_Read), (12 bytes).
Removing driver_gpio.o(i.MyGPIO_Reset), (14 bytes).
Removing driver_gpio.o(i.MyGPIO_Set), (12 bytes).
Removing driver_gpio.o(i.MyGPIO_Toggle), (12 bytes).
Removing mygirouette.o(.rev16_text), (4 bytes).
Removing mygirouette.o(.revsh_text), (4 bytes).
Removing mygirouette.o(.rrx_text), (6 bytes).
Removing mygirouette.o(i.Get_Angle), (14 bytes).
Removing myvoile.o(.rev16_text), (4 bytes).
Removing myvoile.o(.revsh_text), (4 bytes).
Removing myvoile.o(.rrx_text), (6 bytes).
Removing myvoile.o(i.MyVoile_Init), (40 bytes).
Removing myvoile.o(i.Set_Voile), (236 bytes).
Removing myvoile.o(.constdata), (8 bytes).
Removing mytimer.o(.rev16_text), (4 bytes).
Removing mytimer.o(.revsh_text), (4 bytes).
Removing mytimer.o(.rrx_text), (6 bytes).
Removing mytimer.o(i.MyTimer_Base_Stop), (10 bytes).
Removing mytimer.o(i.MyTimer_PWM), (464 bytes).
Removing mytimer.o(i.Set_PWM_PRCT), (56 bytes).
Removing myadc.o(.rev16_text), (4 bytes).
Removing myadc.o(.revsh_text), (4 bytes).
Removing myadc.o(.rrx_text), (6 bytes).
Removing startup_stm32f10x_md.o(HEAP), (512 bytes).
Removing system_stm32f10x.o(.rev16_text), (4 bytes).
Removing system_stm32f10x.o(.revsh_text), (4 bytes).
Removing system_stm32f10x.o(.rrx_text), (6 bytes).
Removing system_stm32f10x.o(i.SystemCoreClockUpdate), (164 bytes).
Removing system_stm32f10x.o(.data), (20 bytes).
Removing fmul.o(.text), (100 bytes).
Removing dadd.o(.text), (334 bytes).
Removing dmul.o(.text), (228 bytes).
Removing ddiv.o(.text), (222 bytes).
Removing fflti.o(.text), (18 bytes).
Removing ffltui.o(.text), (10 bytes).
Removing dfltui.o(.text), (26 bytes).
Removing ffixui.o(.text), (40 bytes).
Removing cdcmple.o(.text), (48 bytes).
Removing d2f.o(.text), (56 bytes).
Removing fepilogue.o(.text), (110 bytes).
Removing depilogue.o(.text), (186 bytes).
58 unused section(s) (total 3572 bytes) removed from the image.
26 unused section(s) (total 1526 bytes) removed from the image.
==============================================================================
@ -157,52 +88,32 @@ Image Symbol Table
Symbol Name Value Ov Type Size Object(Section)
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12b.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 entry10b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry10a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry12a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry9a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry8a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7b.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry7a.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry5.o ABSOLUTE
../clib/microlib/init/entry.s 0x00000000 Number 0 entry2.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/longlong.c 0x00000000 Number 0 llsshr.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llushr.o ABSOLUTE
../clib/microlib/longlong.c 0x00000000 Number 0 llshl.o ABSOLUTE
../clib/microlib/stubs.s 0x00000000 Number 0 iusefp.o ABSOLUTE
../fplib/microlib/d2f.c 0x00000000 Number 0 d2f.o ABSOLUTE
../fplib/microlib/fpadd.c 0x00000000 Number 0 dadd.o ABSOLUTE
../fplib/microlib/fpdiv.c 0x00000000 Number 0 ddiv.o ABSOLUTE
../fplib/microlib/fpepilogue.c 0x00000000 Number 0 depilogue.o ABSOLUTE
../fplib/microlib/fpepilogue.c 0x00000000 Number 0 fepilogue.o ABSOLUTE
../fplib/microlib/fpfix.c 0x00000000 Number 0 ffixui.o ABSOLUTE
../fplib/microlib/fpflt.c 0x00000000 Number 0 dfltui.o ABSOLUTE
../fplib/microlib/fpflt.c 0x00000000 Number 0 fflti.o ABSOLUTE
../fplib/microlib/fpflt.c 0x00000000 Number 0 ffltui.o ABSOLUTE
../fplib/microlib/fpmul.c 0x00000000 Number 0 dmul.o ABSOLUTE
../fplib/microlib/fpmul.c 0x00000000 Number 0 fmul.o ABSOLUTE
FileInclude\Driver_GPIO.c 0x00000000 Number 0 driver_gpio.o ABSOLUTE
FileInclude\MyADC.c 0x00000000 Number 0 myadc.o ABSOLUTE
FileInclude\MyGirouette.c 0x00000000 Number 0 mygirouette.o ABSOLUTE
FileInclude\MyTimer.c 0x00000000 Number 0 mytimer.o ABSOLUTE
FileInclude\\Driver_GPIO.c 0x00000000 Number 0 driver_gpio.o ABSOLUTE
FileInclude\\MyADC.c 0x00000000 Number 0 myadc.o ABSOLUTE
FileInclude\\MyGirouette.c 0x00000000 Number 0 mygirouette.o ABSOLUTE
FileInclude\\MyTimer.c 0x00000000 Number 0 mytimer.o ABSOLUTE
MyVoile.c 0x00000000 Number 0 myvoile.o ABSOLUTE
MyVoile.c 0x00000000 Number 0 myvoile.o ABSOLUTE
RTE\Device\STM32F103RB\startup_stm32f10x_md.s 0x00000000 Number 0 startup_stm32f10x_md.o ABSOLUTE
RTE\Device\STM32F103RB\system_stm32f10x.c 0x00000000 Number 0 system_stm32f10x.o ABSOLUTE
RTE\\Device\\STM32F103RB\\system_stm32f10x.c 0x00000000 Number 0 system_stm32f10x.o ABSOLUTE
Sources\\main.c 0x00000000 Number 0 main.o ABSOLUTE
Sources\main.c 0x00000000 Number 0 main.o ABSOLUTE
cdcmple.s 0x00000000 Number 0 cdcmple.o ABSOLUTE
Sources\\prinicpal.c 0x00000000 Number 0 prinicpal.o ABSOLUTE
Sources\prinicpal.c 0x00000000 Number 0 prinicpal.o ABSOLUTE
U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c 0x00000000 Number 0 driver_gpio.o ABSOLUTE
U:\\Documents\\4ir\\S1\\Microcontroleur\\Drivers\\FileInclude\\Driver_GPIO.c 0x00000000 Number 0 driver_gpio.o ABSOLUTE
dc.s 0x00000000 Number 0 dc.o ABSOLUTE
handlers.s 0x00000000 Number 0 handlers.o ABSOLUTE
init.s 0x00000000 Number 0 init.o ABSOLUTE
@ -220,33 +131,36 @@ Image Symbol Table
__lit__00000000 0x08000100 Data 4 entry2.o(.ARM.Collect$$$$00002712)
.text 0x08000104 Section 36 startup_stm32f10x_md.o(.text)
.text 0x08000128 Section 36 init.o(.text)
i.EXTI0_IRQHandler 0x0800014c Section 0 mygirouette.o(i.EXTI0_IRQHandler)
i.Init_Girouette 0x0800016c Section 0 mygirouette.o(i.Init_Girouette)
i.MyGPIO_Init 0x0800020c Section 0 driver_gpio.o(i.MyGPIO_Init)
i.SetSysClock 0x080002c0 Section 0 system_stm32f10x.o(i.SetSysClock)
SetSysClock 0x080002c1 Thumb Code 8 system_stm32f10x.o(i.SetSysClock)
i.SetSysClockTo72 0x080002c8 Section 0 system_stm32f10x.o(i.SetSysClockTo72)
SetSysClockTo72 0x080002c9 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72)
i.SystemInit 0x080003a8 Section 0 system_stm32f10x.o(i.SystemInit)
i.TIM1_UP_IRQHandler 0x08000408 Section 0 mytimer.o(i.TIM1_UP_IRQHandler)
i.TIM2_IRQHandler 0x0800042c Section 0 mytimer.o(i.TIM2_IRQHandler)
i.TIM3_IRQHandler 0x08000450 Section 0 mytimer.o(i.TIM3_IRQHandler)
i.TIM4_IRQHandler 0x08000474 Section 0 mytimer.o(i.TIM4_IRQHandler)
i.__scatterload_copy 0x08000498 Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x080004a6 Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x080004a8 Section 14 handlers.o(i.__scatterload_zeroinit)
i.main 0x080004b6 Section 0 main.o(i.main)
.constdata 0x080004c0 Section 36 mygirouette.o(.constdata)
.data 0x20000000 Section 16 mytimer.o(.data)
.data 0x20000010 Section 4 mygirouette.o(.data)
i.Callback 0x0800014c Section 0 prinicpal.o(i.Callback)
i.MyTimer_ActiveIT 0x08000160 Section 0 mytimer.o(i.MyTimer_ActiveIT)
i.MyTimer_Base_Init 0x08000210 Section 0 mytimer.o(i.MyTimer_Base_Init)
i.MyTimer_Base_Start 0x0800027c Section 0 mytimer.o(i.MyTimer_Base_Start)
i.SetSysClock 0x08000286 Section 0 system_stm32f10x.o(i.SetSysClock)
SetSysClock 0x08000287 Thumb Code 8 system_stm32f10x.o(i.SetSysClock)
i.SetSysClockTo72 0x08000290 Section 0 system_stm32f10x.o(i.SetSysClockTo72)
SetSysClockTo72 0x08000291 Thumb Code 214 system_stm32f10x.o(i.SetSysClockTo72)
i.SystemInit 0x08000370 Section 0 system_stm32f10x.o(i.SystemInit)
i.TIM1_UP_IRQHandler 0x080003d0 Section 0 mytimer.o(i.TIM1_UP_IRQHandler)
i.TIM2_IRQHandler 0x080003f4 Section 0 mytimer.o(i.TIM2_IRQHandler)
i.TIM3_IRQHandler 0x08000418 Section 0 mytimer.o(i.TIM3_IRQHandler)
i.TIM4_IRQHandler 0x0800043c Section 0 mytimer.o(i.TIM4_IRQHandler)
i.__scatterload_copy 0x08000460 Section 14 handlers.o(i.__scatterload_copy)
i.__scatterload_null 0x0800046e Section 2 handlers.o(i.__scatterload_null)
i.__scatterload_zeroinit 0x08000470 Section 14 handlers.o(i.__scatterload_zeroinit)
i.initADC 0x08000480 Section 0 myadc.o(i.initADC)
i.main 0x080004bc Section 0 prinicpal.o(i.main)
i.read 0x080004f8 Section 0 myadc.o(i.read)
i.startADC 0x08000520 Section 0 myadc.o(i.startADC)
.data 0x20000000 Section 4 prinicpal.o(.data)
.data 0x20000004 Section 16 mytimer.o(.data)
STACK 0x20000018 Section 1024 startup_stm32f10x_md.o(STACK)
Global Symbols
Symbol Name Value Ov Type Size Object(Section)
BuildAttributes$$THM_ISAv4$P$D$K$B$S$PE$A:L22UL41UL21$X:L11$S22US41US21$IEEE1$IW$USESV6$~STKCKD$USESV7$~SHL$OTIME$ROPI$EBA8$MICROLIB$REQ8$PRES8$EABIv2 0x00000000 Number 0 anon$$obj.o ABSOLUTE
__ARM_use_no_argv 0x00000000 Number 0 main.o ABSOLUTE
BuildAttributes$$THM_ISAv4$P$D$K$B$S$PE$A:L22UL41UL21$X:L11$S22US41US21$IEEE1$IW$USESV6$~STKCKD$USESV7$~SHL$OSPACE$EBA8$MICROLIB$REQ8$PRES8$EABIv2 0x00000000 Number 0 anon$$obj.o ABSOLUTE
__ARM_use_no_argv 0x00000000 Number 0 prinicpal.o ABSOLUTE
__arm_fini_ - Undefined Weak Reference
__cpp_initialize__aeabi_ - Undefined Weak Reference
__cxa_finalize - Undefined Weak Reference
@ -286,6 +200,7 @@ Image Symbol Table
DMA1_Channel5_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
DMA1_Channel6_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
DMA1_Channel7_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
EXTI0_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
EXTI15_10_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
EXTI1_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
EXTI2_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
@ -316,25 +231,29 @@ Image Symbol Table
WWDG_IRQHandler 0x0800011f Thumb Code 0 startup_stm32f10x_md.o(.text)
__scatterload 0x08000129 Thumb Code 28 init.o(.text)
__scatterload_rt2 0x08000129 Thumb Code 0 init.o(.text)
EXTI0_IRQHandler 0x0800014d Thumb Code 24 mygirouette.o(i.EXTI0_IRQHandler)
Init_Girouette 0x0800016d Thumb Code 134 mygirouette.o(i.Init_Girouette)
MyGPIO_Init 0x0800020d Thumb Code 166 driver_gpio.o(i.MyGPIO_Init)
SystemInit 0x080003a9 Thumb Code 78 system_stm32f10x.o(i.SystemInit)
TIM1_UP_IRQHandler 0x08000409 Thumb Code 28 mytimer.o(i.TIM1_UP_IRQHandler)
TIM2_IRQHandler 0x0800042d Thumb Code 32 mytimer.o(i.TIM2_IRQHandler)
TIM3_IRQHandler 0x08000451 Thumb Code 28 mytimer.o(i.TIM3_IRQHandler)
TIM4_IRQHandler 0x08000475 Thumb Code 28 mytimer.o(i.TIM4_IRQHandler)
__scatterload_copy 0x08000499 Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x080004a7 Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x080004a9 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
main 0x080004b7 Thumb Code 8 main.o(i.main)
Region$$Table$$Base 0x080004e4 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08000504 Number 0 anon$$obj.o(Region$$Table)
ptr1 0x20000000 Data 4 mytimer.o(.data)
ptr2 0x20000004 Data 4 mytimer.o(.data)
ptr3 0x20000008 Data 4 mytimer.o(.data)
ptr4 0x2000000c Data 4 mytimer.o(.data)
x 0x20000010 Data 4 mygirouette.o(.data)
Callback 0x0800014d Thumb Code 16 prinicpal.o(i.Callback)
MyTimer_ActiveIT 0x08000161 Thumb Code 148 mytimer.o(i.MyTimer_ActiveIT)
MyTimer_Base_Init 0x08000211 Thumb Code 98 mytimer.o(i.MyTimer_Base_Init)
MyTimer_Base_Start 0x0800027d Thumb Code 10 mytimer.o(i.MyTimer_Base_Start)
SystemInit 0x08000371 Thumb Code 78 system_stm32f10x.o(i.SystemInit)
TIM1_UP_IRQHandler 0x080003d1 Thumb Code 28 mytimer.o(i.TIM1_UP_IRQHandler)
TIM2_IRQHandler 0x080003f5 Thumb Code 32 mytimer.o(i.TIM2_IRQHandler)
TIM3_IRQHandler 0x08000419 Thumb Code 28 mytimer.o(i.TIM3_IRQHandler)
TIM4_IRQHandler 0x0800043d Thumb Code 28 mytimer.o(i.TIM4_IRQHandler)
__scatterload_copy 0x08000461 Thumb Code 14 handlers.o(i.__scatterload_copy)
__scatterload_null 0x0800046f Thumb Code 2 handlers.o(i.__scatterload_null)
__scatterload_zeroinit 0x08000471 Thumb Code 14 handlers.o(i.__scatterload_zeroinit)
initADC 0x08000481 Thumb Code 50 myadc.o(i.initADC)
main 0x080004bd Thumb Code 56 prinicpal.o(i.main)
read 0x080004f9 Thumb Code 36 myadc.o(i.read)
startADC 0x08000521 Thumb Code 14 myadc.o(i.startADC)
Region$$Table$$Base 0x08000534 Number 0 anon$$obj.o(Region$$Table)
Region$$Table$$Limit 0x08000554 Number 0 anon$$obj.o(Region$$Table)
a 0x20000000 Data 4 prinicpal.o(.data)
ptr1 0x20000004 Data 4 mytimer.o(.data)
ptr2 0x20000008 Data 4 mytimer.o(.data)
ptr3 0x2000000c Data 4 mytimer.o(.data)
ptr4 0x20000010 Data 4 mytimer.o(.data)
__initial_sp 0x20000418 Data 0 startup_stm32f10x_md.o(STACK)
@ -343,54 +262,64 @@ Image Symbol Table
Memory Map of the image
Image Entry point : 0x080000ed
Image Entry point : 0x08000105
Load Region LR_IROM1 (Base: 0x08000000, Size: 0x00000518, Max: 0x00020000, ABSOLUTE)
Load Region LR_1 (Base: 0x08000000, Size: 0x00000568, Max: 0xffffffff, ABSOLUTE)
Execution Region ER_IROM1 (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000504, Max: 0x00020000, ABSOLUTE)
Execution Region ER_RO (Exec base: 0x08000000, Load base: 0x08000000, Size: 0x00000554, Max: 0xffffffff, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x08000000 0x08000000 0x000000ec Data RO 346 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 397 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 420 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 423 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 425 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 427 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 428 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 435 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
0x08000100 0x08000100 0x00000000 Code RO 430 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
0x08000100 0x08000100 0x00000000 Code RO 432 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
0x08000100 0x08000100 0x00000004 Code RO 421 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000104 0x08000104 0x00000024 Code RO 347 .text startup_stm32f10x_md.o
0x08000128 0x08000128 0x00000024 Code RO 445 .text mc_w.l(init.o)
0x0800014c 0x0800014c 0x00000020 Code RO 273 i.EXTI0_IRQHandler mygirouette.o
0x0800016c 0x0800016c 0x000000a0 Code RO 275 i.Init_Girouette mygirouette.o
0x0800020c 0x0800020c 0x000000b4 Code RO 225 i.MyGPIO_Init driver_gpio.o
0x080002c0 0x080002c0 0x00000008 Code RO 354 i.SetSysClock system_stm32f10x.o
0x080002c8 0x080002c8 0x000000e0 Code RO 355 i.SetSysClockTo72 system_stm32f10x.o
0x080003a8 0x080003a8 0x00000060 Code RO 357 i.SystemInit system_stm32f10x.o
0x08000408 0x08000408 0x00000024 Code RO 90 i.TIM1_UP_IRQHandler mytimer.o
0x0800042c 0x0800042c 0x00000024 Code RO 91 i.TIM2_IRQHandler mytimer.o
0x08000450 0x08000450 0x00000024 Code RO 92 i.TIM3_IRQHandler mytimer.o
0x08000474 0x08000474 0x00000024 Code RO 93 i.TIM4_IRQHandler mytimer.o
0x08000498 0x08000498 0x0000000e Code RO 451 i.__scatterload_copy mc_w.l(handlers.o)
0x080004a6 0x080004a6 0x00000002 Code RO 452 i.__scatterload_null mc_w.l(handlers.o)
0x080004a8 0x080004a8 0x0000000e Code RO 453 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x080004b6 0x080004b6 0x00000008 Code RO 5 i.main main.o
0x080004be 0x080004be 0x00000002 PAD
0x080004c0 0x080004c0 0x00000024 Data RO 276 .constdata mygirouette.o
0x080004e4 0x080004e4 0x00000020 Data RO 449 Region$$Table anon$$obj.o
0x08000000 0x08000000 0x000000ec Data RO 251 RESET startup_stm32f10x_md.o
0x080000ec 0x080000ec 0x00000000 Code RO 302 * .ARM.Collect$$$$00000000 mc_w.l(entry.o)
0x080000ec 0x080000ec 0x00000004 Code RO 305 .ARM.Collect$$$$00000001 mc_w.l(entry2.o)
0x080000f0 0x080000f0 0x00000004 Code RO 308 .ARM.Collect$$$$00000004 mc_w.l(entry5.o)
0x080000f4 0x080000f4 0x00000000 Code RO 310 .ARM.Collect$$$$00000008 mc_w.l(entry7b.o)
0x080000f4 0x080000f4 0x00000000 Code RO 312 .ARM.Collect$$$$0000000A mc_w.l(entry8b.o)
0x080000f4 0x080000f4 0x00000008 Code RO 313 .ARM.Collect$$$$0000000B mc_w.l(entry9a.o)
0x080000fc 0x080000fc 0x00000004 Code RO 320 .ARM.Collect$$$$0000000E mc_w.l(entry12b.o)
0x08000100 0x08000100 0x00000000 Code RO 315 .ARM.Collect$$$$0000000F mc_w.l(entry10a.o)
0x08000100 0x08000100 0x00000000 Code RO 317 .ARM.Collect$$$$00000011 mc_w.l(entry11a.o)
0x08000100 0x08000100 0x00000004 Code RO 306 .ARM.Collect$$$$00002712 mc_w.l(entry2.o)
0x08000104 0x08000104 0x00000024 Code RO 252 * .text startup_stm32f10x_md.o
0x08000128 0x08000128 0x00000024 Code RO 321 .text mc_w.l(init.o)
0x0800014c 0x0800014c 0x00000014 Code RO 4 i.Callback prinicpal.o
0x08000160 0x08000160 0x000000b0 Code RO 126 i.MyTimer_ActiveIT mytimer.o
0x08000210 0x08000210 0x0000006c Code RO 127 i.MyTimer_Base_Init mytimer.o
0x0800027c 0x0800027c 0x0000000a Code RO 128 i.MyTimer_Base_Start mytimer.o
0x08000286 0x08000286 0x00000008 Code RO 259 i.SetSysClock system_stm32f10x.o
0x0800028e 0x0800028e 0x00000002 PAD
0x08000290 0x08000290 0x000000e0 Code RO 260 i.SetSysClockTo72 system_stm32f10x.o
0x08000370 0x08000370 0x00000060 Code RO 262 i.SystemInit system_stm32f10x.o
0x080003d0 0x080003d0 0x00000024 Code RO 132 i.TIM1_UP_IRQHandler mytimer.o
0x080003f4 0x080003f4 0x00000024 Code RO 133 i.TIM2_IRQHandler mytimer.o
0x08000418 0x08000418 0x00000024 Code RO 134 i.TIM3_IRQHandler mytimer.o
0x0800043c 0x0800043c 0x00000024 Code RO 135 i.TIM4_IRQHandler mytimer.o
0x08000460 0x08000460 0x0000000e Code RO 325 i.__scatterload_copy mc_w.l(handlers.o)
0x0800046e 0x0800046e 0x00000002 Code RO 326 i.__scatterload_null mc_w.l(handlers.o)
0x08000470 0x08000470 0x0000000e Code RO 327 i.__scatterload_zeroinit mc_w.l(handlers.o)
0x0800047e 0x0800047e 0x00000002 PAD
0x08000480 0x08000480 0x0000003c Code RO 213 i.initADC myadc.o
0x080004bc 0x080004bc 0x0000003c Code RO 5 i.main prinicpal.o
0x080004f8 0x080004f8 0x00000028 Code RO 214 i.read myadc.o
0x08000520 0x08000520 0x00000014 Code RO 215 i.startADC myadc.o
0x08000534 0x08000534 0x00000020 Data RO 323 Region$$Table anon$$obj.o
Execution Region RW_IRAM1 (Exec base: 0x20000000, Load base: 0x08000504, Size: 0x00000418, Max: 0x00005000, ABSOLUTE)
Execution Region ER_RW (Exec base: 0x20000000, Load base: 0x08000554, Size: 0x00000014, Max: 0xffffffff, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000000 0x08000504 0x00000010 Data RW 94 .data mytimer.o
0x20000010 0x08000514 0x00000004 Data RW 277 .data mygirouette.o
0x20000014 0x08000518 0x00000004 PAD
0x20000018 - 0x00000400 Zero RW 344 STACK startup_stm32f10x_md.o
0x20000000 0x08000554 0x00000004 Data RW 6 .data prinicpal.o
0x20000004 0x08000558 0x00000010 Data RW 136 .data mytimer.o
Execution Region ER_ZI (Exec base: 0x20000014, Load base: 0x08000568, Size: 0x00000404, Max: 0xffffffff, ABSOLUTE)
Exec Addr Load Addr Size Type Attr Idx E Section Name Object
0x20000014 0x08000568 0x00000004 PAD
0x20000018 - 0x00000400 Zero RW 249 STACK startup_stm32f10x_md.o
==============================================================================
@ -400,15 +329,14 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug Object Name
180 14 0 0 0 878 driver_gpio.o
8 0 0 0 0 206747 main.o
192 34 36 4 0 1136 mygirouette.o
144 28 0 16 0 3385 mytimer.o
36 8 236 0 1024 792 startup_stm32f10x_md.o
328 28 0 0 0 1901 system_stm32f10x.o
120 20 0 0 0 1284 myadc.o
438 66 0 16 0 4557 mytimer.o
80 8 0 4 0 208330 prinicpal.o
36 8 236 0 1024 808 startup_stm32f10x_md.o
328 28 0 0 0 1973 system_stm32f10x.o
----------------------------------------------------------------------
890 112 304 20 1028 214839 Object Totals
1004 130 268 20 1028 216952 Object Totals
0 0 32 0 0 0 (incl. Generated)
2 0 0 0 4 0 (incl. Padding)
@ -429,8 +357,8 @@ Image component sizes
36 8 0 0 0 68 init.o
----------------------------------------------------------------------
90 16 0 0 0 68 Library Totals
0 0 0 0 0 0 (incl. Padding)
92 16 0 0 0 68 Library Totals
2 0 0 0 0 0 (incl. Padding)
----------------------------------------------------------------------
@ -439,7 +367,7 @@ Image component sizes
90 16 0 0 0 68 mc_w.l
----------------------------------------------------------------------
90 16 0 0 0 68 Library Totals
92 16 0 0 0 68 Library Totals
----------------------------------------------------------------------
@ -448,15 +376,15 @@ Image component sizes
Code (inc. data) RO Data RW Data ZI Data Debug
980 128 304 20 1028 214591 Grand Totals
980 128 304 20 1028 214591 ELF Image Totals
980 128 304 20 0 0 ROM Totals
1096 146 268 20 1028 216548 Grand Totals
1096 146 268 20 1028 216548 ELF Image Totals
1096 146 268 20 0 0 ROM Totals
==============================================================================
Total RO Size (Code + RO Data) 1284 ( 1.25kB)
Total RO Size (Code + RO Data) 1364 ( 1.33kB)
Total RW Size (RW Data + ZI Data) 1048 ( 1.02kB)
Total ROM Size (Code + RO Data + RW Data) 1304 ( 1.27kB)
Total ROM Size (Code + RO Data + RW Data) 1384 ( 1.35kB)
==============================================================================

View file

@ -465,12 +465,12 @@ 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\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\
CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_D
FP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --predefine="__MICROLIB SET
A 1" --predefine="__UVISION_VERSION SETA 534" --predefine="_RTE_ SETA 1" --pred
efine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1" --list=.\listings\startu
p_stm32f10x_md.lst RTE\Device\STM32F103RB\startup_stm32f10x_md.s
o -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Pack
s\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32
F1xx_DFP\2.3.0\Device\Include --predefine="__EVAL SETA 1" --predefine="__MICROL
IB SETA 1" --predefine="__UVISION_VERSION SETA 534" --predefine="_RTE_ SETA 1"
--predefine="STM32F10X_MD SETA 1" --predefine="_RTE_ SETA 1" --list=.\listings\
startup_stm32f10x_md.lst RTE\Device\STM32F103RB\startup_stm32f10x_md.s

View file

@ -1,26 +0,0 @@
#include "MyVoile.h"
void MyVoile_Init(){
MyTimer_Struct_TypeDef Tim_Conf_Servo = {
TIM4,
1199,
1199
};
MyTimer_Base_Init(&Tim_Conf_Servo);
MyTimer_PWM(TIM4,3);
MyTimer_Base_Start(TIM4);
}
void Set_Voile(uint16_t angle){
float k;
if(angle < 180.0){
k = (0.1- angle*M);
Set_Duty_Cycle(TIM4,3,k*Get_Max_Duty(TIM4));
}else{
k = (0.1 - (360.0 - angle)*M);
Set_Duty_Cycle(TIM4,3,k*Get_Max_Duty(TIM4));
}
}

View file

@ -1,80 +1,43 @@
Dependencies for Project 'Projet1', Target 'Réel': (DO NOT MODIFY !)
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
F (.\Sources\main.c)(0x6372735F)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d)
F (.\Sources\prinicpal.c)(0x6340254D)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\prinicpal.o --omf_browse .\objects\prinicpal.crf --depend .\objects\prinicpal.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB45)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (.\FileInclude\Driver_GPIO.h)(0x63726BB4)
I (.\FileInclude\MyADC.h)(0x6352AB45)
I (.\FileInclude\MyGirouette.h)(0x635BBB64)
I (.\FileInclude\MyVoile.h)(0x6368DF83)
I (.\FileInclude\MyTimer.h)(0x6352B1EA)
F (.\FileInclude\MyTimer.c)(0x635BD048)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\mytimer.o --omf_browse .\objects\mytimer.crf --depend .\objects\mytimer.d)
I (FileInclude\MyTimer.h)(0x6352B1EA)
I (.\FileInclude\Driver_GPIO.h)(0x63315001)
I (.\FileInclude\MyTimer.h)(0x6340244A)
F (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c)(0x633153E6)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h)(0x63315001)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB45)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
F (.\FileInclude\MyADC.c)(0x6352AB45)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\myadc.o --omf_browse .\objects\myadc.crf --depend .\objects\myadc.d)
I (FileInclude\MyADC.h)(0x6352AB45)
F (.\FileInclude\MyTimer.c)(0x63402350)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\mytimer.o --omf_browse .\objects\mytimer.crf --depend .\objects\mytimer.d)
I (FileInclude\MyTimer.h)(0x6340244A)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB45)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\MyTimer.h)(0x6352B1EA)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
F (.\FileInclude\Driver_GPIO.c)(0x6352AB45)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
I (FileInclude\Driver_GPIO.h)(0x63315001)
F (.\FileInclude\MyTimer.h)(0x6340244A)()
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59283406)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x58258CCC)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --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)(0x58258CCC)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB45)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
F (.\FileInclude\MyGirouette.c)(0x63727A50)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\mygirouette.o --omf_browse .\objects\mygirouette.crf --depend .\objects\mygirouette.d)
I (FileInclude\MyGirouette.h)(0x635BBB64)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB45)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
I (FileInclude\MyTimer.h)(0x6352B1EA)
F (.\MyVoile.c)(0x6368DE1F)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\myvoile.o --omf_browse .\objects\myvoile.crf --depend .\objects\myvoile.d)
I (.\FileInclude\MyVoile.h)(0x6368DF83)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB45)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (.\FileInclude\MyTimer.h)(0x6352B1EA)
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x6352AB45)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x63725E20)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --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)(0x6352B469)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_R_el -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_R_el\RTE_Components.h)(0x6352AB45)
I (.\RTE\_R_el\RTE_Components.h)(0x63285003)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)

View file

@ -1,80 +1,57 @@
Dependencies for Project 'Projet1', Target 'SImulation': (DO NOT MODIFY !)
CompilerVersion: 5060960::V5.06 update 7 (build 960)::.\ARMCC
F (.\Sources\main.c)(0x6372735F)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\main.o --omf_browse .\objects\main.crf --depend .\objects\main.d)
F (.\Sources\prinicpal.c)(0x63495DAA)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\prinicpal.o --omf_browse .\objects\prinicpal.crf --depend .\objects\prinicpal.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB45)
I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (.\FileInclude\Driver_GPIO.h)(0x63726BB4)
I (.\FileInclude\MyADC.h)(0x6352AB45)
I (.\FileInclude\MyGirouette.h)(0x635BBB64)
I (.\FileInclude\MyVoile.h)(0x6368DF83)
I (.\FileInclude\MyTimer.h)(0x6352B1EA)
F (.\FileInclude\MyTimer.c)(0x635BD048)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\mytimer.o --omf_browse .\objects\mytimer.crf --depend .\objects\mytimer.d)
I (FileInclude\MyTimer.h)(0x6352B1EA)
I (.\FileInclude\Driver_GPIO.h)(0x63315001)
I (.\FileInclude\MyTimer.h)(0x6340244A)
I (.\FileInclude\MyADC.h)(0x63495643)
F (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c)(0x633153E6)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h)(0x63315001)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB45)
I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
F (.\FileInclude\MyADC.c)(0x6352AB45)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\myadc.o --omf_browse .\objects\myadc.crf --depend .\objects\myadc.d)
I (FileInclude\MyADC.h)(0x6352AB45)
F (.\FileInclude\MyTimer.c)(0x63402350)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\mytimer.o --omf_browse .\objects\mytimer.crf --depend .\objects\mytimer.d)
I (FileInclude\MyTimer.h)(0x6340244A)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB45)
I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\MyTimer.h)(0x6352B1EA)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
F (.\FileInclude\Driver_GPIO.c)(0x6352AB45)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\driver_gpio.o --omf_browse .\objects\driver_gpio.crf --depend .\objects\driver_gpio.d)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
I (FileInclude\Driver_GPIO.h)(0x63315001)
F (.\FileInclude\MyTimer.h)(0x6340244A)()
F (.\FileInclude\MyADC.c)(0x63495C37)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\myadc.o --omf_browse .\objects\myadc.crf --depend .\objects\myadc.d)
I (FileInclude\MyADC.h)(0x63495643)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB45)
I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
F (.\FileInclude\MyGirouette.c)(0x6372759F)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\mygirouette.o --omf_browse .\objects\mygirouette.crf --depend .\objects\mygirouette.d)
I (FileInclude\MyGirouette.h)(0x635BBB64)
I (FileInclude\MyTimer.h)(0x6340244A)
I (FileInclude\Driver_GPIO.h)(0x63315001)
F (.\FileInclude\MyADC.h)(0x63495643)()
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x59283406)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x58258CCC)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --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)(0x58258CCC)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB45)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (FileInclude\Driver_GPIO.h)(0x63726BB4)
I (FileInclude\MyTimer.h)(0x6352B1EA)
F (.\MyVoile.c)(0x6368DE1F)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\myvoile.o --omf_browse .\objects\myvoile.crf --depend .\objects\myvoile.d)
I (.\FileInclude\MyVoile.h)(0x6368DF83)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB45)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h)(0x5E835B22)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h)(0x5E8F2582)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h)(0x58258CCC)
I (.\FileInclude\MyTimer.h)(0x6352B1EA)
F (RTE\Device\STM32F103RB\RTE_Device.h)(0x6352AB45)()
F (RTE\Device\STM32F103RB\startup_stm32f10x_md.s)(0x63725E20)(--cpu Cortex-M3 --pd "__EVAL SETA 1" -g --apcs=interwork --pd "__MICROLIB SETA 1" -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include --pd "__UVISION_VERSION SETA 534" --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)(0x6352B469)(-c --cpu Cortex-M3 -D__EVAL -D__MICROLIB -g -O0 --apcs=interwork --split_sections -I .\FileInclude -I.\RTE\Device\STM32F103RB -I.\RTE\_SImulation -IC:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include -IC:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include -D__UVISION_VERSION="534" -D_RTE_ -DSTM32F10X_MD -D_RTE_ -o .\objects\system_stm32f10x.o --omf_browse .\objects\system_stm32f10x.crf --depend .\objects\system_stm32f10x.d)
I (C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h)(0x58258CCC)
I (.\RTE\_SImulation\RTE_Components.h)(0x6352AB45)
I (.\RTE\_SImulation\RTE_Components.h)(0x63284DB0)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h)(0x5E8F2582)
I (C:\Keil_v5\ARM\ARMCC\include\stdint.h)(0x5E8E9122)
I (C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h)(0x5E8F2582)

Binary file not shown.

View file

@ -17,32 +17,25 @@ 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.34.0.0
Dialog DLL: DARMSTM.DLL V1.68.0.0
Target DLL: STLink\ST-LINKIII-KEIL_SWO.dll V3.0.8.0
Target DLL: UL2CM3.DLL V1.163.9.0
Dialog DLL: TARMSTM.DLL V1.66.0.0
<h2>Project:</h2>
U:\Documents\4IR\TP_Voilier\Projet1.uvprojx
Project File Date: 11/14/2022
U:\Documents\4ir\S1\Microcontroleur\TP_Voilier\Projet1.uvprojx
Project File Date: 10/14/2022
<h2>Output:</h2>
*** Using Compiler 'V5.06 update 7 (build 960)', folder: 'C:\Keil_v5\ARM\ARMCC\Bin'
Rebuild target 'Réel'
Rebuild target 'SImulation'
assembling startup_stm32f10x_md.s...
compiling MyVoile.c...
compiling Driver_GPIO.c...
compiling main.c...
compiling MyADC.c...
compiling MyGirouette.c...
FileInclude\MyGirouette.c(16): warning: #177-D: variable "GPIOA0" was declared but never referenced
MyGPIO_Struct_TypeDef GPIOA0={
FileInclude\MyGirouette.c(21): warning: #177-D: variable "GPIOA1" was declared but never referenced
MyGPIO_Struct_TypeDef GPIOA1={
FileInclude\MyGirouette.c: 2 warnings, 0 errors
compiling MyTimer.c...
compiling system_stm32f10x.c...
compiling MyTimer.c...
compiling prinicpal.c...
compiling MyADC.c...
linking...
Program Size: Code=980 RO-data=304 RW-data=20 ZI-data=1028
".\Objects\Projet1_Simulation.axf" - 0 Error(s), 2 Warning(s).
Program Size: Code=1096 RO-data=268 RW-data=20 ZI-data=1028
".\Objects\Projet1_Simulation.axf" - 0 Error(s), 0 Warning(s).
<h2>Software Packages used:</h2>
@ -60,7 +53,7 @@ Package Vendor: Keil
<h2>Collection of Component include folders:</h2>
.\RTE\Device\STM32F103RB
.\RTE\_R_el
.\RTE\_SImulation
C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include
C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include
@ -69,11 +62,11 @@ Package Vendor: Keil
* Component: ARM::CMSIS:CORE:5.4.0
* Component: Keil::Device:Startup:1.0.0
Source file: Device\Source\system_stm32f10x.c
Source file: Device\Source\ARM\startup_stm32f10x_md.s
Source file: Device\Source\ARM\STM32F1xx_OPT.s
Source file: Device\Source\system_stm32f10x.c
Include file: RTE_Driver\Config\RTE_Device.h
Build Time Elapsed: 00:00:01
Source file: Device\Source\ARM\startup_stm32f10x_md.s
Build Time Elapsed: 00:00:02
</pre>
</body>
</html>

View file

@ -3,11 +3,11 @@
<title>Static Call Graph - [.\Objects\Projet1_Simulation.axf]</title></head>
<body><HR>
<H1>Static Call Graph for image .\Objects\Projet1_Simulation.axf</H1><HR>
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Mon Nov 14 18:26:44 2022
<BR><P>#&#060CALLGRAPH&#062# ARM Linker, 5060960: Last Updated: Fri Oct 14 15:01:44 2022
<BR><P>
<H3>Maximum Stack Usage = 52 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
<H3>Maximum Stack Usage = 28 bytes + Unknown(Cycles, Untraceable Function Pointers)</H3><H3>
Call chain for Maximum Stack Depth:</H3>
main &rArr; Init_Girouette &rArr; MyGPIO_Init
SystemInit &rArr; SetSysClock &rArr; SetSysClockTo72
<P>
<H3>
Mutually Recursive functions
@ -30,6 +30,7 @@ Function Pointers
<LI><a href="#[4]">BusFault_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[1f]">CAN1_RX1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[20]">CAN1_SCE_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[38]">Callback</a> from prinicpal.o(i.Callback) referenced from prinicpal.o(i.main)
<LI><a href="#[15]">DMA1_Channel1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[16]">DMA1_Channel2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[17]">DMA1_Channel3_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
@ -38,7 +39,7 @@ Function Pointers
<LI><a href="#[1a]">DMA1_Channel6_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[1b]">DMA1_Channel7_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[7]">DebugMon_Handler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[10]">EXTI0_IRQHandler</a> from mygirouette.o(i.EXTI0_IRQHandler) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[10]">EXTI0_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[32]">EXTI15_10_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[11]">EXTI1_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
<LI><a href="#[12]">EXTI2_IRQHandler</a> from startup_stm32f10x_md.o(.text) referenced from startup_stm32f10x_md.o(RESET)
@ -58,7 +59,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="#[0]">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)
@ -81,7 +82,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="#[35]">main</a> from main.o(i.main) referenced from entry9a.o(.ARM.Collect$$$$0000000B)
<LI><a href="#[35]">main</a> from prinicpal.o(i.main) referenced from entry9a.o(.ARM.Collect$$$$0000000B)
</UL>
<P>
<H3>
@ -90,31 +91,30 @@ 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="[3f]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[45]"></a>_main_stk</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry2.o(.ARM.Collect$$$$00000001))
<P><STRONG><a name="[38]"></a>_main_scatterload</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry5.o(.ARM.Collect$$$$00000004))
<BR><BR>[Calls]<UL><LI><a href="#[39]">&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="[3a]"></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="#[39]">&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="[40]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[46]"></a>_main_clock</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry7b.o(.ARM.Collect$$$$00000008))
<P><STRONG><a name="[41]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[47]"></a>_main_cpp_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry8b.o(.ARM.Collect$$$$0000000A))
<P><STRONG><a name="[42]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[48]"></a>_main_init</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry9a.o(.ARM.Collect$$$$0000000B))
<P><STRONG><a name="[43]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
<P><STRONG><a name="[49]"></a>__rt_lib_shutdown_fini</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry12b.o(.ARM.Collect$$$$0000000E))
<P><STRONG><a name="[44]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[4a]"></a>__rt_final_cpp</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry10a.o(.ARM.Collect$$$$0000000F))
<P><STRONG><a name="[45]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
<P><STRONG><a name="[4b]"></a>__rt_final_exit</STRONG> (Thumb, 0 bytes, Stack size unknown bytes, entry11a.o(.ARM.Collect$$$$00000011))
<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="[0]"></a>Reset_Handler</STRONG> (Thumb, 8 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="[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
</UL>
@ -212,6 +212,9 @@ Global Symbols
<P><STRONG><a name="[1b]"></a>DMA1_Channel7_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="[10]"></a>EXTI0_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="[32]"></a>EXTI15_10_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>
@ -296,35 +299,40 @@ 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="[39]"></a>__scatterload</STRONG> (Thumb, 28 bytes, Stack size 0 bytes, init.o(.text))
<BR><BR>[Calls]<UL><LI><a href="#[3a]">&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="#[38]">&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="[46]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[4c]"></a>__scatterload_rt2</STRONG> (Thumb, 0 bytes, Stack size 0 bytes, init.o(.text), UNUSED)
<P><STRONG><a name="[10]"></a>EXTI0_IRQHandler</STRONG> (Thumb, 24 bytes, Stack size 0 bytes, mygirouette.o(i.EXTI0_IRQHandler))
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
<P><STRONG><a name="[38]"></a>Callback</STRONG> (Thumb, 16 bytes, Stack size 8 bytes, prinicpal.o(i.Callback))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = Callback
</UL>
<P><STRONG><a name="[3b]"></a>Init_Girouette</STRONG> (Thumb, 134 bytes, Stack size 40 bytes, mygirouette.o(i.Init_Girouette))
<BR><BR>[Stack]<UL><LI>Max Depth = 52<LI>Call Chain = Init_Girouette &rArr; MyGPIO_Init
<BR>[Calls]<UL><LI><a href="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;startADC
<LI><a href="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;read
</UL>
<BR>[Calls]<UL><LI><a href="#[3c]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyGPIO_Init
<BR>[Address Reference Count : 1]<UL><LI> prinicpal.o(i.main)
</UL>
<P><STRONG><a name="[43]"></a>MyTimer_ActiveIT</STRONG> (Thumb, 148 bytes, Stack size 8 bytes, mytimer.o(i.MyTimer_ActiveIT))
<BR><BR>[Stack]<UL><LI>Max Depth = 8<LI>Call Chain = MyTimer_ActiveIT
</UL>
<BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<P><STRONG><a name="[3c]"></a>MyGPIO_Init</STRONG> (Thumb, 166 bytes, Stack size 12 bytes, driver_gpio.o(i.MyGPIO_Init))
<BR><BR>[Stack]<UL><LI>Max Depth = 12<LI>Call Chain = MyGPIO_Init
<P><STRONG><a name="[41]"></a>MyTimer_Base_Init</STRONG> (Thumb, 98 bytes, Stack size 0 bytes, mytimer.o(i.MyTimer_Base_Init))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<BR>[Called By]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Girouette
<P><STRONG><a name="[44]"></a>MyTimer_Base_Start</STRONG> (Thumb, 10 bytes, Stack size 0 bytes, mytimer.o(i.MyTimer_Base_Start))
<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="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
<BR>[Calls]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(.text)
</UL>
@ -348,34 +356,49 @@ Global Symbols
</UL>
<BR>[Address Reference Count : 1]<UL><LI> startup_stm32f10x_md.o(RESET)
</UL>
<P><STRONG><a name="[47]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[4d]"></a>__scatterload_copy</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_copy), UNUSED)
<P><STRONG><a name="[48]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[4e]"></a>__scatterload_null</STRONG> (Thumb, 2 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_null), UNUSED)
<P><STRONG><a name="[49]"></a>__scatterload_zeroinit</STRONG> (Thumb, 14 bytes, Stack size unknown bytes, handlers.o(i.__scatterload_zeroinit), UNUSED)
<P><STRONG><a name="[4f]"></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, 8 bytes, Stack size 0 bytes, main.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 52<LI>Call Chain = main &rArr; Init_Girouette &rArr; MyGPIO_Init
<P><STRONG><a name="[42]"></a>initADC</STRONG> (Thumb, 50 bytes, Stack size 0 bytes, myadc.o(i.initADC))
<BR><BR>[Called By]<UL><LI><a href="#[35]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;main
</UL>
<BR>[Calls]<UL><LI><a href="#[3b]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Init_Girouette
<P><STRONG><a name="[35]"></a>main</STRONG> (Thumb, 56 bytes, Stack size 16 bytes, prinicpal.o(i.main))
<BR><BR>[Stack]<UL><LI>Max Depth = 24<LI>Call Chain = main &rArr; MyTimer_ActiveIT
</UL>
<BR>[Calls]<UL><LI><a href="#[42]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;initADC
<LI><a href="#[44]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Start
<LI><a href="#[41]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_Base_Init
<LI><a href="#[43]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;MyTimer_ActiveIT
</UL>
<BR>[Address Reference Count : 1]<UL><LI> entry9a.o(.ARM.Collect$$$$0000000B)
</UL><P>
</UL>
<P><STRONG><a name="[3e]"></a>read</STRONG> (Thumb, 36 bytes, Stack size 0 bytes, myadc.o(i.read))
<BR><BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Callback
</UL>
<P><STRONG><a name="[3d]"></a>startADC</STRONG> (Thumb, 14 bytes, Stack size 0 bytes, myadc.o(i.startADC))
<BR><BR>[Called By]<UL><LI><a href="#[38]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;Callback
</UL>
<P>
<H3>
Local Symbols
</H3>
<P><STRONG><a name="[3d]"></a>SetSysClock</STRONG> (Thumb, 8 bytes, Stack size 8 bytes, system_stm32f10x.o(i.SetSysClock))
<P><STRONG><a name="[3f]"></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="#[3e]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClockTo72
<BR>[Calls]<UL><LI><a href="#[40]">&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="[3e]"></a>SetSysClockTo72</STRONG> (Thumb, 214 bytes, Stack size 12 bytes, system_stm32f10x.o(i.SetSysClockTo72))
<P><STRONG><a name="[40]"></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="#[3d]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
<BR>[Called By]<UL><LI><a href="#[3f]">&gt;&gt;</a>&nbsp;&nbsp;&nbsp;SetSysClock
</UL>
<P>
<H3>

View file

@ -1,13 +1,10 @@
--cpu Cortex-M3
".\objects\main.o"
".\objects\prinicpal.o"
".\objects\driver_gpio.o"
".\objects\mytimer.o"
".\objects\myadc.o"
".\objects\driver_gpio.o"
".\objects\mygirouette.o"
".\objects\myvoile.o"
".\objects\startup_stm32f10x_md.o"
".\objects\system_stm32f10x.o"
--library_type=microlib --strict --scatter ".\Objects\Projet1_Simulation.sct"
--summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--library_type=microlib --ro-base 0x08000000 --entry 0x08000000 --rw-base 0x20000000 --entry Reset_Handler --first __Vectors --strict --summary_stderr --info summarysizes --map --load_addr_map_info --xref --callgraph --symbols
--info sizes --info totals --info unused --info veneers
--list ".\Listings\Projet1_Simulation.map" -o .\Objects\Projet1_Simulation.axf

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\driver_gpio.o: FileInclude\Driver_GPIO.c
.\objects\driver_gpio.o: FileInclude\Driver_GPIO.h
.\objects\driver_gpio.o: U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c
.\objects\driver_gpio.o: U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.h
.\objects\driver_gpio.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\driver_gpio.o: .\RTE\_R_el\RTE_Components.h
.\objects\driver_gpio.o: .\RTE\_SImulation\RTE_Components.h
.\objects\driver_gpio.o: C:\Programdata\Keil\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:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,14 +0,0 @@
.\objects\main.o: Sources\main.c
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\main.o: .\RTE\_R_el\RTE_Components.h
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\main.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
.\objects\main.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
.\objects\main.o: .\FileInclude\Driver_GPIO.h
.\objects\main.o: .\FileInclude\MyADC.h
.\objects\main.o: .\FileInclude\MyGirouette.h
.\objects\main.o: .\FileInclude\MyVoile.h
.\objects\main.o: .\FileInclude\MyTimer.h

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\myadc.o: FileInclude\MyADC.c
.\objects\myadc.o: FileInclude\MyADC.h
.\objects\myadc.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\myadc.o: .\RTE\_R_el\RTE_Components.h
.\objects\myadc.o: .\RTE\_SImulation\RTE_Components.h
.\objects\myadc.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\myadc.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\myadc.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,12 +0,0 @@
.\objects\mygirouette.o: FileInclude\MyGirouette.c
.\objects\mygirouette.o: FileInclude\MyGirouette.h
.\objects\mygirouette.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\mygirouette.o: .\RTE\_R_el\RTE_Components.h
.\objects\mygirouette.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\mygirouette.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\mygirouette.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
.\objects\mygirouette.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
.\objects\mygirouette.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
.\objects\mygirouette.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
.\objects\mygirouette.o: FileInclude\Driver_GPIO.h
.\objects\mygirouette.o: FileInclude\MyTimer.h

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
.\objects\mytimer.o: FileInclude\MyTimer.c
.\objects\mytimer.o: FileInclude\MyTimer.h
.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\mytimer.o: .\RTE\_R_el\RTE_Components.h
.\objects\mytimer.o: .\RTE\_SImulation\RTE_Components.h
.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\mytimer.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\mytimer.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

Binary file not shown.

View file

@ -1,11 +0,0 @@
.\objects\myvoile.o: MyVoile.c
.\objects\myvoile.o: .\FileInclude\MyVoile.h
.\objects\myvoile.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\myvoile.o: .\RTE\_R_el\RTE_Components.h
.\objects\myvoile.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\core_cm3.h
.\objects\myvoile.o: C:\Keil_v5\ARM\ARMCC\Bin\..\include\stdint.h
.\objects\myvoile.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h
.\objects\myvoile.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_compiler.h
.\objects\myvoile.o: C:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_armcc.h
.\objects\myvoile.o: C:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\system_stm32f10x.h
.\objects\myvoile.o: .\FileInclude\MyTimer.h

Binary file not shown.

Binary file not shown.

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:\Programdata\Keil\Arm\Packs\Keil\STM32F1xx_DFP\2.3.0\Device\Include\stm32f10x.h
.\objects\system_stm32f10x.o: .\RTE\_R_el\RTE_Components.h
.\objects\system_stm32f10x.o: .\RTE\_SImulation\RTE_Components.h
.\objects\system_stm32f10x.o: C:\Programdata\Keil\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:\Programdata\Keil\Arm\Packs\ARM\CMSIS\5.7.0\CMSIS\Core\Include\cmsis_version.h

Binary file not shown.

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>0</IsCurrentTarget>
<IsCurrentTarget>1</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<DebugOpt>
@ -125,7 +125,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>DLGDARM</Key>
<Name>(1010=1430,289,1806,846,1)(1007=-1,-1,-1,-1,0)(1008=-1,-1,-1,-1,0)(1009=-1,-1,-1,-1,0)(100=15,39,661,712,0)(110=61,96,281,556,0)(111=60,88,280,548,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=1028,194,1449,621,0)(121=1016,366,1437,793,1)(122=704,251,1125,678,0)(123=-1,-1,-1,-1,0)(140=202,674,890,1014,1)(240=559,262,958,607,1)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=885,128,1479,879,0)(131=937,153,1531,904,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=1246,187,1849,938,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=61,96,281,556,0)(111=60,88,280,548,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=676,514,1097,941,0)(121=-1,-1,-1,-1,0)(122=704,251,1125,678,0)(123=-1,-1,-1,-1,0)(140=848,409,1536,749,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=885,128,1479,879,0)(131=1134,338,1728,1089,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=1246,187,1849,938,0)(151=-1,-1,-1,-1,0)</Name>
</SetRegEntry>
<SetRegEntry>
<Number>0</Number>
@ -138,31 +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>8</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>134218060</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>1</BreakIfRCount>
<Filename>.\FileInclude\MyGirouette.c</Filename>
<ExecCommand></ExecCommand>
<Expression>\\Projet1_Simulation\FileInclude/MyGirouette.c\8</Expression>
</Bp>
</Breakpoint>
<WatchWindow1>
<Ww>
<count>0</count>
<WinNumber>1</WinNumber>
<ItemText>x</ItemText>
</Ww>
</WatchWindow1>
<Breakpoint/>
<Tracepoint>
<THDelay>0</THDelay>
</Tracepoint>
@ -183,7 +159,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>
@ -281,7 +257,7 @@
<OPTFL>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<IsCurrentTarget>1</IsCurrentTarget>
<IsCurrentTarget>0</IsCurrentTarget>
</OPTFL>
<CpuCode>18</CpuCode>
<DebugOpt>
@ -326,7 +302,7 @@
<SetRegEntry>
<Number>0</Number>
<Key>DLGTARM</Key>
<Name>(1010=1507,235,1883,792,1)(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=60,88,280,548,0)(111=60,88,280,548,0)(1011=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=757,193,1178,598,0)(121=96,506,517,911,1)(122=1260,243,1681,648,0)(123=-1,-1,-1,-1,0)(140=699,144,1387,484,1)(240=647,562,1046,907,1)(190=-1,-1,-1,-1,0)(200=-1,-1,-1,-1,0)(170=-1,-1,-1,-1,0)(130=150,186,744,880,0)(131=1231,145,1825,839,0)(132=-1,-1,-1,-1,0)(133=1272,303,1866,997,0)(160=-1,-1,-1,-1,0)(161=-1,-1,-1,-1,0)(162=-1,-1,-1,-1,0)(210=1580,389,1907,750,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>
<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=-1,-1,-1,-1,0)(180=-1,-1,-1,-1,0)(120=757,193,1178,598,0)(121=-1,-1,-1,-1,0)(122=1260,243,1681,648,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=697,228,1291,922,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>
@ -359,51 +335,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>8</LineNumber>
<EnabledFlag>1</EnabledFlag>
<Address>134218060</Address>
<ByteObject>0</ByteObject>
<HtxType>0</HtxType>
<ManyObjects>0</ManyObjects>
<SizeOfObject>0</SizeOfObject>
<BreakByAccess>0</BreakByAccess>
<BreakIfRCount>1</BreakIfRCount>
<Filename>.\FileInclude\MyGirouette.c</Filename>
<ExecCommand></ExecCommand>
<Expression>\\Projet1_Simulation\FileInclude/MyGirouette.c\8</Expression>
</Bp>
</Breakpoint>
<WatchWindow1>
<Ww>
<count>0</count>
<WinNumber>1</WinNumber>
<ItemText>k,0x0A</ItemText>
</Ww>
<Ww>
<count>1</count>
<WinNumber>1</WinNumber>
<ItemText>m</ItemText>
</Ww>
<Ww>
<count>2</count>
<WinNumber>1</WinNumber>
<ItemText>a</ItemText>
</Ww>
<Ww>
<count>3</count>
<WinNumber>1</WinNumber>
<ItemText>ID_acc,0x10</ItemText>
</Ww>
<Ww>
<count>4</count>
<WinNumber>1</WinNumber>
<ItemText>x</ItemText>
</Ww>
</WatchWindow1>
<Breakpoint/>
<Tracepoint>
<THDelay>0</THDelay>
</Tracepoint>
@ -424,7 +356,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>
@ -466,11 +398,11 @@
<GroupNumber>1</GroupNumber>
<FileNumber>1</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\Sources\main.c</PathWithFileName>
<FilenameWithoutPath>main.c</FilenameWithoutPath>
<PathWithFileName>.\Sources\prinicpal.c</PathWithFileName>
<FilenameWithoutPath>prinicpal.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
@ -489,6 +421,18 @@
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c</PathWithFileName>
<FilenameWithoutPath>Driver_GPIO.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>3</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\FileInclude\MyTimer.c</PathWithFileName>
<FilenameWithoutPath>MyTimer.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
@ -496,7 +440,19 @@
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>3</FileNumber>
<FileNumber>4</FileNumber>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\FileInclude\MyTimer.h</PathWithFileName>
<FilenameWithoutPath>MyTimer.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>5</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
@ -506,39 +462,15 @@
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>4</FileNumber>
<FileType>1</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\FileInclude\Driver_GPIO.c</PathWithFileName>
<FilenameWithoutPath>Driver_GPIO.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>5</FileNumber>
<FileType>1</FileType>
<tvExp>1</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\FileInclude\MyGirouette.c</PathWithFileName>
<FilenameWithoutPath>MyGirouette.c</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>
<File>
<GroupNumber>2</GroupNumber>
<FileNumber>6</FileNumber>
<FileType>1</FileType>
<FileType>5</FileType>
<tvExp>0</tvExp>
<tvExpOptDlg>0</tvExpOptDlg>
<bDave2>0</bDave2>
<PathWithFileName>.\MyVoile.c</PathWithFileName>
<FilenameWithoutPath>MyVoile.c</FilenameWithoutPath>
<PathWithFileName>.\FileInclude\MyADC.h</PathWithFileName>
<FilenameWithoutPath>MyADC.h</FilenameWithoutPath>
<RteFlg>0</RteFlg>
<bShared>0</bShared>
</File>

View file

@ -384,39 +384,39 @@
<GroupName>MesSources</GroupName>
<Files>
<File>
<FileName>main.c</FileName>
<FileName>prinicpal.c</FileName>
<FileType>1</FileType>
<FilePath>.\Sources\main.c</FilePath>
<FilePath>.\Sources\prinicpal.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>MesDrivers</GroupName>
<Files>
<File>
<FileName>Driver_GPIO.c</FileName>
<FileType>1</FileType>
<FilePath>U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c</FilePath>
</File>
<File>
<FileName>MyTimer.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\MyTimer.c</FilePath>
</File>
<File>
<FileName>MyTimer.h</FileName>
<FileType>5</FileType>
<FilePath>.\FileInclude\MyTimer.h</FilePath>
</File>
<File>
<FileName>MyADC.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\MyADC.c</FilePath>
</File>
<File>
<FileName>Driver_GPIO.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\Driver_GPIO.c</FilePath>
</File>
<File>
<FileName>MyGirouette.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\MyGirouette.c</FilePath>
</File>
<File>
<FileName>MyVoile.c</FileName>
<FileType>1</FileType>
<FilePath>.\MyVoile.c</FilePath>
<FileName>MyADC.h</FileName>
<FileType>5</FileType>
<FilePath>.\FileInclude\MyADC.h</FilePath>
</File>
</Files>
</Group>
@ -806,39 +806,39 @@
<GroupName>MesSources</GroupName>
<Files>
<File>
<FileName>main.c</FileName>
<FileName>prinicpal.c</FileName>
<FileType>1</FileType>
<FilePath>.\Sources\main.c</FilePath>
<FilePath>.\Sources\prinicpal.c</FilePath>
</File>
</Files>
</Group>
<Group>
<GroupName>MesDrivers</GroupName>
<Files>
<File>
<FileName>Driver_GPIO.c</FileName>
<FileType>1</FileType>
<FilePath>U:\Documents\4ir\S1\Microcontroleur\Drivers\FileInclude\Driver_GPIO.c</FilePath>
</File>
<File>
<FileName>MyTimer.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\MyTimer.c</FilePath>
</File>
<File>
<FileName>MyTimer.h</FileName>
<FileType>5</FileType>
<FilePath>.\FileInclude\MyTimer.h</FilePath>
</File>
<File>
<FileName>MyADC.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\MyADC.c</FilePath>
</File>
<File>
<FileName>Driver_GPIO.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\Driver_GPIO.c</FilePath>
</File>
<File>
<FileName>MyGirouette.c</FileName>
<FileType>1</FileType>
<FilePath>.\FileInclude\MyGirouette.c</FilePath>
</File>
<File>
<FileName>MyVoile.c</FileName>
<FileType>1</FileType>
<FilePath>.\MyVoile.c</FilePath>
<FileName>MyADC.h</FileName>
<FileType>5</FileType>
<FilePath>.\FileInclude\MyADC.h</FilePath>
</File>
</Files>
</Group>

View file

@ -1,4 +1,4 @@
/**
/**
******************************************************************************
* @file system_stm32f10x.c
* @author MCD Application Team

View file

@ -1,32 +0,0 @@
#include "stm32f10x.h"
#include <Driver_GPIO.h>
#include <MyADC.h>
#include <MyGirouette.h>
#include <MyVoile.h>
float a ;
float k,m;
void Callback(void){
startADC();
a=read();
}
int main (void)
// (PSC+1)*(ARR+1)/fClk
{
/* MyGPIO_Struct_TypeDef GPIOB8={
GPIOB,
8,
AltOut_Ppull
};*/
// MyGPIO_Init(&GPIOB8);
Init_Girouette();
/*MyVoile_Init();
while (1) {
Set_Voile(Get_Angle());
}*/
while (1){}
}

51
Sources/prinicpal.c Normal file
View file

@ -0,0 +1,51 @@
#include "stm32f10x.h"
#include <Driver_GPIO.h>
#include <MyTimer.h>
#include <MyADC.h>
int a ;
void Callback(void){
startADC();
a=read();
}
int main (void)
{
//char channel = 1;
// Configuration du timer
MyTimer_Struct_TypeDef TIM;
MyTimer_Struct_TypeDef * Data = &TIM;
Data->Timer = TIM2;
Data->ARR = 65535;
Data->PSC = 548;
MyTimer_Base_Init(Data);
//MyTimer_PWM(Data->Timer, channel);
// Set_PWM_PRCT(Data->Timer, channel, 20);
initADC(1);
MyTimer_ActiveIT ( TIM2 , 1, &Callback);
MyTimer_Base_Start(TIM2);
do {
}
while (1);
}