diff --git a/TD-1-test/TD-1-test.ioc b/TD-1-test/TD-1-test.ioc
index a4e21e6..cb73f1f 100644
--- a/TD-1-test/TD-1-test.ioc
+++ b/TD-1-test/TD-1-test.ioc
@@ -31,8 +31,8 @@ Mcu.PinsNb=13
Mcu.ThirdPartyNb=0
Mcu.UserConstants=
Mcu.UserName=STM32L152RETx
-MxCube.Version=6.14.0
-MxDb.Version=DB.6.0.140
+MxCube.Version=6.14.1
+MxDb.Version=DB.6.0.141
NVIC.BusFault_IRQn=true\:0\:0\:false\:false\:true\:true\:false\:false
NVIC.DebugMonitor_IRQn=true\:0\:0\:false\:false\:true\:true\:false\:false
NVIC.EXTI15_10_IRQn=true\:0\:0\:false\:false\:true\:true\:true\:true
@@ -121,7 +121,7 @@ ProjectManager.ToolChainLocation=
ProjectManager.UAScriptAfterPath=
ProjectManager.UAScriptBeforePath=
ProjectManager.UnderRoot=true
-ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_USART2_UART_Init-USART2-false-HAL-true
+ProjectManager.functionlistsort=1-SystemClock_Config-RCC-false-HAL-false,2-MX_GPIO_Init-GPIO-false-HAL-true,3-MX_USART2_UART_Init-USART2-false-HAL-true,4-MX_TIM6_Init-TIM6-false-HAL-true
RCC.48MHZClocksFreq_Value=48000000
RCC.AHBFreq_Value=16000000
RCC.APB1Freq_Value=16000000
diff --git a/TP6_ACCELEROMETRE/.cproject b/TP6_ACCELEROMETRE/.cproject
new file mode 100644
index 0000000..3d68719
--- /dev/null
+++ b/TP6_ACCELEROMETRE/.cproject
@@ -0,0 +1,172 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TP6_ACCELEROMETRE/.mxproject b/TP6_ACCELEROMETRE/.mxproject
new file mode 100644
index 0000000..e2be2b0
--- /dev/null
+++ b/TP6_ACCELEROMETRE/.mxproject
@@ -0,0 +1,25 @@
+[PreviousLibFiles]
+LibFiles=Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_i2c.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h;Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_bus.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_rcc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_crs.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_system.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_utils.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_gpio.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_dma.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_pwr.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_cortex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_exti.h;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_i2c.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h;Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_bus.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_rcc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_crs.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_system.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_utils.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_gpio.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_dma.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_pwr.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_cortex.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h;Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_ll_exti.h;Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h;Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h;Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h;Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h;Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/system_stm32l1xx.c;Drivers/CMSIS/Include/core_cm7.h;Drivers/CMSIS/Include/tz_context.h;Drivers/CMSIS/Include/core_cm3.h;Drivers/CMSIS/Include/cmsis_compiler.h;Drivers/CMSIS/Include/cmsis_armclang.h;Drivers/CMSIS/Include/mpu_armv7.h;Drivers/CMSIS/Include/cmsis_armcc.h;Drivers/CMSIS/Include/core_cm4.h;Drivers/CMSIS/Include/core_cm0.h;Drivers/CMSIS/Include/cmsis_iccarm.h;Drivers/CMSIS/Include/core_armv8mml.h;Drivers/CMSIS/Include/core_sc000.h;Drivers/CMSIS/Include/core_cm1.h;Drivers/CMSIS/Include/mpu_armv8.h;Drivers/CMSIS/Include/core_sc300.h;Drivers/CMSIS/Include/cmsis_gcc.h;Drivers/CMSIS/Include/cmsis_version.h;Drivers/CMSIS/Include/core_cm23.h;Drivers/CMSIS/Include/core_cm33.h;Drivers/CMSIS/Include/core_cm0plus.h;Drivers/CMSIS/Include/core_armv8mbl.h;
+
+[PreviousUsedCubeIDEFiles]
+SourceFiles=Core/Src/main.c;Core/Src/stm32l1xx_it.c;Core/Src/stm32l1xx_hal_msp.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c;Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/system_stm32l1xx.c;Core/Src/system_stm32l1xx.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c;Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c;Drivers/CMSIS/Device/ST/STM32L1xx/Source/Templates/system_stm32l1xx.c;Core/Src/system_stm32l1xx.c;;;
+HeaderPath=Drivers/STM32L1xx_HAL_Driver/Inc;Drivers/STM32L1xx_HAL_Driver/Inc/Legacy;Drivers/CMSIS/Device/ST/STM32L1xx/Include;Drivers/CMSIS/Include;Core/Inc;
+CDefines=USE_HAL_DRIVER;STM32L152xE;USE_HAL_DRIVER;USE_HAL_DRIVER;
+
+[PreviousGenFiles]
+AdvancedFolderStructure=true
+HeaderFileListSize=3
+HeaderFiles#0=../Core/Inc/stm32l1xx_it.h
+HeaderFiles#1=../Core/Inc/stm32l1xx_hal_conf.h
+HeaderFiles#2=../Core/Inc/main.h
+HeaderFolderListSize=1
+HeaderPath#0=../Core/Inc
+HeaderFiles=;
+SourceFileListSize=3
+SourceFiles#0=../Core/Src/stm32l1xx_it.c
+SourceFiles#1=../Core/Src/stm32l1xx_hal_msp.c
+SourceFiles#2=../Core/Src/main.c
+SourceFolderListSize=1
+SourcePath#0=../Core/Src
+SourceFiles=;
+
diff --git a/TP6_ACCELEROMETRE/.project b/TP6_ACCELEROMETRE/.project
new file mode 100644
index 0000000..3f768ba
--- /dev/null
+++ b/TP6_ACCELEROMETRE/.project
@@ -0,0 +1,32 @@
+
+
+ TP6_ACCELEROMETRE
+
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.genmakebuilder
+ clean,full,incremental,
+
+
+
+
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder
+ full,incremental,
+
+
+
+
+
+ com.st.stm32cube.ide.mcu.MCUProjectNature
+ com.st.stm32cube.ide.mcu.MCUCubeProjectNature
+ org.eclipse.cdt.core.cnature
+ com.st.stm32cube.ide.mcu.MCUCubeIdeServicesRevAev2ProjectNature
+ com.st.stm32cube.ide.mcu.MCUAdvancedStructureProjectNature
+ com.st.stm32cube.ide.mcu.MCUSingleCpuProjectNature
+ com.st.stm32cube.ide.mcu.MCURootProjectNature
+ org.eclipse.cdt.managedbuilder.core.managedBuildNature
+ org.eclipse.cdt.managedbuilder.core.ScannerConfigNature
+
+
diff --git a/TP6_ACCELEROMETRE/.settings/com.st.stm32cube.ide.mcu.sfrview.prefs b/TP6_ACCELEROMETRE/.settings/com.st.stm32cube.ide.mcu.sfrview.prefs
new file mode 100644
index 0000000..98a69fc
--- /dev/null
+++ b/TP6_ACCELEROMETRE/.settings/com.st.stm32cube.ide.mcu.sfrview.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+sfrviewstate={"fFavorites"\:{"fLists"\:{}},"fProperties"\:{"fNodeProperties"\:{}}}
diff --git a/TP6_ACCELEROMETRE/.settings/language.settings.xml b/TP6_ACCELEROMETRE/.settings/language.settings.xml
new file mode 100644
index 0000000..c345160
--- /dev/null
+++ b/TP6_ACCELEROMETRE/.settings/language.settings.xml
@@ -0,0 +1,25 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/TP6_ACCELEROMETRE/.settings/org.eclipse.core.resources.prefs b/TP6_ACCELEROMETRE/.settings/org.eclipse.core.resources.prefs
new file mode 100644
index 0000000..99f26c0
--- /dev/null
+++ b/TP6_ACCELEROMETRE/.settings/org.eclipse.core.resources.prefs
@@ -0,0 +1,2 @@
+eclipse.preferences.version=1
+encoding/=UTF-8
diff --git a/TP6_ACCELEROMETRE/.settings/stm32cubeide.project.prefs b/TP6_ACCELEROMETRE/.settings/stm32cubeide.project.prefs
new file mode 100644
index 0000000..2ee3478
--- /dev/null
+++ b/TP6_ACCELEROMETRE/.settings/stm32cubeide.project.prefs
@@ -0,0 +1,5 @@
+635E684B79701B039C64EA45C3F84D30=20408E19A1D483CC68E7BF859CC595B4
+66BE74F758C12D739921AEA421D593D3=1
+8DF89ED150041C4CBC7CB9A9CAA90856=787343FA0477F66DEA4B2B86368887F5
+DC22A860405A8BF2F2C095E5B6529F12=787343FA0477F66DEA4B2B86368887F5
+eclipse.preferences.version=1
diff --git a/TP6_ACCELEROMETRE/Core/Inc/main.h b/TP6_ACCELEROMETRE/Core/Inc/main.h
new file mode 100644
index 0000000..f645caf
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Inc/main.h
@@ -0,0 +1,69 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file : main.h
+ * @brief : Header for main.c file.
+ * This file contains the common defines of the application.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2025 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __MAIN_H
+#define __MAIN_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Includes ------------------------------------------------------------------*/
+#include "stm32l1xx_hal.h"
+
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* Exported types ------------------------------------------------------------*/
+/* USER CODE BEGIN ET */
+
+/* USER CODE END ET */
+
+/* Exported constants --------------------------------------------------------*/
+/* USER CODE BEGIN EC */
+
+/* USER CODE END EC */
+
+/* Exported macro ------------------------------------------------------------*/
+/* USER CODE BEGIN EM */
+
+/* USER CODE END EM */
+
+/* Exported functions prototypes ---------------------------------------------*/
+void Error_Handler(void);
+
+/* USER CODE BEGIN EFP */
+
+/* USER CODE END EFP */
+
+/* Private defines -----------------------------------------------------------*/
+
+/* USER CODE BEGIN Private defines */
+
+/* USER CODE END Private defines */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __MAIN_H */
diff --git a/TP6_ACCELEROMETRE/Core/Inc/stm32l1xx_hal_conf.h b/TP6_ACCELEROMETRE/Core/Inc/stm32l1xx_hal_conf.h
new file mode 100644
index 0000000..69c863c
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Inc/stm32l1xx_hal_conf.h
@@ -0,0 +1,318 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32l1xx_hal_conf.h
+ * @brief HAL configuration file.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2017 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __STM32L1xx_HAL_CONF_H
+#define __STM32L1xx_HAL_CONF_H
+
+#ifdef __cplusplus
+ extern "C" {
+#endif
+
+/* Exported types ------------------------------------------------------------*/
+/* Exported constants --------------------------------------------------------*/
+
+/* ########################## Module Selection ############################## */
+/**
+ * @brief This is the list of modules to be used in the HAL driver
+ */
+
+#define HAL_MODULE_ENABLED
+/*#define HAL_ADC_MODULE_ENABLED */
+/*#define HAL_CRYP_MODULE_ENABLED */
+/*#define HAL_COMP_MODULE_ENABLED */
+/*#define HAL_CRC_MODULE_ENABLED */
+/*#define HAL_CRYP_MODULE_ENABLED */
+/*#define HAL_DAC_MODULE_ENABLED */
+#define HAL_I2C_MODULE_ENABLED
+/*#define HAL_I2S_MODULE_ENABLED */
+/*#define HAL_IRDA_MODULE_ENABLED */
+/*#define HAL_IWDG_MODULE_ENABLED */
+/*#define HAL_LCD_MODULE_ENABLED */
+/*#define HAL_NOR_MODULE_ENABLED */
+/*#define HAL_OPAMP_MODULE_ENABLED */
+/*#define HAL_PCD_MODULE_ENABLED */
+/*#define HAL_RTC_MODULE_ENABLED */
+/*#define HAL_SD_MODULE_ENABLED */
+/*#define HAL_SMARTCARD_MODULE_ENABLED */
+/*#define HAL_SPI_MODULE_ENABLED */
+/*#define HAL_SRAM_MODULE_ENABLED */
+/*#define HAL_TIM_MODULE_ENABLED */
+/*#define HAL_UART_MODULE_ENABLED */
+/*#define HAL_USART_MODULE_ENABLED */
+/*#define HAL_WWDG_MODULE_ENABLED */
+#define HAL_GPIO_MODULE_ENABLED
+#define HAL_EXTI_MODULE_ENABLED
+#define HAL_DMA_MODULE_ENABLED
+#define HAL_RCC_MODULE_ENABLED
+#define HAL_FLASH_MODULE_ENABLED
+#define HAL_PWR_MODULE_ENABLED
+#define HAL_CORTEX_MODULE_ENABLED
+
+/* ########################## Oscillator Values adaptation ####################*/
+/**
+ * @brief Adjust the value of External High Speed oscillator (HSE) used in your application.
+ * This value is used by the RCC HAL module to compute the system frequency
+ * (when HSE is used as system clock source, directly or through the PLL).
+ */
+#if !defined (HSE_VALUE)
+ #define HSE_VALUE ((uint32_t)24000000) /*!< Value of the External oscillator in Hz */
+#endif /* HSE_VALUE */
+
+#if !defined (HSE_STARTUP_TIMEOUT)
+ #define HSE_STARTUP_TIMEOUT ((uint32_t)100) /*!< Time out for HSE start up, in ms */
+#endif /* HSE_STARTUP_TIMEOUT */
+
+/**
+ * @brief Internal Multiple Speed oscillator (MSI) default value.
+ * This value is the default MSI range value after Reset.
+ */
+#if !defined (MSI_VALUE)
+ #define MSI_VALUE ((uint32_t)2097000) /*!< Value of the Internal oscillator in Hz*/
+#endif /* MSI_VALUE */
+/**
+ * @brief Internal High Speed oscillator (HSI) value.
+ * This value is used by the RCC HAL module to compute the system frequency
+ * (when HSI is used as system clock source, directly or through the PLL).
+ */
+#if !defined (HSI_VALUE)
+ #define HSI_VALUE ((uint32_t)16000000) /*!< Value of the Internal oscillator in Hz*/
+#endif /* HSI_VALUE */
+
+/**
+ * @brief Internal Low Speed oscillator (LSI) value.
+ */
+#if !defined (LSI_VALUE)
+ #define LSI_VALUE (37000U) /*!< LSI Typical Value in Hz*/
+#endif /* LSI_VALUE */ /*!< Value of the Internal Low Speed oscillator in Hz
+ The real value may vary depending on the variations
+ in voltage and temperature.*/
+
+/**
+ * @brief External Low Speed oscillator (LSE) value.
+ * This value is used by the UART, RTC HAL module to compute the system frequency
+ */
+#if !defined (LSE_VALUE)
+ #define LSE_VALUE ((uint32_t)32768) /*!< Value of the External oscillator in Hz*/
+#endif /* LSE_VALUE */
+
+#if !defined (LSE_STARTUP_TIMEOUT)
+ #define LSE_STARTUP_TIMEOUT ((uint32_t)5000) /*!< Time out for LSE start up, in ms */
+#endif /* HSE_STARTUP_TIMEOUT */
+
+/* Tip: To avoid modifying this file each time you need to use different HSE,
+ === you can define the HSE value in your toolchain compiler preprocessor. */
+
+/* ########################### System Configuration ######################### */
+/**
+ * @brief This is the HAL system configuration section
+ */
+
+#define VDD_VALUE ((uint32_t)3300) /*!< Value of VDD in mv */
+#define TICK_INT_PRIORITY ((uint32_t)15) /*!< tick interrupt priority */
+#define USE_RTOS 0
+#define PREFETCH_ENABLE 0
+#define INSTRUCTION_CACHE_ENABLE 1
+#define DATA_CACHE_ENABLE 1
+
+/* ########################## Assert Selection ############################## */
+/**
+ * @brief Uncomment the line below to expanse the "assert_param" macro in the
+ * HAL drivers code
+ */
+/* #define USE_FULL_ASSERT 1U */
+
+/* ################## Register callback feature configuration ############### */
+/**
+ * @brief Set below the peripheral configuration to "1U" to add the support
+ * of HAL callback registration/deregistration feature for the HAL
+ * driver(s). This allows user application to provide specific callback
+ * functions thanks to HAL_PPP_RegisterCallback() rather than overwriting
+ * the default weak callback functions (see each stm32l0xx_hal_ppp.h file
+ * for possible callback identifiers defined in HAL_PPP_CallbackIDTypeDef
+ * for each PPP peripheral).
+ */
+#define USE_HAL_ADC_REGISTER_CALLBACKS 0U
+#define USE_HAL_COMP_REGISTER_CALLBACKS 0U
+#define USE_HAL_DAC_REGISTER_CALLBACKS 0U
+#define USE_HAL_I2C_REGISTER_CALLBACKS 0U
+#define USE_HAL_I2S_REGISTER_CALLBACKS 0U
+#define USE_HAL_IRDA_REGISTER_CALLBACKS 0U
+#define USE_HAL_OPAMP_REGISTER_CALLBACKS 0U
+#define USE_HAL_PCD_REGISTER_CALLBACKS 0U
+#define USE_HAL_RTC_REGISTER_CALLBACKS 0U
+#define USE_HAL_SDMMC_REGISTER_CALLBACKS 0U
+#define USE_HAL_SMARTCARD_REGISTER_CALLBACKS 0U
+#define USE_HAL_SPI_REGISTER_CALLBACKS 0U
+#define USE_HAL_TIM_REGISTER_CALLBACKS 0U
+#define USE_HAL_UART_REGISTER_CALLBACKS 0U
+#define USE_HAL_USART_REGISTER_CALLBACKS 0U
+#define USE_HAL_WWDG_REGISTER_CALLBACKS 0U
+
+/* ################## SPI peripheral configuration ########################## */
+
+/* CRC FEATURE: Use to activate CRC feature inside HAL SPI Driver
+ * Activated: CRC code is present inside driver
+ * Deactivated: CRC code cleaned from driver
+ */
+
+#define USE_SPI_CRC 0U
+/* Includes ------------------------------------------------------------------*/
+/**
+ * @brief Include module's header file
+ */
+
+#ifdef HAL_RCC_MODULE_ENABLED
+ #include "stm32l1xx_hal_rcc.h"
+#endif /* HAL_RCC_MODULE_ENABLED */
+
+#ifdef HAL_GPIO_MODULE_ENABLED
+ #include "stm32l1xx_hal_gpio.h"
+#endif /* HAL_GPIO_MODULE_ENABLED */
+
+#ifdef HAL_DMA_MODULE_ENABLED
+ #include "stm32l1xx_hal_dma.h"
+#endif /* HAL_DMA_MODULE_ENABLED */
+
+#ifdef HAL_CORTEX_MODULE_ENABLED
+ #include "stm32l1xx_hal_cortex.h"
+#endif /* HAL_CORTEX_MODULE_ENABLED */
+
+#ifdef HAL_ADC_MODULE_ENABLED
+ #include "stm32l1xx_hal_adc.h"
+#endif /* HAL_ADC_MODULE_ENABLED */
+
+#ifdef HAL_COMP_MODULE_ENABLED
+ #include "stm32l1xx_hal_comp.h"
+#endif /* HAL_COMP_MODULE_ENABLED */
+
+#ifdef HAL_CRC_MODULE_ENABLED
+ #include "stm32l1xx_hal_crc.h"
+#endif /* HAL_CRC_MODULE_ENABLED */
+
+#ifdef HAL_CRYP_MODULE_ENABLED
+ #include "stm32l1xx_hal_cryp.h"
+#endif /* HAL_CRYP_MODULE_ENABLED */
+
+#ifdef HAL_DAC_MODULE_ENABLED
+ #include "stm32l1xx_hal_dac.h"
+#endif /* HAL_DAC_MODULE_ENABLED */
+
+#ifdef HAL_FLASH_MODULE_ENABLED
+ #include "stm32l1xx_hal_flash.h"
+#endif /* HAL_FLASH_MODULE_ENABLED */
+
+#ifdef HAL_SRAM_MODULE_ENABLED
+ #include "stm32l1xx_hal_sram.h"
+#endif /* HAL_SRAM_MODULE_ENABLED */
+
+#ifdef HAL_NOR_MODULE_ENABLED
+ #include "stm32l1xx_hal_nor.h"
+#endif /* HAL_NOR_MODULE_ENABLED */
+
+#ifdef HAL_I2C_MODULE_ENABLED
+ #include "stm32l1xx_hal_i2c.h"
+#endif /* HAL_I2C_MODULE_ENABLED */
+
+#ifdef HAL_I2S_MODULE_ENABLED
+ #include "stm32l1xx_hal_i2s.h"
+#endif /* HAL_I2S_MODULE_ENABLED */
+
+#ifdef HAL_IWDG_MODULE_ENABLED
+ #include "stm32l1xx_hal_iwdg.h"
+#endif /* HAL_IWDG_MODULE_ENABLED */
+
+#ifdef HAL_LCD_MODULE_ENABLED
+ #include "stm32l1xx_hal_lcd.h"
+#endif /* HAL_LCD_MODULE_ENABLED */
+
+#ifdef HAL_OPAMP_MODULE_ENABLED
+ #include "stm32l1xx_hal_opamp.h"
+#endif /* HAL_OPAMP_MODULE_ENABLED */
+
+#ifdef HAL_PWR_MODULE_ENABLED
+ #include "stm32l1xx_hal_pwr.h"
+#endif /* HAL_PWR_MODULE_ENABLED */
+
+#ifdef HAL_RTC_MODULE_ENABLED
+ #include "stm32l1xx_hal_rtc.h"
+#endif /* HAL_RTC_MODULE_ENABLED */
+
+#ifdef HAL_SD_MODULE_ENABLED
+ #include "stm32l1xx_hal_sd.h"
+#endif /* HAL_SD_MODULE_ENABLED */
+
+#ifdef HAL_SPI_MODULE_ENABLED
+ #include "stm32l1xx_hal_spi.h"
+#endif /* HAL_SPI_MODULE_ENABLED */
+
+#ifdef HAL_TIM_MODULE_ENABLED
+ #include "stm32l1xx_hal_tim.h"
+#endif /* HAL_TIM_MODULE_ENABLED */
+
+#ifdef HAL_UART_MODULE_ENABLED
+ #include "stm32l1xx_hal_uart.h"
+#endif /* HAL_UART_MODULE_ENABLED */
+
+#ifdef HAL_USART_MODULE_ENABLED
+ #include "stm32l1xx_hal_usart.h"
+#endif /* HAL_USART_MODULE_ENABLED */
+
+#ifdef HAL_IRDA_MODULE_ENABLED
+ #include "stm32l1xx_hal_irda.h"
+#endif /* HAL_IRDA_MODULE_ENABLED */
+
+#ifdef HAL_SMARTCARD_MODULE_ENABLED
+ #include "stm32l1xx_hal_smartcard.h"
+#endif /* HAL_SMARTCARD_MODULE_ENABLED */
+
+#ifdef HAL_WWDG_MODULE_ENABLED
+ #include "stm32l1xx_hal_wwdg.h"
+#endif /* HAL_WWDG_MODULE_ENABLED */
+
+#ifdef HAL_PCD_MODULE_ENABLED
+ #include "stm32l1xx_hal_pcd.h"
+#endif /* HAL_PCD_MODULE_ENABLED */
+
+#ifdef HAL_EXTI_MODULE_ENABLED
+ #include "stm32l1xx_hal_exti.h"
+#endif /* HAL_EXTI_MODULE_ENABLED */
+
+/* Exported macro ------------------------------------------------------------*/
+#ifdef USE_FULL_ASSERT
+/**
+ * @brief The assert_param macro is used for function's parameters check.
+ * @param expr: If expr is false, it calls assert_failed function
+ * which reports the name of the source file and the source
+ * line number of the call that failed.
+ * If expr is true, it returns no value.
+ * @retval None
+ */
+ #define assert_param(expr) ((expr) ? (void)0U : assert_failed((uint8_t *)__FILE__, __LINE__))
+/* Exported functions ------------------------------------------------------- */
+ void assert_failed(uint8_t* file, uint32_t line);
+#else
+ #define assert_param(expr) ((void)0U)
+#endif /* USE_FULL_ASSERT */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __STM32L1xx_HAL_CONF_H */
+
diff --git a/TP6_ACCELEROMETRE/Core/Inc/stm32l1xx_it.h b/TP6_ACCELEROMETRE/Core/Inc/stm32l1xx_it.h
new file mode 100644
index 0000000..2c5eb24
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Inc/stm32l1xx_it.h
@@ -0,0 +1,66 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32l1xx_it.h
+ * @brief This file contains the headers of the interrupt handlers.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2025 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Define to prevent recursive inclusion -------------------------------------*/
+#ifndef __STM32L1xx_IT_H
+#define __STM32L1xx_IT_H
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* Exported types ------------------------------------------------------------*/
+/* USER CODE BEGIN ET */
+
+/* USER CODE END ET */
+
+/* Exported constants --------------------------------------------------------*/
+/* USER CODE BEGIN EC */
+
+/* USER CODE END EC */
+
+/* Exported macro ------------------------------------------------------------*/
+/* USER CODE BEGIN EM */
+
+/* USER CODE END EM */
+
+/* Exported functions prototypes ---------------------------------------------*/
+void NMI_Handler(void);
+void HardFault_Handler(void);
+void MemManage_Handler(void);
+void BusFault_Handler(void);
+void UsageFault_Handler(void);
+void SVC_Handler(void);
+void DebugMon_Handler(void);
+void PendSV_Handler(void);
+void SysTick_Handler(void);
+/* USER CODE BEGIN EFP */
+
+/* USER CODE END EFP */
+
+#ifdef __cplusplus
+}
+#endif
+
+#endif /* __STM32L1xx_IT_H */
diff --git a/TP6_ACCELEROMETRE/Core/Src/main.c b/TP6_ACCELEROMETRE/Core/Src/main.c
new file mode 100644
index 0000000..ce56f6f
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Src/main.c
@@ -0,0 +1,274 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file : main.c
+ * @brief : Main program body
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2025 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+#include
+
+/* USER CODE END Includes */
+
+/* Private typedef -----------------------------------------------------------*/
+/* USER CODE BEGIN PTD */
+
+/* USER CODE END PTD */
+
+/* Private define ------------------------------------------------------------*/
+/* USER CODE BEGIN PD */
+
+/* USER CODE END PD */
+
+/* Private macro -------------------------------------------------------------*/
+/* USER CODE BEGIN PM */
+
+/* USER CODE END PM */
+
+/* Private variables ---------------------------------------------------------*/
+I2C_HandleTypeDef hi2c1;
+
+/* USER CODE BEGIN PV */
+
+/* USER CODE END PV */
+
+/* Private function prototypes -----------------------------------------------*/
+void SystemClock_Config(void);
+static void MX_GPIO_Init(void);
+static void MX_I2C1_Init(void);
+/* USER CODE BEGIN PFP */
+
+/* USER CODE END PFP */
+
+/* Private user code ---------------------------------------------------------*/
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+/**
+ * @brief The application entry point.
+ * @retval int
+ */
+int main(void)
+{
+
+ /* USER CODE BEGIN 1 */
+
+ /* USER CODE END 1 */
+
+ /* MCU Configuration--------------------------------------------------------*/
+
+ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
+ HAL_Init();
+
+ /* USER CODE BEGIN Init */
+
+ /* USER CODE END Init */
+
+ /* Configure the system clock */
+ SystemClock_Config();
+
+ /* USER CODE BEGIN SysInit */
+
+ /* USER CODE END SysInit */
+
+ /* Initialize all configured peripherals */
+ MX_GPIO_Init();
+ MX_I2C1_Init();
+ /* USER CODE BEGIN 2 */
+
+/* WHO_AM_I
+ uint8_t adress[1] = {0x0F};
+ uint8_t rData[1];
+*/
+ uint8_t adresse[1] = {0x2D} ;
+ uint8_t rData[1];
+ uint8_t wData[1];
+ wData[0] = (1<<7);
+ uint8_t data[2];
+ memcpy(data, adresse, 1);
+ memcpy(data+1, wData, 1);
+
+
+ /* USER CODE END 2 */
+
+ /* Infinite loop */
+ /* USER CODE BEGIN WHILE */
+ while (1)
+ {
+ /* USER CODE END WHILE */
+
+ /* USER CODE BEGIN 3 */
+/* WHO_AM_I
+ HAL_I2C_Master_Transmit(&hi2c1, 0xD6, adress, 1, 100);
+ HAL_I2C_Master_Receive(&hi2c1, 0xD6, rData, 1, 100);
+*/
+ HAL_I2C_Master_Transmit(&hi2c1, 0xD6, adresse, 1, 100);
+ HAL_I2C_Master_Receive(&hi2c1, 0xD6, rData, 1, 100);
+
+ if((rData[0]>=0) && (rData[0]<=128)){
+ GPIOA -> ODR |= (1<<5);
+ } else if((rData[0]>128) && (rData[0]<=255)){
+ GPIOA -> ODR &= ~(1<<5);
+ }
+
+ HAL_Delay(100);
+ }
+ /* USER CODE END 3 */
+}
+
+/**
+ * @brief System Clock Configuration
+ * @retval None
+ */
+void SystemClock_Config(void)
+{
+ RCC_OscInitTypeDef RCC_OscInitStruct = {0};
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
+
+ /** Configure the main internal regulator output voltage
+ */
+ __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
+
+ /** Initializes the RCC Oscillators according to the specified parameters
+ * in the RCC_OscInitTypeDef structure.
+ */
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
+ if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
+ {
+ Error_Handler();
+ }
+
+ /** Initializes the CPU, AHB and APB buses clocks
+ */
+ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
+ |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
+ RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
+ RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
+ RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
+
+ if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
+ {
+ Error_Handler();
+ }
+}
+
+/**
+ * @brief I2C1 Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_I2C1_Init(void)
+{
+
+ /* USER CODE BEGIN I2C1_Init 0 */
+
+ /* USER CODE END I2C1_Init 0 */
+
+ /* USER CODE BEGIN I2C1_Init 1 */
+
+ /* USER CODE END I2C1_Init 1 */
+ hi2c1.Instance = I2C1;
+ hi2c1.Init.ClockSpeed = 100000;
+ hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2;
+ hi2c1.Init.OwnAddress1 = 0;
+ hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
+ hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
+ hi2c1.Init.OwnAddress2 = 0;
+ hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
+ hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
+ if (HAL_I2C_Init(&hi2c1) != HAL_OK)
+ {
+ Error_Handler();
+ }
+ /* USER CODE BEGIN I2C1_Init 2 */
+
+ /* USER CODE END I2C1_Init 2 */
+
+}
+
+/**
+ * @brief GPIO Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_GPIO_Init(void)
+{
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ /* USER CODE BEGIN MX_GPIO_Init_1 */
+
+ /* USER CODE END MX_GPIO_Init_1 */
+
+ /* GPIO Ports Clock Enable */
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, GPIO_PIN_RESET);
+
+ /*Configure GPIO pin : PA5 */
+ GPIO_InitStruct.Pin = GPIO_PIN_5;
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+
+ /* USER CODE BEGIN MX_GPIO_Init_2 */
+
+ /* USER CODE END MX_GPIO_Init_2 */
+}
+
+/* USER CODE BEGIN 4 */
+
+/* USER CODE END 4 */
+
+/**
+ * @brief This function is executed in case of error occurrence.
+ * @retval None
+ */
+void Error_Handler(void)
+{
+ /* USER CODE BEGIN Error_Handler_Debug */
+ /* User can add his own implementation to report the HAL error return state */
+ __disable_irq();
+ while (1)
+ {
+ }
+ /* USER CODE END Error_Handler_Debug */
+}
+
+#ifdef USE_FULL_ASSERT
+/**
+ * @brief Reports the name of the source file and the source line number
+ * where the assert_param error has occurred.
+ * @param file: pointer to the source file name
+ * @param line: assert_param error line source number
+ * @retval None
+ */
+void assert_failed(uint8_t *file, uint32_t line)
+{
+ /* USER CODE BEGIN 6 */
+ /* User can add his own implementation to report the file name and line number,
+ ex: printf("Wrong parameters value: file %s on line %d\r\n", file, line) */
+ /* USER CODE END 6 */
+}
+#endif /* USE_FULL_ASSERT */
diff --git a/TP6_ACCELEROMETRE/Core/Src/stm32l1xx_hal_msp.c b/TP6_ACCELEROMETRE/Core/Src/stm32l1xx_hal_msp.c
new file mode 100644
index 0000000..5c79315
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Src/stm32l1xx_hal_msp.c
@@ -0,0 +1,151 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32l1xx_hal_msp.c
+ * @brief This file provides code for the MSP Initialization
+ * and de-Initialization codes.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2025 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+/* USER CODE BEGIN Includes */
+
+/* USER CODE END Includes */
+
+/* Private typedef -----------------------------------------------------------*/
+/* USER CODE BEGIN TD */
+
+/* USER CODE END TD */
+
+/* Private define ------------------------------------------------------------*/
+/* USER CODE BEGIN Define */
+
+/* USER CODE END Define */
+
+/* Private macro -------------------------------------------------------------*/
+/* USER CODE BEGIN Macro */
+
+/* USER CODE END Macro */
+
+/* Private variables ---------------------------------------------------------*/
+/* USER CODE BEGIN PV */
+
+/* USER CODE END PV */
+
+/* Private function prototypes -----------------------------------------------*/
+/* USER CODE BEGIN PFP */
+
+/* USER CODE END PFP */
+
+/* External functions --------------------------------------------------------*/
+/* USER CODE BEGIN ExternalFunctions */
+
+/* USER CODE END ExternalFunctions */
+
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+/**
+ * Initializes the Global MSP.
+ */
+void HAL_MspInit(void)
+{
+
+ /* USER CODE BEGIN MspInit 0 */
+
+ /* USER CODE END MspInit 0 */
+
+ __HAL_RCC_COMP_CLK_ENABLE();
+ __HAL_RCC_SYSCFG_CLK_ENABLE();
+ __HAL_RCC_PWR_CLK_ENABLE();
+
+ /* System interrupt init*/
+
+ /* USER CODE BEGIN MspInit 1 */
+
+ /* USER CODE END MspInit 1 */
+}
+
+/**
+ * @brief I2C MSP Initialization
+ * This function configures the hardware resources used in this example
+ * @param hi2c: I2C handle pointer
+ * @retval None
+ */
+void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
+{
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ if(hi2c->Instance==I2C1)
+ {
+ /* USER CODE BEGIN I2C1_MspInit 0 */
+
+ /* USER CODE END I2C1_MspInit 0 */
+
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+ /**I2C1 GPIO Configuration
+ PB8 ------> I2C1_SCL
+ PB9 ------> I2C1_SDA
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9;
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
+ GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
+ HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+
+ /* Peripheral clock enable */
+ __HAL_RCC_I2C1_CLK_ENABLE();
+ /* USER CODE BEGIN I2C1_MspInit 1 */
+
+ /* USER CODE END I2C1_MspInit 1 */
+
+ }
+
+}
+
+/**
+ * @brief I2C MSP De-Initialization
+ * This function freeze the hardware resources used in this example
+ * @param hi2c: I2C handle pointer
+ * @retval None
+ */
+void HAL_I2C_MspDeInit(I2C_HandleTypeDef* hi2c)
+{
+ if(hi2c->Instance==I2C1)
+ {
+ /* USER CODE BEGIN I2C1_MspDeInit 0 */
+
+ /* USER CODE END I2C1_MspDeInit 0 */
+ /* Peripheral clock disable */
+ __HAL_RCC_I2C1_CLK_DISABLE();
+
+ /**I2C1 GPIO Configuration
+ PB8 ------> I2C1_SCL
+ PB9 ------> I2C1_SDA
+ */
+ HAL_GPIO_DeInit(GPIOB, GPIO_PIN_8);
+
+ HAL_GPIO_DeInit(GPIOB, GPIO_PIN_9);
+
+ /* USER CODE BEGIN I2C1_MspDeInit 1 */
+
+ /* USER CODE END I2C1_MspDeInit 1 */
+ }
+
+}
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
diff --git a/TP6_ACCELEROMETRE/Core/Src/stm32l1xx_it.c b/TP6_ACCELEROMETRE/Core/Src/stm32l1xx_it.c
new file mode 100644
index 0000000..afd5dcc
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Src/stm32l1xx_it.c
@@ -0,0 +1,203 @@
+/* USER CODE BEGIN Header */
+/**
+ ******************************************************************************
+ * @file stm32l1xx_it.c
+ * @brief Interrupt Service Routines.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2025 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+/* USER CODE END Header */
+
+/* Includes ------------------------------------------------------------------*/
+#include "main.h"
+#include "stm32l1xx_it.h"
+/* Private includes ----------------------------------------------------------*/
+/* USER CODE BEGIN Includes */
+/* USER CODE END Includes */
+
+/* Private typedef -----------------------------------------------------------*/
+/* USER CODE BEGIN TD */
+
+/* USER CODE END TD */
+
+/* Private define ------------------------------------------------------------*/
+/* USER CODE BEGIN PD */
+
+/* USER CODE END PD */
+
+/* Private macro -------------------------------------------------------------*/
+/* USER CODE BEGIN PM */
+
+/* USER CODE END PM */
+
+/* Private variables ---------------------------------------------------------*/
+/* USER CODE BEGIN PV */
+
+/* USER CODE END PV */
+
+/* Private function prototypes -----------------------------------------------*/
+/* USER CODE BEGIN PFP */
+
+/* USER CODE END PFP */
+
+/* Private user code ---------------------------------------------------------*/
+/* USER CODE BEGIN 0 */
+
+/* USER CODE END 0 */
+
+/* External variables --------------------------------------------------------*/
+
+/* USER CODE BEGIN EV */
+
+/* USER CODE END EV */
+
+/******************************************************************************/
+/* Cortex-M3 Processor Interruption and Exception Handlers */
+/******************************************************************************/
+/**
+ * @brief This function handles Non maskable interrupt.
+ */
+void NMI_Handler(void)
+{
+ /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
+
+ /* USER CODE END NonMaskableInt_IRQn 0 */
+ /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
+ while (1)
+ {
+ }
+ /* USER CODE END NonMaskableInt_IRQn 1 */
+}
+
+/**
+ * @brief This function handles Hard fault interrupt.
+ */
+void HardFault_Handler(void)
+{
+ /* USER CODE BEGIN HardFault_IRQn 0 */
+
+ /* USER CODE END HardFault_IRQn 0 */
+ while (1)
+ {
+ /* USER CODE BEGIN W1_HardFault_IRQn 0 */
+ /* USER CODE END W1_HardFault_IRQn 0 */
+ }
+}
+
+/**
+ * @brief This function handles Memory management fault.
+ */
+void MemManage_Handler(void)
+{
+ /* USER CODE BEGIN MemoryManagement_IRQn 0 */
+
+ /* USER CODE END MemoryManagement_IRQn 0 */
+ while (1)
+ {
+ /* USER CODE BEGIN W1_MemoryManagement_IRQn 0 */
+ /* USER CODE END W1_MemoryManagement_IRQn 0 */
+ }
+}
+
+/**
+ * @brief This function handles Pre-fetch fault, memory access fault.
+ */
+void BusFault_Handler(void)
+{
+ /* USER CODE BEGIN BusFault_IRQn 0 */
+
+ /* USER CODE END BusFault_IRQn 0 */
+ while (1)
+ {
+ /* USER CODE BEGIN W1_BusFault_IRQn 0 */
+ /* USER CODE END W1_BusFault_IRQn 0 */
+ }
+}
+
+/**
+ * @brief This function handles Undefined instruction or illegal state.
+ */
+void UsageFault_Handler(void)
+{
+ /* USER CODE BEGIN UsageFault_IRQn 0 */
+
+ /* USER CODE END UsageFault_IRQn 0 */
+ while (1)
+ {
+ /* USER CODE BEGIN W1_UsageFault_IRQn 0 */
+ /* USER CODE END W1_UsageFault_IRQn 0 */
+ }
+}
+
+/**
+ * @brief This function handles System service call via SWI instruction.
+ */
+void SVC_Handler(void)
+{
+ /* USER CODE BEGIN SVC_IRQn 0 */
+
+ /* USER CODE END SVC_IRQn 0 */
+ /* USER CODE BEGIN SVC_IRQn 1 */
+
+ /* USER CODE END SVC_IRQn 1 */
+}
+
+/**
+ * @brief This function handles Debug monitor.
+ */
+void DebugMon_Handler(void)
+{
+ /* USER CODE BEGIN DebugMonitor_IRQn 0 */
+
+ /* USER CODE END DebugMonitor_IRQn 0 */
+ /* USER CODE BEGIN DebugMonitor_IRQn 1 */
+
+ /* USER CODE END DebugMonitor_IRQn 1 */
+}
+
+/**
+ * @brief This function handles Pendable request for system service.
+ */
+void PendSV_Handler(void)
+{
+ /* USER CODE BEGIN PendSV_IRQn 0 */
+
+ /* USER CODE END PendSV_IRQn 0 */
+ /* USER CODE BEGIN PendSV_IRQn 1 */
+
+ /* USER CODE END PendSV_IRQn 1 */
+}
+
+/**
+ * @brief This function handles System tick timer.
+ */
+void SysTick_Handler(void)
+{
+ /* USER CODE BEGIN SysTick_IRQn 0 */
+
+ /* USER CODE END SysTick_IRQn 0 */
+ HAL_IncTick();
+ /* USER CODE BEGIN SysTick_IRQn 1 */
+
+ /* USER CODE END SysTick_IRQn 1 */
+}
+
+/******************************************************************************/
+/* STM32L1xx Peripheral Interrupt Handlers */
+/* Add here the Interrupt Handlers for the used peripherals. */
+/* For the available peripheral interrupt handler names, */
+/* please refer to the startup file (startup_stm32l1xx.s). */
+/******************************************************************************/
+
+/* USER CODE BEGIN 1 */
+
+/* USER CODE END 1 */
diff --git a/TP6_ACCELEROMETRE/Core/Src/syscalls.c b/TP6_ACCELEROMETRE/Core/Src/syscalls.c
new file mode 100644
index 0000000..8884b5a
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Src/syscalls.c
@@ -0,0 +1,176 @@
+/**
+ ******************************************************************************
+ * @file syscalls.c
+ * @author Auto-generated by STM32CubeIDE
+ * @brief STM32CubeIDE Minimal System calls file
+ *
+ * For more information about which c-functions
+ * need which of these lowlevel functions
+ * please consult the Newlib libc-manual
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2020-2025 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+/* Includes */
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+#include
+
+
+/* Variables */
+extern int __io_putchar(int ch) __attribute__((weak));
+extern int __io_getchar(void) __attribute__((weak));
+
+
+char *__env[1] = { 0 };
+char **environ = __env;
+
+
+/* Functions */
+void initialise_monitor_handles()
+{
+}
+
+int _getpid(void)
+{
+ return 1;
+}
+
+int _kill(int pid, int sig)
+{
+ (void)pid;
+ (void)sig;
+ errno = EINVAL;
+ return -1;
+}
+
+void _exit (int status)
+{
+ _kill(status, -1);
+ while (1) {} /* Make sure we hang here */
+}
+
+__attribute__((weak)) int _read(int file, char *ptr, int len)
+{
+ (void)file;
+ int DataIdx;
+
+ for (DataIdx = 0; DataIdx < len; DataIdx++)
+ {
+ *ptr++ = __io_getchar();
+ }
+
+ return len;
+}
+
+__attribute__((weak)) int _write(int file, char *ptr, int len)
+{
+ (void)file;
+ int DataIdx;
+
+ for (DataIdx = 0; DataIdx < len; DataIdx++)
+ {
+ __io_putchar(*ptr++);
+ }
+ return len;
+}
+
+int _close(int file)
+{
+ (void)file;
+ return -1;
+}
+
+
+int _fstat(int file, struct stat *st)
+{
+ (void)file;
+ st->st_mode = S_IFCHR;
+ return 0;
+}
+
+int _isatty(int file)
+{
+ (void)file;
+ return 1;
+}
+
+int _lseek(int file, int ptr, int dir)
+{
+ (void)file;
+ (void)ptr;
+ (void)dir;
+ return 0;
+}
+
+int _open(char *path, int flags, ...)
+{
+ (void)path;
+ (void)flags;
+ /* Pretend like we always fail */
+ return -1;
+}
+
+int _wait(int *status)
+{
+ (void)status;
+ errno = ECHILD;
+ return -1;
+}
+
+int _unlink(char *name)
+{
+ (void)name;
+ errno = ENOENT;
+ return -1;
+}
+
+int _times(struct tms *buf)
+{
+ (void)buf;
+ return -1;
+}
+
+int _stat(char *file, struct stat *st)
+{
+ (void)file;
+ st->st_mode = S_IFCHR;
+ return 0;
+}
+
+int _link(char *old, char *new)
+{
+ (void)old;
+ (void)new;
+ errno = EMLINK;
+ return -1;
+}
+
+int _fork(void)
+{
+ errno = EAGAIN;
+ return -1;
+}
+
+int _execve(char *name, char **argv, char **env)
+{
+ (void)name;
+ (void)argv;
+ (void)env;
+ errno = ENOMEM;
+ return -1;
+}
diff --git a/TP6_ACCELEROMETRE/Core/Src/sysmem.c b/TP6_ACCELEROMETRE/Core/Src/sysmem.c
new file mode 100644
index 0000000..5d9f7e6
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Src/sysmem.c
@@ -0,0 +1,79 @@
+/**
+ ******************************************************************************
+ * @file sysmem.c
+ * @author Generated by STM32CubeIDE
+ * @brief STM32CubeIDE System Memory calls file
+ *
+ * For more information about which C functions
+ * need which of these lowlevel functions
+ * please consult the newlib libc manual
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2025 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+/* Includes */
+#include
+#include
+
+/**
+ * Pointer to the current high watermark of the heap usage
+ */
+static uint8_t *__sbrk_heap_end = NULL;
+
+/**
+ * @brief _sbrk() allocates memory to the newlib heap and is used by malloc
+ * and others from the C library
+ *
+ * @verbatim
+ * ############################################################################
+ * # .data # .bss # newlib heap # MSP stack #
+ * # # # # Reserved by _Min_Stack_Size #
+ * ############################################################################
+ * ^-- RAM start ^-- _end _estack, RAM end --^
+ * @endverbatim
+ *
+ * This implementation starts allocating at the '_end' linker symbol
+ * The '_Min_Stack_Size' linker symbol reserves a memory for the MSP stack
+ * The implementation considers '_estack' linker symbol to be RAM end
+ * NOTE: If the MSP stack, at any point during execution, grows larger than the
+ * reserved size, please increase the '_Min_Stack_Size'.
+ *
+ * @param incr Memory size
+ * @return Pointer to allocated memory
+ */
+void *_sbrk(ptrdiff_t incr)
+{
+ extern uint8_t _end; /* Symbol defined in the linker script */
+ extern uint8_t _estack; /* Symbol defined in the linker script */
+ extern uint32_t _Min_Stack_Size; /* Symbol defined in the linker script */
+ const uint32_t stack_limit = (uint32_t)&_estack - (uint32_t)&_Min_Stack_Size;
+ const uint8_t *max_heap = (uint8_t *)stack_limit;
+ uint8_t *prev_heap_end;
+
+ /* Initialize heap end at first call */
+ if (NULL == __sbrk_heap_end)
+ {
+ __sbrk_heap_end = &_end;
+ }
+
+ /* Protect heap from growing into the reserved MSP stack */
+ if (__sbrk_heap_end + incr > max_heap)
+ {
+ errno = ENOMEM;
+ return (void *)-1;
+ }
+
+ prev_heap_end = __sbrk_heap_end;
+ __sbrk_heap_end += incr;
+
+ return (void *)prev_heap_end;
+}
diff --git a/TP6_ACCELEROMETRE/Core/Src/system_stm32l1xx.c b/TP6_ACCELEROMETRE/Core/Src/system_stm32l1xx.c
new file mode 100644
index 0000000..093a38b
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Src/system_stm32l1xx.c
@@ -0,0 +1,428 @@
+/**
+ ******************************************************************************
+ * @file system_stm32l1xx.c
+ * @author MCD Application Team
+ * @brief CMSIS Cortex-M3 Device Peripheral Access Layer System Source File.
+ *
+ * This file provides two functions and one global variable to be called from
+ * user application:
+ * - SystemInit(): This function is called at startup just after reset and
+ * before branch to main program. This call is made inside
+ * the "startup_stm32l1xx.s" file.
+ *
+ * - SystemCoreClock variable: Contains the core clock (HCLK), it can be used
+ * by the user application to setup the SysTick
+ * timer or configure other parameters.
+ *
+ * - SystemCoreClockUpdate(): Updates the variable SystemCoreClock and must
+ * be called whenever the core clock is changed
+ * during program execution.
+ *
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2017-2021 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+/** @addtogroup CMSIS
+ * @{
+ */
+
+/** @addtogroup stm32l1xx_system
+ * @{
+ */
+
+/** @addtogroup STM32L1xx_System_Private_Includes
+ * @{
+ */
+
+#include "stm32l1xx.h"
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32L1xx_System_Private_TypesDefinitions
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32L1xx_System_Private_Defines
+ * @{
+ */
+#if !defined (HSE_VALUE)
+ #define HSE_VALUE ((uint32_t)8000000U) /*!< Default value of the External oscillator in Hz.
+ This value can be provided and adapted by the user application. */
+#endif /* HSE_VALUE */
+
+#if !defined (HSI_VALUE)
+ #define HSI_VALUE ((uint32_t)16000000U) /*!< Default value of the Internal oscillator in Hz.
+ This value can be provided and adapted by the user application. */
+#endif /* HSI_VALUE */
+
+/*!< Uncomment the following line if you need to use external SRAM mounted
+ on STM32L152D_EVAL board as data memory */
+/* #define DATA_IN_ExtSRAM */
+
+/* Note: Following vector table addresses must be defined in line with linker
+ configuration. */
+/*!< Uncomment the following line if you need to relocate the vector table
+ anywhere in Flash or Sram, else the vector table is kept at the automatic
+ remap of boot address selected */
+/* #define USER_VECT_TAB_ADDRESS */
+
+#if defined(USER_VECT_TAB_ADDRESS)
+/*!< Uncomment the following line if you need to relocate your vector Table
+ in Sram else user remap will be done in Flash. */
+/* #define VECT_TAB_SRAM */
+#if defined(VECT_TAB_SRAM)
+#define VECT_TAB_BASE_ADDRESS SRAM_BASE /*!< Vector Table base address field.
+ This value must be a multiple of 0x200. */
+#else
+#define VECT_TAB_BASE_ADDRESS FLASH_BASE /*!< Vector Table base address field.
+ This value must be a multiple of 0x200. */
+#endif /* VECT_TAB_SRAM */
+
+#if !defined(VECT_TAB_OFFSET)
+#define VECT_TAB_OFFSET 0x00000000U /*!< Vector Table offset field.
+ This value must be a multiple of 0x200. */
+#endif /* VECT_TAB_OFFSET */
+
+#endif /* USER_VECT_TAB_ADDRESS */
+
+/******************************************************************************/
+/**
+ * @}
+ */
+
+/** @addtogroup STM32L1xx_System_Private_Macros
+ * @{
+ */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32L1xx_System_Private_Variables
+ * @{
+ */
+ /* This variable is updated in three ways:
+ 1) by calling CMSIS function SystemCoreClockUpdate()
+ 2) by calling HAL API function HAL_RCC_GetHCLKFreq()
+ 3) each time HAL_RCC_ClockConfig() is called to configure the system clock frequency
+ Note: If you use this function to configure the system clock; then there
+ is no need to call the 2 first functions listed above, since SystemCoreClock
+ variable is updated automatically.
+ */
+uint32_t SystemCoreClock = 2097000U;
+const uint8_t PLLMulTable[9] = {3U, 4U, 6U, 8U, 12U, 16U, 24U, 32U, 48U};
+const uint8_t AHBPrescTable[16] = {0U, 0U, 0U, 0U, 0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U, 6U, 7U, 8U, 9U};
+const uint8_t APBPrescTable[8] = {0U, 0U, 0U, 0U, 1U, 2U, 3U, 4U};
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32L1xx_System_Private_FunctionPrototypes
+ * @{
+ */
+
+#if defined (STM32L151xD) || defined (STM32L152xD) || defined (STM32L162xD)
+#ifdef DATA_IN_ExtSRAM
+ static void SystemInit_ExtMemCtl(void);
+#endif /* DATA_IN_ExtSRAM */
+#endif /* STM32L151xD || STM32L152xD || STM32L162xD */
+
+/**
+ * @}
+ */
+
+/** @addtogroup STM32L1xx_System_Private_Functions
+ * @{
+ */
+
+/**
+ * @brief Setup the microcontroller system.
+ * Initialize the Embedded Flash Interface, the PLL and update the
+ * SystemCoreClock variable.
+ * @param None
+ * @retval None
+ */
+void SystemInit (void)
+{
+#ifdef DATA_IN_ExtSRAM
+ SystemInit_ExtMemCtl();
+#endif /* DATA_IN_ExtSRAM */
+
+ /* Configure the Vector Table location -------------------------------------*/
+#if defined(USER_VECT_TAB_ADDRESS)
+ SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */
+#endif /* USER_VECT_TAB_ADDRESS */
+}
+
+/**
+ * @brief Update SystemCoreClock according to Clock Register Values
+ * The SystemCoreClock variable contains the core clock (HCLK), it can
+ * be used by the user application to setup the SysTick timer or configure
+ * other parameters.
+ *
+ * @note Each time the core clock (HCLK) changes, this function must be called
+ * to update SystemCoreClock variable value. Otherwise, any configuration
+ * based on this variable will be incorrect.
+ *
+ * @note - The system frequency computed by this function is not the real
+ * frequency in the chip. It is calculated based on the predefined
+ * constant and the selected clock source:
+ *
+ * - If SYSCLK source is MSI, SystemCoreClock will contain the MSI
+ * value as defined by the MSI range.
+ *
+ * - If SYSCLK source is HSI, SystemCoreClock will contain the HSI_VALUE(*)
+ *
+ * - If SYSCLK source is HSE, SystemCoreClock will contain the HSE_VALUE(**)
+ *
+ * - If SYSCLK source is PLL, SystemCoreClock will contain the HSE_VALUE(**)
+ * or HSI_VALUE(*) multiplied/divided by the PLL factors.
+ *
+ * (*) HSI_VALUE is a constant defined in stm32l1xx.h file (default value
+ * 16 MHz) but the real value may vary depending on the variations
+ * in voltage and temperature.
+ *
+ * (**) HSE_VALUE is a constant defined in stm32l1xx.h file (default value
+ * 8 MHz), user has to ensure that HSE_VALUE is same as the real
+ * frequency of the crystal used. Otherwise, this function may
+ * have wrong result.
+ *
+ * - The result of this function could be not correct when using fractional
+ * value for HSE crystal.
+ * @param None
+ * @retval None
+ */
+void SystemCoreClockUpdate (void)
+{
+ uint32_t tmp = 0, pllmul = 0, plldiv = 0, pllsource = 0, msirange = 0;
+
+ /* Get SYSCLK source -------------------------------------------------------*/
+ tmp = RCC->CFGR & RCC_CFGR_SWS;
+
+ switch (tmp)
+ {
+ case 0x00: /* MSI used as system clock */
+ msirange = (RCC->ICSCR & RCC_ICSCR_MSIRANGE) >> 13;
+ SystemCoreClock = (32768 * (1 << (msirange + 1)));
+ break;
+ case 0x04: /* HSI used as system clock */
+ SystemCoreClock = HSI_VALUE;
+ break;
+ case 0x08: /* HSE used as system clock */
+ SystemCoreClock = HSE_VALUE;
+ break;
+ case 0x0C: /* PLL used as system clock */
+ /* Get PLL clock source and multiplication factor ----------------------*/
+ pllmul = RCC->CFGR & RCC_CFGR_PLLMUL;
+ plldiv = RCC->CFGR & RCC_CFGR_PLLDIV;
+ pllmul = PLLMulTable[(pllmul >> 18)];
+ plldiv = (plldiv >> 22) + 1;
+
+ pllsource = RCC->CFGR & RCC_CFGR_PLLSRC;
+
+ if (pllsource == 0x00)
+ {
+ /* HSI oscillator clock selected as PLL clock entry */
+ SystemCoreClock = (((HSI_VALUE) * pllmul) / plldiv);
+ }
+ else
+ {
+ /* HSE selected as PLL clock entry */
+ SystemCoreClock = (((HSE_VALUE) * pllmul) / plldiv);
+ }
+ break;
+ default: /* MSI used as system clock */
+ msirange = (RCC->ICSCR & RCC_ICSCR_MSIRANGE) >> 13;
+ SystemCoreClock = (32768 * (1 << (msirange + 1)));
+ break;
+ }
+ /* Compute HCLK clock frequency --------------------------------------------*/
+ /* Get HCLK prescaler */
+ tmp = AHBPrescTable[((RCC->CFGR & RCC_CFGR_HPRE) >> 4)];
+ /* HCLK clock frequency */
+ SystemCoreClock >>= tmp;
+}
+
+#if defined (STM32L151xD) || defined (STM32L152xD) || defined (STM32L162xD)
+#ifdef DATA_IN_ExtSRAM
+/**
+ * @brief Setup the external memory controller.
+ * Called in SystemInit() function before jump to main.
+ * This function configures the external SRAM mounted on STM32L152D_EVAL board
+ * This SRAM will be used as program data memory (including heap and stack).
+ * @param None
+ * @retval None
+ */
+void SystemInit_ExtMemCtl(void)
+{
+ __IO uint32_t tmpreg = 0;
+
+ /* Flash 1 wait state */
+ FLASH->ACR |= FLASH_ACR_LATENCY;
+
+ /* Power enable */
+ RCC->APB1ENR |= RCC_APB1ENR_PWREN;
+
+ /* Delay after an RCC peripheral clock enabling */
+ tmpreg = READ_BIT(RCC->APB1ENR, RCC_APB1ENR_PWREN);
+
+ /* Select the Voltage Range 1 (1.8 V) */
+ PWR->CR = PWR_CR_VOS_0;
+
+ /* Wait Until the Voltage Regulator is ready */
+ while((PWR->CSR & PWR_CSR_VOSF) != RESET)
+ {
+ }
+
+/*-- GPIOs Configuration -----------------------------------------------------*/
+/*
+ +-------------------+--------------------+------------------+------------------+
+ + SRAM pins assignment +
+ +-------------------+--------------------+------------------+------------------+
+ | PD0 <-> FSMC_D2 | PE0 <-> FSMC_NBL0 | PF0 <-> FSMC_A0 | PG0 <-> FSMC_A10 |
+ | PD1 <-> FSMC_D3 | PE1 <-> FSMC_NBL1 | PF1 <-> FSMC_A1 | PG1 <-> FSMC_A11 |
+ | PD4 <-> FSMC_NOE | PE7 <-> FSMC_D4 | PF2 <-> FSMC_A2 | PG2 <-> FSMC_A12 |
+ | PD5 <-> FSMC_NWE | PE8 <-> FSMC_D5 | PF3 <-> FSMC_A3 | PG3 <-> FSMC_A13 |
+ | PD8 <-> FSMC_D13 | PE9 <-> FSMC_D6 | PF4 <-> FSMC_A4 | PG4 <-> FSMC_A14 |
+ | PD9 <-> FSMC_D14 | PE10 <-> FSMC_D7 | PF5 <-> FSMC_A5 | PG5 <-> FSMC_A15 |
+ | PD10 <-> FSMC_D15 | PE11 <-> FSMC_D8 | PF12 <-> FSMC_A6 | PG10<-> FSMC_NE2 |
+ | PD11 <-> FSMC_A16 | PE12 <-> FSMC_D9 | PF13 <-> FSMC_A7 |------------------+
+ | PD12 <-> FSMC_A17 | PE13 <-> FSMC_D10 | PF14 <-> FSMC_A8 |
+ | PD13 <-> FSMC_A18 | PE14 <-> FSMC_D11 | PF15 <-> FSMC_A9 |
+ | PD14 <-> FSMC_D0 | PE15 <-> FSMC_D12 |------------------+
+ | PD15 <-> FSMC_D1 |--------------------+
+ +-------------------+
+*/
+
+ /* Enable GPIOD, GPIOE, GPIOF and GPIOG interface clock */
+ RCC->AHBENR = 0x000080D8;
+
+ /* Delay after an RCC peripheral clock enabling */
+ tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_GPIODEN);
+
+ /* Connect PDx pins to FSMC Alternate function */
+ GPIOD->AFR[0] = 0x00CC00CC;
+ GPIOD->AFR[1] = 0xCCCCCCCC;
+ /* Configure PDx pins in Alternate function mode */
+ GPIOD->MODER = 0xAAAA0A0A;
+ /* Configure PDx pins speed to 40 MHz */
+ GPIOD->OSPEEDR = 0xFFFF0F0F;
+ /* Configure PDx pins Output type to push-pull */
+ GPIOD->OTYPER = 0x00000000;
+ /* No pull-up, pull-down for PDx pins */
+ GPIOD->PUPDR = 0x00000000;
+
+ /* Connect PEx pins to FSMC Alternate function */
+ GPIOE->AFR[0] = 0xC00000CC;
+ GPIOE->AFR[1] = 0xCCCCCCCC;
+ /* Configure PEx pins in Alternate function mode */
+ GPIOE->MODER = 0xAAAA800A;
+ /* Configure PEx pins speed to 40 MHz */
+ GPIOE->OSPEEDR = 0xFFFFC00F;
+ /* Configure PEx pins Output type to push-pull */
+ GPIOE->OTYPER = 0x00000000;
+ /* No pull-up, pull-down for PEx pins */
+ GPIOE->PUPDR = 0x00000000;
+
+ /* Connect PFx pins to FSMC Alternate function */
+ GPIOF->AFR[0] = 0x00CCCCCC;
+ GPIOF->AFR[1] = 0xCCCC0000;
+ /* Configure PFx pins in Alternate function mode */
+ GPIOF->MODER = 0xAA000AAA;
+ /* Configure PFx pins speed to 40 MHz */
+ GPIOF->OSPEEDR = 0xFF000FFF;
+ /* Configure PFx pins Output type to push-pull */
+ GPIOF->OTYPER = 0x00000000;
+ /* No pull-up, pull-down for PFx pins */
+ GPIOF->PUPDR = 0x00000000;
+
+ /* Connect PGx pins to FSMC Alternate function */
+ GPIOG->AFR[0] = 0x00CCCCCC;
+ GPIOG->AFR[1] = 0x00000C00;
+ /* Configure PGx pins in Alternate function mode */
+ GPIOG->MODER = 0x00200AAA;
+ /* Configure PGx pins speed to 40 MHz */
+ GPIOG->OSPEEDR = 0x00300FFF;
+ /* Configure PGx pins Output type to push-pull */
+ GPIOG->OTYPER = 0x00000000;
+ /* No pull-up, pull-down for PGx pins */
+ GPIOG->PUPDR = 0x00000000;
+
+/*-- FSMC Configuration ------------------------------------------------------*/
+ /* Enable the FSMC interface clock */
+ RCC->AHBENR = 0x400080D8;
+
+ /* Delay after an RCC peripheral clock enabling */
+ tmpreg = READ_BIT(RCC->AHBENR, RCC_AHBENR_FSMCEN);
+
+ (void)(tmpreg);
+
+ /* Configure and enable Bank1_SRAM3 */
+ FSMC_Bank1->BTCR[4] = 0x00001011;
+ FSMC_Bank1->BTCR[5] = 0x00000300;
+ FSMC_Bank1E->BWTR[4] = 0x0FFFFFFF;
+/*
+ Bank1_SRAM3 is configured as follow:
+
+ p.FSMC_AddressSetupTime = 0;
+ p.FSMC_AddressHoldTime = 0;
+ p.FSMC_DataSetupTime = 3;
+ p.FSMC_BusTurnAroundDuration = 0;
+ p.FSMC_CLKDivision = 0;
+ p.FSMC_DataLatency = 0;
+ p.FSMC_AccessMode = FSMC_AccessMode_A;
+
+ FSMC_NORSRAMInitStructure.FSMC_Bank = FSMC_Bank1_NORSRAM3;
+ FSMC_NORSRAMInitStructure.FSMC_DataAddressMux = FSMC_DataAddressMux_Disable;
+ FSMC_NORSRAMInitStructure.FSMC_MemoryType = FSMC_MemoryType_SRAM;
+ FSMC_NORSRAMInitStructure.FSMC_MemoryDataWidth = FSMC_MemoryDataWidth_16b;
+ FSMC_NORSRAMInitStructure.FSMC_BurstAccessMode = FSMC_BurstAccessMode_Disable;
+ FSMC_NORSRAMInitStructure.FSMC_AsynchronousWait = FSMC_AsynchronousWait_Disable;
+ FSMC_NORSRAMInitStructure.FSMC_WaitSignalPolarity = FSMC_WaitSignalPolarity_Low;
+ FSMC_NORSRAMInitStructure.FSMC_WrapMode = FSMC_WrapMode_Disable;
+ FSMC_NORSRAMInitStructure.FSMC_WaitSignalActive = FSMC_WaitSignalActive_BeforeWaitState;
+ FSMC_NORSRAMInitStructure.FSMC_WriteOperation = FSMC_WriteOperation_Enable;
+ FSMC_NORSRAMInitStructure.FSMC_WaitSignal = FSMC_WaitSignal_Disable;
+ FSMC_NORSRAMInitStructure.FSMC_ExtendedMode = FSMC_ExtendedMode_Disable;
+ FSMC_NORSRAMInitStructure.FSMC_WriteBurst = FSMC_WriteBurst_Disable;
+ FSMC_NORSRAMInitStructure.FSMC_ReadWriteTimingStruct = &p;
+ FSMC_NORSRAMInitStructure.FSMC_WriteTimingStruct = &p;
+
+ FSMC_NORSRAMInit(&FSMC_NORSRAMInitStructure);
+
+ FSMC_NORSRAMCmd(FSMC_Bank1_NORSRAM3, ENABLE);
+*/
+
+}
+#endif /* DATA_IN_ExtSRAM */
+#endif /* STM32L151xD || STM32L152xD || STM32L162xD */
+
+/**
+ * @}
+ */
+
+/**
+ * @}
+ */
+
+/**
+ * @}
+ */
+
+
diff --git a/TP6_ACCELEROMETRE/Core/Startup/startup_stm32l152retx.s b/TP6_ACCELEROMETRE/Core/Startup/startup_stm32l152retx.s
new file mode 100644
index 0000000..d3dd841
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Core/Startup/startup_stm32l152retx.s
@@ -0,0 +1,413 @@
+/**
+ ******************************************************************************
+ * @file startup_stm32l152xe.s
+ * @author MCD Application Team
+ * @brief STM32L152XE Devices vector table for GCC toolchain.
+ * This module performs:
+ * - Set the initial SP
+ * - Set the initial PC == Reset_Handler,
+ * - Set the vector table entries with the exceptions ISR address
+ * - Configure the clock system
+ * - Branches to main in the C library (which eventually
+ * calls main()).
+ * After Reset the Cortex-M3 processor is in Thread mode,
+ * priority is Privileged, and the Stack is set to Main.
+ ******************************************************************************
+ * @attention
+ *
+ * Copyright (c) 2017-2021 STMicroelectronics.
+ * All rights reserved.
+ *
+ * This software is licensed under terms that can be found in the LICENSE file
+ * in the root directory of this software component.
+ * If no LICENSE file comes with this software, it is provided AS-IS.
+ *
+ ******************************************************************************
+ */
+
+ .syntax unified
+ .cpu cortex-m3
+ .fpu softvfp
+ .thumb
+
+.global g_pfnVectors
+.global Default_Handler
+
+/* start address for the initialization values of the .data section.
+defined in linker script */
+.word _sidata
+/* start address for the .data section. defined in linker script */
+.word _sdata
+/* end address for the .data section. defined in linker script */
+.word _edata
+/* start address for the .bss section. defined in linker script */
+.word _sbss
+/* end address for the .bss section. defined in linker script */
+.word _ebss
+
+.equ BootRAM, 0xF108F85F
+/**
+ * @brief This is the code that gets called when the processor first
+ * starts execution following a reset event. Only the absolutely
+ * necessary set is performed, after which the application
+ * supplied main() routine is called.
+ * @param None
+ * @retval : None
+*/
+
+ .section .text.Reset_Handler
+ .weak Reset_Handler
+ .type Reset_Handler, %function
+Reset_Handler:
+
+
+/* Call the clock system initialization function.*/
+ bl SystemInit
+
+/* Copy the data segment initializers from flash to SRAM */
+ ldr r0, =_sdata
+ ldr r1, =_edata
+ ldr r2, =_sidata
+ movs r3, #0
+ b LoopCopyDataInit
+
+CopyDataInit:
+ ldr r4, [r2, r3]
+ str r4, [r0, r3]
+ adds r3, r3, #4
+
+LoopCopyDataInit:
+ adds r4, r0, r3
+ cmp r4, r1
+ bcc CopyDataInit
+
+/* Zero fill the bss segment. */
+ ldr r2, =_sbss
+ ldr r4, =_ebss
+ movs r3, #0
+ b LoopFillZerobss
+
+FillZerobss:
+ str r3, [r2]
+ adds r2, r2, #4
+
+LoopFillZerobss:
+ cmp r2, r4
+ bcc FillZerobss
+
+/* Call static constructors */
+ bl __libc_init_array
+/* Call the application's entry point.*/
+ bl main
+ bx lr
+.size Reset_Handler, .-Reset_Handler
+
+/**
+ * @brief This is the code that gets called when the processor receives an
+ * unexpected interrupt. This simply enters an infinite loop, preserving
+ * the system state for examination by a debugger.
+ *
+ * @param None
+ * @retval : None
+*/
+ .section .text.Default_Handler,"ax",%progbits
+Default_Handler:
+Infinite_Loop:
+ b Infinite_Loop
+ .size Default_Handler, .-Default_Handler
+/******************************************************************************
+*
+* The minimal vector table for a Cortex M3. Note that the proper constructs
+* must be placed on this to ensure that it ends up at physical address
+* 0x0000.0000.
+*
+******************************************************************************/
+ .section .isr_vector,"a",%progbits
+ .type g_pfnVectors, %object
+ .size g_pfnVectors, .-g_pfnVectors
+
+
+g_pfnVectors:
+ .word _estack
+ .word Reset_Handler
+ .word NMI_Handler
+ .word HardFault_Handler
+ .word MemManage_Handler
+ .word BusFault_Handler
+ .word UsageFault_Handler
+ .word 0
+ .word 0
+ .word 0
+ .word 0
+ .word SVC_Handler
+ .word DebugMon_Handler
+ .word 0
+ .word PendSV_Handler
+ .word SysTick_Handler
+ .word WWDG_IRQHandler
+ .word PVD_IRQHandler
+ .word TAMPER_STAMP_IRQHandler
+ .word RTC_WKUP_IRQHandler
+ .word FLASH_IRQHandler
+ .word RCC_IRQHandler
+ .word EXTI0_IRQHandler
+ .word EXTI1_IRQHandler
+ .word EXTI2_IRQHandler
+ .word EXTI3_IRQHandler
+ .word EXTI4_IRQHandler
+ .word DMA1_Channel1_IRQHandler
+ .word DMA1_Channel2_IRQHandler
+ .word DMA1_Channel3_IRQHandler
+ .word DMA1_Channel4_IRQHandler
+ .word DMA1_Channel5_IRQHandler
+ .word DMA1_Channel6_IRQHandler
+ .word DMA1_Channel7_IRQHandler
+ .word ADC1_IRQHandler
+ .word USB_HP_IRQHandler
+ .word USB_LP_IRQHandler
+ .word DAC_IRQHandler
+ .word COMP_IRQHandler
+ .word EXTI9_5_IRQHandler
+ .word LCD_IRQHandler
+ .word TIM9_IRQHandler
+ .word TIM10_IRQHandler
+ .word TIM11_IRQHandler
+ .word TIM2_IRQHandler
+ .word TIM3_IRQHandler
+ .word TIM4_IRQHandler
+ .word I2C1_EV_IRQHandler
+ .word I2C1_ER_IRQHandler
+ .word I2C2_EV_IRQHandler
+ .word I2C2_ER_IRQHandler
+ .word SPI1_IRQHandler
+ .word SPI2_IRQHandler
+ .word USART1_IRQHandler
+ .word USART2_IRQHandler
+ .word USART3_IRQHandler
+ .word EXTI15_10_IRQHandler
+ .word RTC_Alarm_IRQHandler
+ .word USB_FS_WKUP_IRQHandler
+ .word TIM6_IRQHandler
+ .word TIM7_IRQHandler
+ .word 0
+ .word TIM5_IRQHandler
+ .word SPI3_IRQHandler
+ .word UART4_IRQHandler
+ .word UART5_IRQHandler
+ .word DMA2_Channel1_IRQHandler
+ .word DMA2_Channel2_IRQHandler
+ .word DMA2_Channel3_IRQHandler
+ .word DMA2_Channel4_IRQHandler
+ .word DMA2_Channel5_IRQHandler
+ .word 0
+ .word COMP_ACQ_IRQHandler
+ .word 0
+ .word 0
+ .word 0
+ .word 0
+ .word 0
+ .word BootRAM /* @0x108. This is for boot in RAM mode for
+ STM32L152XE devices. */
+
+/*******************************************************************************
+*
+* Provide weak aliases for each Exception handler to the Default_Handler.
+* As they are weak aliases, any function with the same name will override
+* this definition.
+*
+*******************************************************************************/
+
+ .weak NMI_Handler
+ .thumb_set NMI_Handler,Default_Handler
+
+ .weak HardFault_Handler
+ .thumb_set HardFault_Handler,Default_Handler
+
+ .weak MemManage_Handler
+ .thumb_set MemManage_Handler,Default_Handler
+
+ .weak BusFault_Handler
+ .thumb_set BusFault_Handler,Default_Handler
+
+ .weak UsageFault_Handler
+ .thumb_set UsageFault_Handler,Default_Handler
+
+ .weak SVC_Handler
+ .thumb_set SVC_Handler,Default_Handler
+
+ .weak DebugMon_Handler
+ .thumb_set DebugMon_Handler,Default_Handler
+
+ .weak PendSV_Handler
+ .thumb_set PendSV_Handler,Default_Handler
+
+ .weak SysTick_Handler
+ .thumb_set SysTick_Handler,Default_Handler
+
+ .weak WWDG_IRQHandler
+ .thumb_set WWDG_IRQHandler,Default_Handler
+
+ .weak PVD_IRQHandler
+ .thumb_set PVD_IRQHandler,Default_Handler
+
+ .weak TAMPER_STAMP_IRQHandler
+ .thumb_set TAMPER_STAMP_IRQHandler,Default_Handler
+
+ .weak RTC_WKUP_IRQHandler
+ .thumb_set RTC_WKUP_IRQHandler,Default_Handler
+
+ .weak FLASH_IRQHandler
+ .thumb_set FLASH_IRQHandler,Default_Handler
+
+ .weak RCC_IRQHandler
+ .thumb_set RCC_IRQHandler,Default_Handler
+
+ .weak EXTI0_IRQHandler
+ .thumb_set EXTI0_IRQHandler,Default_Handler
+
+ .weak EXTI1_IRQHandler
+ .thumb_set EXTI1_IRQHandler,Default_Handler
+
+ .weak EXTI2_IRQHandler
+ .thumb_set EXTI2_IRQHandler,Default_Handler
+
+ .weak EXTI3_IRQHandler
+ .thumb_set EXTI3_IRQHandler,Default_Handler
+
+ .weak EXTI4_IRQHandler
+ .thumb_set EXTI4_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel1_IRQHandler
+ .thumb_set DMA1_Channel1_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel2_IRQHandler
+ .thumb_set DMA1_Channel2_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel3_IRQHandler
+ .thumb_set DMA1_Channel3_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel4_IRQHandler
+ .thumb_set DMA1_Channel4_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel5_IRQHandler
+ .thumb_set DMA1_Channel5_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel6_IRQHandler
+ .thumb_set DMA1_Channel6_IRQHandler,Default_Handler
+
+ .weak DMA1_Channel7_IRQHandler
+ .thumb_set DMA1_Channel7_IRQHandler,Default_Handler
+
+ .weak ADC1_IRQHandler
+ .thumb_set ADC1_IRQHandler,Default_Handler
+
+ .weak USB_HP_IRQHandler
+ .thumb_set USB_HP_IRQHandler,Default_Handler
+
+ .weak USB_LP_IRQHandler
+ .thumb_set USB_LP_IRQHandler,Default_Handler
+
+ .weak DAC_IRQHandler
+ .thumb_set DAC_IRQHandler,Default_Handler
+
+ .weak COMP_IRQHandler
+ .thumb_set COMP_IRQHandler,Default_Handler
+
+ .weak EXTI9_5_IRQHandler
+ .thumb_set EXTI9_5_IRQHandler,Default_Handler
+
+ .weak LCD_IRQHandler
+ .thumb_set LCD_IRQHandler,Default_Handler
+
+ .weak TIM9_IRQHandler
+ .thumb_set TIM9_IRQHandler,Default_Handler
+
+ .weak TIM10_IRQHandler
+ .thumb_set TIM10_IRQHandler,Default_Handler
+
+ .weak TIM11_IRQHandler
+ .thumb_set TIM11_IRQHandler,Default_Handler
+
+ .weak TIM2_IRQHandler
+ .thumb_set TIM2_IRQHandler,Default_Handler
+
+ .weak TIM3_IRQHandler
+ .thumb_set TIM3_IRQHandler,Default_Handler
+
+ .weak TIM4_IRQHandler
+ .thumb_set TIM4_IRQHandler,Default_Handler
+
+ .weak I2C1_EV_IRQHandler
+ .thumb_set I2C1_EV_IRQHandler,Default_Handler
+
+ .weak I2C1_ER_IRQHandler
+ .thumb_set I2C1_ER_IRQHandler,Default_Handler
+
+ .weak I2C2_EV_IRQHandler
+ .thumb_set I2C2_EV_IRQHandler,Default_Handler
+
+ .weak I2C2_ER_IRQHandler
+ .thumb_set I2C2_ER_IRQHandler,Default_Handler
+
+ .weak SPI1_IRQHandler
+ .thumb_set SPI1_IRQHandler,Default_Handler
+
+ .weak SPI2_IRQHandler
+ .thumb_set SPI2_IRQHandler,Default_Handler
+
+ .weak USART1_IRQHandler
+ .thumb_set USART1_IRQHandler,Default_Handler
+
+ .weak USART2_IRQHandler
+ .thumb_set USART2_IRQHandler,Default_Handler
+
+ .weak USART3_IRQHandler
+ .thumb_set USART3_IRQHandler,Default_Handler
+
+ .weak EXTI15_10_IRQHandler
+ .thumb_set EXTI15_10_IRQHandler,Default_Handler
+
+ .weak RTC_Alarm_IRQHandler
+ .thumb_set RTC_Alarm_IRQHandler,Default_Handler
+
+ .weak USB_FS_WKUP_IRQHandler
+ .thumb_set USB_FS_WKUP_IRQHandler,Default_Handler
+
+ .weak TIM6_IRQHandler
+ .thumb_set TIM6_IRQHandler,Default_Handler
+
+ .weak TIM7_IRQHandler
+ .thumb_set TIM7_IRQHandler,Default_Handler
+
+ .weak TIM5_IRQHandler
+ .thumb_set TIM5_IRQHandler,Default_Handler
+
+ .weak SPI3_IRQHandler
+ .thumb_set SPI3_IRQHandler,Default_Handler
+
+ .weak UART4_IRQHandler
+ .thumb_set UART4_IRQHandler,Default_Handler
+
+ .weak UART5_IRQHandler
+ .thumb_set UART5_IRQHandler,Default_Handler
+
+ .weak DMA2_Channel1_IRQHandler
+ .thumb_set DMA2_Channel1_IRQHandler,Default_Handler
+
+ .weak DMA2_Channel2_IRQHandler
+ .thumb_set DMA2_Channel2_IRQHandler,Default_Handler
+
+ .weak DMA2_Channel3_IRQHandler
+ .thumb_set DMA2_Channel3_IRQHandler,Default_Handler
+
+ .weak DMA2_Channel4_IRQHandler
+ .thumb_set DMA2_Channel4_IRQHandler,Default_Handler
+
+ .weak DMA2_Channel5_IRQHandler
+ .thumb_set DMA2_Channel5_IRQHandler,Default_Handler
+
+ .weak COMP_ACQ_IRQHandler
+ .thumb_set COMP_ACQ_IRQHandler,Default_Handler
+
+
+
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/main.cyclo b/TP6_ACCELEROMETRE/Debug/Core/Src/main.cyclo
new file mode 100644
index 0000000..a774d63
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/main.cyclo
@@ -0,0 +1,5 @@
+../Core/Src/main.c:67:5:main 3
+../Core/Src/main.c:139:6:SystemClock_Config 3
+../Core/Src/main.c:180:13:MX_I2C1_Init 2
+../Core/Src/main.c:214:13:MX_GPIO_Init 1
+../Core/Src/main.c:248:6:Error_Handler 1
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/main.d b/TP6_ACCELEROMETRE/Debug/Core/Src/main.d
new file mode 100644
index 0000000..72391eb
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/main.d
@@ -0,0 +1,52 @@
+Core/Src/main.o: ../Core/Src/main.c ../Core/Inc/main.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Core/Inc/main.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/main.o b/TP6_ACCELEROMETRE/Debug/Core/Src/main.o
new file mode 100644
index 0000000..4e144c2
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Core/Src/main.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/main.su b/TP6_ACCELEROMETRE/Debug/Core/Src/main.su
new file mode 100644
index 0000000..bd31dac
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/main.su
@@ -0,0 +1,5 @@
+../Core/Src/main.c:67:5:main 32 static
+../Core/Src/main.c:139:6:SystemClock_Config 80 static
+../Core/Src/main.c:180:13:MX_I2C1_Init 8 static
+../Core/Src/main.c:214:13:MX_GPIO_Init 40 static
+../Core/Src/main.c:248:6:Error_Handler 4 static,ignoring_inline_asm
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.cyclo b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.cyclo
new file mode 100644
index 0000000..9850c53
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.cyclo
@@ -0,0 +1,3 @@
+../Core/Src/stm32l1xx_hal_msp.c:63:6:HAL_MspInit 1
+../Core/Src/stm32l1xx_hal_msp.c:87:6:HAL_I2C_MspInit 2
+../Core/Src/stm32l1xx_hal_msp.c:124:6:HAL_I2C_MspDeInit 2
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.d b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.d
new file mode 100644
index 0000000..3639df1
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.d
@@ -0,0 +1,52 @@
+Core/Src/stm32l1xx_hal_msp.o: ../Core/Src/stm32l1xx_hal_msp.c \
+ ../Core/Inc/main.h ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Core/Inc/main.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.o b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.o
new file mode 100644
index 0000000..a91b26b
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.su b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.su
new file mode 100644
index 0000000..efcb382
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_hal_msp.su
@@ -0,0 +1,3 @@
+../Core/Src/stm32l1xx_hal_msp.c:63:6:HAL_MspInit 24 static
+../Core/Src/stm32l1xx_hal_msp.c:87:6:HAL_I2C_MspInit 48 static
+../Core/Src/stm32l1xx_hal_msp.c:124:6:HAL_I2C_MspDeInit 16 static
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.cyclo b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.cyclo
new file mode 100644
index 0000000..79351de
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.cyclo
@@ -0,0 +1,9 @@
+../Core/Src/stm32l1xx_it.c:69:6:NMI_Handler 1
+../Core/Src/stm32l1xx_it.c:84:6:HardFault_Handler 1
+../Core/Src/stm32l1xx_it.c:99:6:MemManage_Handler 1
+../Core/Src/stm32l1xx_it.c:114:6:BusFault_Handler 1
+../Core/Src/stm32l1xx_it.c:129:6:UsageFault_Handler 1
+../Core/Src/stm32l1xx_it.c:144:6:SVC_Handler 1
+../Core/Src/stm32l1xx_it.c:157:6:DebugMon_Handler 1
+../Core/Src/stm32l1xx_it.c:170:6:PendSV_Handler 1
+../Core/Src/stm32l1xx_it.c:183:6:SysTick_Handler 1
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.d b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.d
new file mode 100644
index 0000000..2a048e2
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.d
@@ -0,0 +1,54 @@
+Core/Src/stm32l1xx_it.o: ../Core/Src/stm32l1xx_it.c ../Core/Inc/main.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h \
+ ../Core/Inc/stm32l1xx_it.h
+../Core/Inc/main.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
+../Core/Inc/stm32l1xx_it.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.o b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.o
new file mode 100644
index 0000000..d7d5edc
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.su b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.su
new file mode 100644
index 0000000..affde81
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/stm32l1xx_it.su
@@ -0,0 +1,9 @@
+../Core/Src/stm32l1xx_it.c:69:6:NMI_Handler 4 static
+../Core/Src/stm32l1xx_it.c:84:6:HardFault_Handler 4 static
+../Core/Src/stm32l1xx_it.c:99:6:MemManage_Handler 4 static
+../Core/Src/stm32l1xx_it.c:114:6:BusFault_Handler 4 static
+../Core/Src/stm32l1xx_it.c:129:6:UsageFault_Handler 4 static
+../Core/Src/stm32l1xx_it.c:144:6:SVC_Handler 4 static
+../Core/Src/stm32l1xx_it.c:157:6:DebugMon_Handler 4 static
+../Core/Src/stm32l1xx_it.c:170:6:PendSV_Handler 4 static
+../Core/Src/stm32l1xx_it.c:183:6:SysTick_Handler 8 static
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/subdir.mk b/TP6_ACCELEROMETRE/Debug/Core/Src/subdir.mk
new file mode 100644
index 0000000..397cf6f
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/subdir.mk
@@ -0,0 +1,42 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+# Toolchain: GNU Tools for STM32 (13.3.rel1)
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+C_SRCS += \
+../Core/Src/main.c \
+../Core/Src/stm32l1xx_hal_msp.c \
+../Core/Src/stm32l1xx_it.c \
+../Core/Src/syscalls.c \
+../Core/Src/sysmem.c \
+../Core/Src/system_stm32l1xx.c
+
+OBJS += \
+./Core/Src/main.o \
+./Core/Src/stm32l1xx_hal_msp.o \
+./Core/Src/stm32l1xx_it.o \
+./Core/Src/syscalls.o \
+./Core/Src/sysmem.o \
+./Core/Src/system_stm32l1xx.o
+
+C_DEPS += \
+./Core/Src/main.d \
+./Core/Src/stm32l1xx_hal_msp.d \
+./Core/Src/stm32l1xx_it.d \
+./Core/Src/syscalls.d \
+./Core/Src/sysmem.d \
+./Core/Src/system_stm32l1xx.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+Core/Src/%.o Core/Src/%.su Core/Src/%.cyclo: ../Core/Src/%.c Core/Src/subdir.mk
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L152xE -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+
+clean: clean-Core-2f-Src
+
+clean-Core-2f-Src:
+ -$(RM) ./Core/Src/main.cyclo ./Core/Src/main.d ./Core/Src/main.o ./Core/Src/main.su ./Core/Src/stm32l1xx_hal_msp.cyclo ./Core/Src/stm32l1xx_hal_msp.d ./Core/Src/stm32l1xx_hal_msp.o ./Core/Src/stm32l1xx_hal_msp.su ./Core/Src/stm32l1xx_it.cyclo ./Core/Src/stm32l1xx_it.d ./Core/Src/stm32l1xx_it.o ./Core/Src/stm32l1xx_it.su ./Core/Src/syscalls.cyclo ./Core/Src/syscalls.d ./Core/Src/syscalls.o ./Core/Src/syscalls.su ./Core/Src/sysmem.cyclo ./Core/Src/sysmem.d ./Core/Src/sysmem.o ./Core/Src/sysmem.su ./Core/Src/system_stm32l1xx.cyclo ./Core/Src/system_stm32l1xx.d ./Core/Src/system_stm32l1xx.o ./Core/Src/system_stm32l1xx.su
+
+.PHONY: clean-Core-2f-Src
+
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.cyclo b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.cyclo
new file mode 100644
index 0000000..6cbfdd0
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.cyclo
@@ -0,0 +1,18 @@
+../Core/Src/syscalls.c:44:6:initialise_monitor_handles 1
+../Core/Src/syscalls.c:48:5:_getpid 1
+../Core/Src/syscalls.c:53:5:_kill 1
+../Core/Src/syscalls.c:61:6:_exit 1
+../Core/Src/syscalls.c:67:27:_read 2
+../Core/Src/syscalls.c:80:27:_write 2
+../Core/Src/syscalls.c:92:5:_close 1
+../Core/Src/syscalls.c:99:5:_fstat 1
+../Core/Src/syscalls.c:106:5:_isatty 1
+../Core/Src/syscalls.c:112:5:_lseek 1
+../Core/Src/syscalls.c:120:5:_open 1
+../Core/Src/syscalls.c:128:5:_wait 1
+../Core/Src/syscalls.c:135:5:_unlink 1
+../Core/Src/syscalls.c:142:5:_times 1
+../Core/Src/syscalls.c:148:5:_stat 1
+../Core/Src/syscalls.c:155:5:_link 1
+../Core/Src/syscalls.c:163:5:_fork 1
+../Core/Src/syscalls.c:169:5:_execve 1
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.d b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.d
new file mode 100644
index 0000000..8667c70
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.d
@@ -0,0 +1 @@
+Core/Src/syscalls.o: ../Core/Src/syscalls.c
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.o b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.o
new file mode 100644
index 0000000..9481104
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.su b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.su
new file mode 100644
index 0000000..50b547a
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/syscalls.su
@@ -0,0 +1,18 @@
+../Core/Src/syscalls.c:44:6:initialise_monitor_handles 4 static
+../Core/Src/syscalls.c:48:5:_getpid 4 static
+../Core/Src/syscalls.c:53:5:_kill 16 static
+../Core/Src/syscalls.c:61:6:_exit 16 static
+../Core/Src/syscalls.c:67:27:_read 32 static
+../Core/Src/syscalls.c:80:27:_write 32 static
+../Core/Src/syscalls.c:92:5:_close 16 static
+../Core/Src/syscalls.c:99:5:_fstat 16 static
+../Core/Src/syscalls.c:106:5:_isatty 16 static
+../Core/Src/syscalls.c:112:5:_lseek 24 static
+../Core/Src/syscalls.c:120:5:_open 12 static
+../Core/Src/syscalls.c:128:5:_wait 16 static
+../Core/Src/syscalls.c:135:5:_unlink 16 static
+../Core/Src/syscalls.c:142:5:_times 16 static
+../Core/Src/syscalls.c:148:5:_stat 16 static
+../Core/Src/syscalls.c:155:5:_link 16 static
+../Core/Src/syscalls.c:163:5:_fork 8 static
+../Core/Src/syscalls.c:169:5:_execve 24 static
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.cyclo b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.cyclo
new file mode 100644
index 0000000..0090c10
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.cyclo
@@ -0,0 +1 @@
+../Core/Src/sysmem.c:53:7:_sbrk 3
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.d b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.d
new file mode 100644
index 0000000..74fecf9
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.d
@@ -0,0 +1 @@
+Core/Src/sysmem.o: ../Core/Src/sysmem.c
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.o b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.o
new file mode 100644
index 0000000..e238bea
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.su b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.su
new file mode 100644
index 0000000..12d5f17
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/sysmem.su
@@ -0,0 +1 @@
+../Core/Src/sysmem.c:53:7:_sbrk 32 static
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.cyclo b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.cyclo
new file mode 100644
index 0000000..4f4c23e
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.cyclo
@@ -0,0 +1,2 @@
+../Core/Src/system_stm32l1xx.c:161:6:SystemInit 1
+../Core/Src/system_stm32l1xx.c:211:6:SystemCoreClockUpdate 6
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.d b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.d
new file mode 100644
index 0000000..3b42c9d
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.d
@@ -0,0 +1,51 @@
+Core/Src/system_stm32l1xx.o: ../Core/Src/system_stm32l1xx.c \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.o b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.o
new file mode 100644
index 0000000..62f1b3f
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.su b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.su
new file mode 100644
index 0000000..7b26053
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Src/system_stm32l1xx.su
@@ -0,0 +1,2 @@
+../Core/Src/system_stm32l1xx.c:161:6:SystemInit 4 static
+../Core/Src/system_stm32l1xx.c:211:6:SystemCoreClockUpdate 32 static
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Startup/startup_stm32l152retx.d b/TP6_ACCELEROMETRE/Debug/Core/Startup/startup_stm32l152retx.d
new file mode 100644
index 0000000..98bd1c7
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Startup/startup_stm32l152retx.d
@@ -0,0 +1,2 @@
+Core/Startup/startup_stm32l152retx.o: \
+ ../Core/Startup/startup_stm32l152retx.s
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Startup/startup_stm32l152retx.o b/TP6_ACCELEROMETRE/Debug/Core/Startup/startup_stm32l152retx.o
new file mode 100644
index 0000000..5d35c1e
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Core/Startup/startup_stm32l152retx.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Core/Startup/subdir.mk b/TP6_ACCELEROMETRE/Debug/Core/Startup/subdir.mk
new file mode 100644
index 0000000..2bd1fed
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Core/Startup/subdir.mk
@@ -0,0 +1,27 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+# Toolchain: GNU Tools for STM32 (13.3.rel1)
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+S_SRCS += \
+../Core/Startup/startup_stm32l152retx.s
+
+OBJS += \
+./Core/Startup/startup_stm32l152retx.o
+
+S_DEPS += \
+./Core/Startup/startup_stm32l152retx.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+Core/Startup/%.o: ../Core/Startup/%.s Core/Startup/subdir.mk
+ arm-none-eabi-gcc -mcpu=cortex-m3 -g3 -DDEBUG -c -x assembler-with-cpp -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@" "$<"
+
+clean: clean-Core-2f-Startup
+
+clean-Core-2f-Startup:
+ -$(RM) ./Core/Startup/startup_stm32l152retx.d ./Core/Startup/startup_stm32l152retx.o
+
+.PHONY: clean-Core-2f-Startup
+
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.cyclo
new file mode 100644
index 0000000..8184382
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.cyclo
@@ -0,0 +1,25 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:140:19:HAL_Init 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:173:19:HAL_DeInit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:196:13:HAL_MspInit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:207:13:HAL_MspDeInit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:230:26:HAL_InitTick 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:298:13:HAL_IncTick 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:309:17:HAL_GetTick 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:318:10:HAL_GetTickPrio 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:328:19:HAL_SetTickFreq 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:361:10:HAL_GetTickFreq 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:377:13:HAL_Delay 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:403:13:HAL_SuspendTick 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:419:13:HAL_ResumeTick 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:429:10:HAL_GetHalVersion 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:438:10:HAL_GetREVID 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:447:10:HAL_GetDEVID 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:456:10:HAL_GetUIDw0 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:465:10:HAL_GetUIDw1 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:474:10:HAL_GetUIDw2 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:503:6:HAL_DBGMCU_EnableDBGSleepMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:512:6:HAL_DBGMCU_DisableDBGSleepMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:521:6:HAL_DBGMCU_EnableDBGStopMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:530:6:HAL_DBGMCU_DisableDBGStopMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:539:6:HAL_DBGMCU_EnableDBGStandbyMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:548:6:HAL_DBGMCU_DisableDBGStandbyMode 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d
new file mode 100644
index 0000000..d6b9e8b
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o
new file mode 100644
index 0000000..cac663b
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.su
new file mode 100644
index 0000000..dec4a76
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.su
@@ -0,0 +1,25 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:140:19:HAL_Init 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:173:19:HAL_DeInit 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:196:13:HAL_MspInit 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:207:13:HAL_MspDeInit 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:230:26:HAL_InitTick 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:298:13:HAL_IncTick 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:309:17:HAL_GetTick 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:318:10:HAL_GetTickPrio 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:328:19:HAL_SetTickFreq 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:361:10:HAL_GetTickFreq 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:377:13:HAL_Delay 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:403:13:HAL_SuspendTick 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:419:13:HAL_ResumeTick 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:429:10:HAL_GetHalVersion 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:438:10:HAL_GetREVID 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:447:10:HAL_GetDEVID 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:456:10:HAL_GetUIDw0 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:465:10:HAL_GetUIDw1 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:474:10:HAL_GetUIDw2 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:503:6:HAL_DBGMCU_EnableDBGSleepMode 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:512:6:HAL_DBGMCU_DisableDBGSleepMode 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:521:6:HAL_DBGMCU_EnableDBGStopMode 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:530:6:HAL_DBGMCU_DisableDBGStopMode 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:539:6:HAL_DBGMCU_EnableDBGStandbyMode 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c:548:6:HAL_DBGMCU_DisableDBGStandbyMode 4 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.cyclo
new file mode 100644
index 0000000..7f5d6ef
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.cyclo
@@ -0,0 +1,34 @@
+../Drivers/CMSIS/Include/core_cm3.h:1480:22:__NVIC_SetPriorityGrouping 1
+../Drivers/CMSIS/Include/core_cm3.h:1499:26:__NVIC_GetPriorityGrouping 1
+../Drivers/CMSIS/Include/core_cm3.h:1511:22:__NVIC_EnableIRQ 2
+../Drivers/CMSIS/Include/core_cm3.h:1547:22:__NVIC_DisableIRQ 2
+../Drivers/CMSIS/Include/core_cm3.h:1566:26:__NVIC_GetPendingIRQ 2
+../Drivers/CMSIS/Include/core_cm3.h:1585:22:__NVIC_SetPendingIRQ 2
+../Drivers/CMSIS/Include/core_cm3.h:1600:22:__NVIC_ClearPendingIRQ 2
+../Drivers/CMSIS/Include/core_cm3.h:1617:26:__NVIC_GetActive 2
+../Drivers/CMSIS/Include/core_cm3.h:1639:22:__NVIC_SetPriority 2
+../Drivers/CMSIS/Include/core_cm3.h:1661:26:__NVIC_GetPriority 2
+../Drivers/CMSIS/Include/core_cm3.h:1686:26:NVIC_EncodePriority 2
+../Drivers/CMSIS/Include/core_cm3.h:1713:22:NVIC_DecodePriority 2
+../Drivers/CMSIS/Include/core_cm3.h:1762:34:__NVIC_SystemReset 1
+../Drivers/CMSIS/Include/core_cm3.h:1834:26:SysTick_Config 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:168:6:HAL_NVIC_SetPriorityGrouping 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:190:6:HAL_NVIC_SetPriority 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:212:6:HAL_NVIC_EnableIRQ 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:228:6:HAL_NVIC_DisableIRQ 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:241:6:HAL_NVIC_SystemReset 0
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:254:10:HAL_SYSTICK_Config 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:290:6:HAL_MPU_Enable 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:304:6:HAL_MPU_Disable 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:317:6:HAL_MPU_EnableRegion 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:333:6:HAL_MPU_DisableRegion 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:351:6:HAL_MPU_ConfigRegion 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:389:10:HAL_NVIC_GetPriorityGrouping 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:416:6:HAL_NVIC_GetPriority 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:431:6:HAL_NVIC_SetPendingIRQ 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:446:10:HAL_NVIC_GetPendingIRQ 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:459:6:HAL_NVIC_ClearPendingIRQ 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:473:10:HAL_NVIC_GetActive 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:487:6:HAL_SYSTICK_CLKSourceConfig 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:505:6:HAL_SYSTICK_IRQHandler 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:514:13:HAL_SYSTICK_Callback 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d
new file mode 100644
index 0000000..36700a4
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o
new file mode 100644
index 0000000..6e1ac7b
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.su
new file mode 100644
index 0000000..131741d
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.su
@@ -0,0 +1,34 @@
+../Drivers/CMSIS/Include/core_cm3.h:1480:22:__NVIC_SetPriorityGrouping 24 static
+../Drivers/CMSIS/Include/core_cm3.h:1499:26:__NVIC_GetPriorityGrouping 4 static
+../Drivers/CMSIS/Include/core_cm3.h:1511:22:__NVIC_EnableIRQ 16 static
+../Drivers/CMSIS/Include/core_cm3.h:1547:22:__NVIC_DisableIRQ 16 static,ignoring_inline_asm
+../Drivers/CMSIS/Include/core_cm3.h:1566:26:__NVIC_GetPendingIRQ 16 static
+../Drivers/CMSIS/Include/core_cm3.h:1585:22:__NVIC_SetPendingIRQ 16 static
+../Drivers/CMSIS/Include/core_cm3.h:1600:22:__NVIC_ClearPendingIRQ 16 static
+../Drivers/CMSIS/Include/core_cm3.h:1617:26:__NVIC_GetActive 16 static
+../Drivers/CMSIS/Include/core_cm3.h:1639:22:__NVIC_SetPriority 16 static
+../Drivers/CMSIS/Include/core_cm3.h:1661:26:__NVIC_GetPriority 16 static
+../Drivers/CMSIS/Include/core_cm3.h:1686:26:NVIC_EncodePriority 40 static
+../Drivers/CMSIS/Include/core_cm3.h:1713:22:NVIC_DecodePriority 40 static
+../Drivers/CMSIS/Include/core_cm3.h:1762:34:__NVIC_SystemReset 4 static,ignoring_inline_asm
+../Drivers/CMSIS/Include/core_cm3.h:1834:26:SysTick_Config 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:168:6:HAL_NVIC_SetPriorityGrouping 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:190:6:HAL_NVIC_SetPriority 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:212:6:HAL_NVIC_EnableIRQ 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:228:6:HAL_NVIC_DisableIRQ 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:241:6:HAL_NVIC_SystemReset 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:254:10:HAL_SYSTICK_Config 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:290:6:HAL_MPU_Enable 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:304:6:HAL_MPU_Disable 4 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:317:6:HAL_MPU_EnableRegion 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:333:6:HAL_MPU_DisableRegion 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:351:6:HAL_MPU_ConfigRegion 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:389:10:HAL_NVIC_GetPriorityGrouping 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:416:6:HAL_NVIC_GetPriority 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:431:6:HAL_NVIC_SetPendingIRQ 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:446:10:HAL_NVIC_GetPendingIRQ 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:459:6:HAL_NVIC_ClearPendingIRQ 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:473:10:HAL_NVIC_GetActive 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:487:6:HAL_SYSTICK_CLKSourceConfig 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:505:6:HAL_SYSTICK_IRQHandler 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c:514:13:HAL_SYSTICK_Callback 4 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.cyclo
new file mode 100644
index 0000000..7a3ffe2
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.cyclo
@@ -0,0 +1,13 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:144:19:HAL_DMA_Init 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:223:19:HAL_DMA_DeInit 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:315:19:HAL_DMA_Start 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:358:19:HAL_DMA_Start_IT 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:413:19:HAL_DMA_Abort 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:454:19:HAL_DMA_Abort_IT 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:499:19:HAL_DMA_PollForTransfer 10
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:600:6:HAL_DMA_IRQHandler 12
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:697:19:HAL_DMA_RegisterCallback 7
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:748:19:HAL_DMA_UnRegisterCallback 8
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:826:22:HAL_DMA_GetState 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:838:10:HAL_DMA_GetError 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:864:13:DMA_SetConfig 2
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d
new file mode 100644
index 0000000..bf4fae2
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o
new file mode 100644
index 0000000..2698edd
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.su
new file mode 100644
index 0000000..623b836
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.su
@@ -0,0 +1,13 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:144:19:HAL_DMA_Init 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:223:19:HAL_DMA_DeInit 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:315:19:HAL_DMA_Start 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:358:19:HAL_DMA_Start_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:413:19:HAL_DMA_Abort 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:454:19:HAL_DMA_Abort_IT 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:499:19:HAL_DMA_PollForTransfer 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:600:6:HAL_DMA_IRQHandler 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:697:19:HAL_DMA_RegisterCallback 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:748:19:HAL_DMA_UnRegisterCallback 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:826:22:HAL_DMA_GetState 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:838:10:HAL_DMA_GetError 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c:864:13:DMA_SetConfig 24 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.cyclo
new file mode 100644
index 0000000..c8dc847
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.cyclo
@@ -0,0 +1,9 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:142:19:HAL_EXTI_SetConfigLine 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:237:19:HAL_EXTI_GetConfigLine 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:316:19:HAL_EXTI_ClearConfigLine 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:369:19:HAL_EXTI_RegisterCallback 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:394:19:HAL_EXTI_GetHandle 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:434:6:HAL_EXTI_IRQHandler 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:466:10:HAL_EXTI_GetPending 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:495:6:HAL_EXTI_ClearPending 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:516:6:HAL_EXTI_GenerateSWI 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d
new file mode 100644
index 0000000..e315d8c
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o
new file mode 100644
index 0000000..52aa948
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.su
new file mode 100644
index 0000000..60ab396
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.su
@@ -0,0 +1,9 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:142:19:HAL_EXTI_SetConfigLine 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:237:19:HAL_EXTI_GetConfigLine 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:316:19:HAL_EXTI_ClearConfigLine 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:369:19:HAL_EXTI_RegisterCallback 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:394:19:HAL_EXTI_GetHandle 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:434:6:HAL_EXTI_IRQHandler 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:466:10:HAL_EXTI_GetPending 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:495:6:HAL_EXTI_ClearPending 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c:516:6:HAL_EXTI_GenerateSWI 24 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.cyclo
new file mode 100644
index 0000000..f6e8b03
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.cyclo
@@ -0,0 +1,13 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:229:19:HAL_FLASH_Program 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:271:19:HAL_FLASH_Program_IT 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:302:6:HAL_FLASH_IRQHandler 12
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:417:13:HAL_FLASH_EndOfOperationCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:434:13:HAL_FLASH_OperationErrorCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:467:19:HAL_FLASH_Unlock 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:502:19:HAL_FLASH_Lock 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:514:19:HAL_FLASH_OB_Unlock 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:550:19:HAL_FLASH_OB_Lock 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:563:19:HAL_FLASH_OB_Launch 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:595:10:HAL_FLASH_GetError 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:617:19:FLASH_WaitForLastOperation 11
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:668:13:FLASH_SetErrorCode 6
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d
new file mode 100644
index 0000000..733f57b
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o
new file mode 100644
index 0000000..5a76a69
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.su
new file mode 100644
index 0000000..e235edd
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.su
@@ -0,0 +1,13 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:229:19:HAL_FLASH_Program 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:271:19:HAL_FLASH_Program_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:302:6:HAL_FLASH_IRQHandler 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:417:13:HAL_FLASH_EndOfOperationCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:434:13:HAL_FLASH_OperationErrorCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:467:19:HAL_FLASH_Unlock 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:502:19:HAL_FLASH_Lock 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:514:19:HAL_FLASH_OB_Unlock 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:550:19:HAL_FLASH_OB_Lock 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:563:19:HAL_FLASH_OB_Launch 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:595:10:HAL_FLASH_GetError 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:617:19:FLASH_WaitForLastOperation 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c:668:13:FLASH_SetErrorCode 16 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.cyclo
new file mode 100644
index 0000000..8ebac3a
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.cyclo
@@ -0,0 +1,31 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:185:19:HAL_FLASHEx_Erase 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:281:19:HAL_FLASHEx_Erase_IT 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:404:19:HAL_FLASHEx_OBProgram 11
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:486:6:HAL_FLASHEx_OBGetConfig 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:540:19:HAL_FLASHEx_AdvOBProgram 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:597:6:HAL_FLASHEx_AdvOBGetConfig 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:749:19:HAL_FLASHEx_DATAEEPROM_Unlock 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:768:19:HAL_FLASHEx_DATAEEPROM_Lock 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:788:19:HAL_FLASHEx_DATAEEPROM_Erase 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:846:21:HAL_FLASHEx_DATAEEPROM_Program 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:911:6:HAL_FLASHEx_DATAEEPROM_EnableFixedTimeProgram 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:920:6:HAL_FLASHEx_DATAEEPROM_DisableFixedTimeProgram 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:956:26:FLASH_OB_RDPConfig 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1020:26:FLASH_OB_BORConfig 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1058:16:FLASH_OB_GetUser 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1072:16:FLASH_OB_GetRDP 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1090:16:FLASH_OB_GetBOR 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1104:26:FLASH_OB_WRPConfig 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1235:13:FLASH_OB_WRPConfigWRP1OrPCROP1 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1281:13:FLASH_OB_WRPConfigWRP2OrPCROP2 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1327:13:FLASH_OB_WRPConfigWRP3 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1372:13:FLASH_OB_WRPConfigWRP4 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1422:26:FLASH_OB_UserConfig 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1475:26:FLASH_OB_BootConfig 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1524:26:FLASH_DATAEEPROM_FastProgramByte 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1584:26:FLASH_DATAEEPROM_FastProgramHalfWord 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1652:26:FLASH_DATAEEPROM_FastProgramWord 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1683:26:FLASH_DATAEEPROM_ProgramByte 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1737:26:FLASH_DATAEEPROM_ProgramHalfWord 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1798:26:FLASH_DATAEEPROM_ProgramWord 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1843:6:FLASH_PageErase 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d
new file mode 100644
index 0000000..f740cbe
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o
new file mode 100644
index 0000000..ed4720a
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.su
new file mode 100644
index 0000000..2d287b1
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.su
@@ -0,0 +1,31 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:185:19:HAL_FLASHEx_Erase 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:281:19:HAL_FLASHEx_Erase_IT 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:404:19:HAL_FLASHEx_OBProgram 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:486:6:HAL_FLASHEx_OBGetConfig 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:540:19:HAL_FLASHEx_AdvOBProgram 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:597:6:HAL_FLASHEx_AdvOBGetConfig 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:749:19:HAL_FLASHEx_DATAEEPROM_Unlock 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:768:19:HAL_FLASHEx_DATAEEPROM_Lock 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:788:19:HAL_FLASHEx_DATAEEPROM_Erase 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:846:21:HAL_FLASHEx_DATAEEPROM_Program 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:911:6:HAL_FLASHEx_DATAEEPROM_EnableFixedTimeProgram 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:920:6:HAL_FLASHEx_DATAEEPROM_DisableFixedTimeProgram 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:956:26:FLASH_OB_RDPConfig 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1020:26:FLASH_OB_BORConfig 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1058:16:FLASH_OB_GetUser 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1072:16:FLASH_OB_GetRDP 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1090:16:FLASH_OB_GetBOR 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1104:26:FLASH_OB_WRPConfig 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1235:13:FLASH_OB_WRPConfigWRP1OrPCROP1 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1281:13:FLASH_OB_WRPConfigWRP2OrPCROP2 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1327:13:FLASH_OB_WRPConfigWRP3 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1372:13:FLASH_OB_WRPConfigWRP4 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1422:26:FLASH_OB_UserConfig 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1475:26:FLASH_OB_BootConfig 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1524:26:FLASH_DATAEEPROM_FastProgramByte 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1584:26:FLASH_DATAEEPROM_FastProgramHalfWord 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1652:26:FLASH_DATAEEPROM_FastProgramWord 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1683:26:FLASH_DATAEEPROM_ProgramByte 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1737:26:FLASH_DATAEEPROM_ProgramHalfWord 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1798:26:FLASH_DATAEEPROM_ProgramWord 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c:1843:6:FLASH_PageErase 16 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.cyclo
new file mode 100644
index 0000000..569838d
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.cyclo
@@ -0,0 +1,10 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:113:30:HAL_FLASHEx_EnableRunPowerDown 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:126:30:HAL_FLASHEx_DisableRunPowerDown 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:163:30:HAL_FLASHEx_EraseParallelPage 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:224:30:HAL_FLASHEx_ProgramParallelHalfPage 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:302:30:HAL_FLASHEx_HalfPageProgram 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:394:30:HAL_FLASHEx_GetError 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:426:30:HAL_FLASHEx_DATAEEPROM_EraseDoubleWord 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:486:30:HAL_FLASHEx_DATAEEPROM_ProgramDoubleWord 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:586:37:FLASHRAM_WaitForLastOperation 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:540:37:FLASHRAM_SetErrorCode 5
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d
new file mode 100644
index 0000000..1360796
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o
new file mode 100644
index 0000000..8eb3634
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.su
new file mode 100644
index 0000000..09e2138
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.su
@@ -0,0 +1,10 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:113:30:HAL_FLASHEx_EnableRunPowerDown 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:126:30:HAL_FLASHEx_DisableRunPowerDown 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:163:30:HAL_FLASHEx_EraseParallelPage 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:224:30:HAL_FLASHEx_ProgramParallelHalfPage 48 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:302:30:HAL_FLASHEx_HalfPageProgram 40 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:394:30:HAL_FLASHEx_GetError 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:426:30:HAL_FLASHEx_DATAEEPROM_EraseDoubleWord 32 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:486:30:HAL_FLASHEx_DATAEEPROM_ProgramDoubleWord 40 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:586:37:FLASHRAM_WaitForLastOperation 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c:540:37:FLASHRAM_SetErrorCode 16 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.cyclo
new file mode 100644
index 0000000..e47145d
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.cyclo
@@ -0,0 +1,8 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:170:6:HAL_GPIO_Init 19
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:301:6:HAL_GPIO_DeInit 11
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:381:15:HAL_GPIO_ReadPin 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:413:6:HAL_GPIO_WritePin 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:435:6:HAL_GPIO_TogglePin 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:469:19:HAL_GPIO_LockPin 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:504:6:HAL_GPIO_EXTI_IRQHandler 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:519:13:HAL_GPIO_EXTI_Callback 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d
new file mode 100644
index 0000000..3d6b2ee
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o
new file mode 100644
index 0000000..6d3460d
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.su
new file mode 100644
index 0000000..0081dee
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.su
@@ -0,0 +1,8 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:170:6:HAL_GPIO_Init 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:301:6:HAL_GPIO_DeInit 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:381:15:HAL_GPIO_ReadPin 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:413:6:HAL_GPIO_WritePin 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:435:6:HAL_GPIO_TogglePin 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:469:19:HAL_GPIO_LockPin 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:504:6:HAL_GPIO_EXTI_IRQHandler 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c:519:13:HAL_GPIO_EXTI_Callback 16 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.cyclo
new file mode 100644
index 0000000..2d9c921
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.cyclo
@@ -0,0 +1,82 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:445:19:HAL_I2C_Init 11
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:560:19:HAL_I2C_DeInit 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:606:13:HAL_I2C_MspInit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:622:13:HAL_I2C_MspDeInit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:959:13:I2C_Flush_DR 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1056:19:HAL_I2C_Master_Transmit 13
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1177:19:HAL_I2C_Master_Receive 20
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1428:19:HAL_I2C_Slave_Transmit 14
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1558:19:HAL_I2C_Slave_Receive 12
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1679:19:HAL_I2C_Master_Transmit_IT 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1756:19:HAL_I2C_Master_Receive_IT 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1836:19:HAL_I2C_Slave_Transmit_IT 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1898:19:HAL_I2C_Slave_Receive_IT 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1962:19:HAL_I2C_Master_Transmit_DMA 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2115:19:HAL_I2C_Master_Receive_DMA 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2266:19:HAL_I2C_Slave_Transmit_DMA 8
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2378:19:HAL_I2C_Slave_Receive_DMA 8
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2495:19:HAL_I2C_Mem_Write 13
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2618:19:HAL_I2C_Mem_Read 20
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2870:19:HAL_I2C_Mem_Write_IT 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2955:19:HAL_I2C_Mem_Read_IT 7
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3046:19:HAL_I2C_Mem_Write_DMA 10
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3226:19:HAL_I2C_Mem_Read_DMA 12
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3420:19:HAL_I2C_IsDeviceReady 16
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3556:19:HAL_I2C_Master_Seq_Transmit_IT 13
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3651:19:HAL_I2C_Master_Seq_Transmit_DMA 23
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3831:19:HAL_I2C_Master_Seq_Receive_IT 17
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3952:19:HAL_I2C_Master_Seq_Receive_DMA 30
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4167:19:HAL_I2C_Slave_Seq_Transmit_IT 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4233:19:HAL_I2C_Slave_Seq_Transmit_DMA 16
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4407:19:HAL_I2C_Slave_Seq_Receive_IT 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4473:19:HAL_I2C_Slave_Seq_Receive_DMA 16
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4643:19:HAL_I2C_EnableListen_IT 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4676:19:HAL_I2C_DisableListen_IT 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4711:19:HAL_I2C_Master_Abort_IT 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4771:6:HAL_I2C_EV_IRQHandler 46
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4940:6:HAL_I2C_ER_IRQHandler 18
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5020:13:HAL_I2C_MasterTxCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5036:13:HAL_I2C_MasterRxCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5051:13:HAL_I2C_SlaveTxCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5067:13:HAL_I2C_SlaveRxCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5085:13:HAL_I2C_AddrCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5103:13:HAL_I2C_ListenCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5119:13:HAL_I2C_MemTxCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5135:13:HAL_I2C_MemRxCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5151:13:HAL_I2C_ErrorCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5167:13:HAL_I2C_AbortCpltCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5202:22:HAL_I2C_GetState 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5214:21:HAL_I2C_GetMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5225:10:HAL_I2C_GetError 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5248:13:I2C_MasterTransmit_TXE 12
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5342:13:I2C_MasterTransmit_BTF 7
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5421:13:I2C_MemoryTransmit_TXE_BTF 10
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5508:13:I2C_MasterReceive_RXNE 11
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5627:13:I2C_MasterReceive_BTF 13
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5756:13:I2C_Master_SB 11
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5817:13:I2C_Master_ADD10 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5836:13:I2C_Master_ADDR 33
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5981:13:I2C_SlaveTransmit_TXE 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6022:13:I2C_SlaveTransmit_BTF 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6043:13:I2C_SlaveReceive_RXNE 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6084:13:I2C_SlaveReceive_BTF 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6106:13:I2C_Slave_ADDR 4
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6157:13:I2C_Slave_STOPF 19
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6326:13:I2C_Slave_AF 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6395:13:I2C_ITError 21
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6561:26:I2C_MasterRequestWrite 10
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6631:26:I2C_MasterRequestRead 13
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6731:26:I2C_RequestMemoryWrite 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6811:26:I2C_RequestMemoryRead 14
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6920:13:I2C_DMAXferCplt 18
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7065:13:I2C_DMAError 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7100:13:I2C_DMAAbort 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7203:26:I2C_WaitOnFlagUntilTimeout 8
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7240:26:I2C_WaitOnMasterAddressFlagUntilTimeout 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7294:26:I2C_WaitOnTXEFlagUntilTimeout 7
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7335:26:I2C_WaitOnBTFFlagUntilTimeout 7
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7376:26:I2C_WaitOnSTOPFlagUntilTimeout 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7412:26:I2C_WaitOnSTOPRequestThroughIT 3
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7441:26:I2C_WaitOnRXNEFlagUntilTimeout 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7489:26:I2C_IsAcknowledgeFailed 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7514:13:I2C_ConvertOtherXferOptions 3
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.d
new file mode 100644
index 0000000..ab287bc
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.o
new file mode 100644
index 0000000..bc2a7c2
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.su
new file mode 100644
index 0000000..3997045
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.su
@@ -0,0 +1,82 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:445:19:HAL_I2C_Init 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:560:19:HAL_I2C_DeInit 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:606:13:HAL_I2C_MspInit 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:622:13:HAL_I2C_MspDeInit 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:959:13:I2C_Flush_DR 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1056:19:HAL_I2C_Master_Transmit 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1177:19:HAL_I2C_Master_Receive 56 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1428:19:HAL_I2C_Slave_Transmit 48 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1558:19:HAL_I2C_Slave_Receive 48 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1679:19:HAL_I2C_Master_Transmit_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1756:19:HAL_I2C_Master_Receive_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1836:19:HAL_I2C_Slave_Transmit_IT 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1898:19:HAL_I2C_Slave_Receive_IT 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:1962:19:HAL_I2C_Master_Transmit_DMA 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2115:19:HAL_I2C_Master_Receive_DMA 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2266:19:HAL_I2C_Slave_Transmit_DMA 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2378:19:HAL_I2C_Slave_Receive_DMA 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2495:19:HAL_I2C_Mem_Write 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2618:19:HAL_I2C_Mem_Read 56 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2870:19:HAL_I2C_Mem_Write_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:2955:19:HAL_I2C_Mem_Read_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3046:19:HAL_I2C_Mem_Write_DMA 48 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3226:19:HAL_I2C_Mem_Read_DMA 56 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3420:19:HAL_I2C_IsDeviceReady 48 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3556:19:HAL_I2C_Master_Seq_Transmit_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3651:19:HAL_I2C_Master_Seq_Transmit_DMA 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3831:19:HAL_I2C_Master_Seq_Receive_IT 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:3952:19:HAL_I2C_Master_Seq_Receive_DMA 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4167:19:HAL_I2C_Slave_Seq_Transmit_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4233:19:HAL_I2C_Slave_Seq_Transmit_DMA 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4407:19:HAL_I2C_Slave_Seq_Receive_IT 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4473:19:HAL_I2C_Slave_Seq_Receive_DMA 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4643:19:HAL_I2C_EnableListen_IT 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4676:19:HAL_I2C_DisableListen_IT 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4711:19:HAL_I2C_Master_Abort_IT 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4771:6:HAL_I2C_EV_IRQHandler 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:4940:6:HAL_I2C_ER_IRQHandler 48 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5020:13:HAL_I2C_MasterTxCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5036:13:HAL_I2C_MasterRxCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5051:13:HAL_I2C_SlaveTxCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5067:13:HAL_I2C_SlaveRxCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5085:13:HAL_I2C_AddrCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5103:13:HAL_I2C_ListenCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5119:13:HAL_I2C_MemTxCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5135:13:HAL_I2C_MemRxCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5151:13:HAL_I2C_ErrorCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5167:13:HAL_I2C_AbortCpltCallback 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5202:22:HAL_I2C_GetState 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5214:21:HAL_I2C_GetMode 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5225:10:HAL_I2C_GetError 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5248:13:I2C_MasterTransmit_TXE 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5342:13:I2C_MasterTransmit_BTF 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5421:13:I2C_MemoryTransmit_TXE_BTF 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5508:13:I2C_MasterReceive_RXNE 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5627:13:I2C_MasterReceive_BTF 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5756:13:I2C_Master_SB 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5817:13:I2C_Master_ADD10 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5836:13:I2C_Master_ADDR 72 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:5981:13:I2C_SlaveTransmit_TXE 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6022:13:I2C_SlaveTransmit_BTF 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6043:13:I2C_SlaveReceive_RXNE 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6084:13:I2C_SlaveReceive_BTF 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6106:13:I2C_Slave_ADDR 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6157:13:I2C_Slave_STOPF 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6326:13:I2C_Slave_AF 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6395:13:I2C_ITError 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6561:26:I2C_MasterRequestWrite 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6631:26:I2C_MasterRequestRead 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6731:26:I2C_RequestMemoryWrite 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6811:26:I2C_RequestMemoryRead 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:6920:13:I2C_DMAXferCplt 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7065:13:I2C_DMAError 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7100:13:I2C_DMAAbort 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7203:26:I2C_WaitOnFlagUntilTimeout 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7240:26:I2C_WaitOnMasterAddressFlagUntilTimeout 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7294:26:I2C_WaitOnTXEFlagUntilTimeout 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7335:26:I2C_WaitOnBTFFlagUntilTimeout 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7376:26:I2C_WaitOnSTOPFlagUntilTimeout 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7412:26:I2C_WaitOnSTOPRequestThroughIT 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7441:26:I2C_WaitOnRXNEFlagUntilTimeout 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7489:26:I2C_IsAcknowledgeFailed 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c:7514:13:I2C_ConvertOtherXferOptions 16 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.cyclo
new file mode 100644
index 0000000..31779a7
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.cyclo
@@ -0,0 +1,17 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:84:6:HAL_PWR_DeInit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:97:6:HAL_PWR_EnableBkUpAccess 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:110:6:HAL_PWR_DisableBkUpAccess 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:338:6:HAL_PWR_ConfigPVD 5
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:380:6:HAL_PWR_EnablePVD 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:390:6:HAL_PWR_DisablePVD 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:405:6:HAL_PWR_EnableWakeUpPin 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:422:6:HAL_PWR_DisableWakeUpPin 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:445:6:HAL_PWR_EnterSLEEPMode 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:494:6:HAL_PWR_EnterSTOPMode 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:534:6:HAL_PWR_EnterSTANDBYMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:559:6:HAL_PWR_EnableSleepOnExit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:572:6:HAL_PWR_DisableSleepOnExit 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:585:6:HAL_PWR_EnableSEVOnPend 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:598:6:HAL_PWR_DisableSEVOnPend 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:611:6:HAL_PWR_PVD_IRQHandler 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:628:13:HAL_PWR_PVDCallback 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d
new file mode 100644
index 0000000..b7013f3
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o
new file mode 100644
index 0000000..fc4c5d2
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.su
new file mode 100644
index 0000000..0927141
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.su
@@ -0,0 +1,17 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:84:6:HAL_PWR_DeInit 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:97:6:HAL_PWR_EnableBkUpAccess 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:110:6:HAL_PWR_DisableBkUpAccess 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:338:6:HAL_PWR_ConfigPVD 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:380:6:HAL_PWR_EnablePVD 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:390:6:HAL_PWR_DisablePVD 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:405:6:HAL_PWR_EnableWakeUpPin 24 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:422:6:HAL_PWR_DisableWakeUpPin 24 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:445:6:HAL_PWR_EnterSLEEPMode 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:494:6:HAL_PWR_EnterSTOPMode 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:534:6:HAL_PWR_EnterSTANDBYMode 4 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:559:6:HAL_PWR_EnableSleepOnExit 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:572:6:HAL_PWR_DisableSleepOnExit 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:585:6:HAL_PWR_EnableSEVOnPend 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:598:6:HAL_PWR_DisableSEVOnPend 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:611:6:HAL_PWR_PVD_IRQHandler 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c:628:13:HAL_PWR_PVDCallback 4 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.cyclo
new file mode 100644
index 0000000..67dc12f
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.cyclo
@@ -0,0 +1,7 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:65:10:HAL_PWREx_GetVoltageRange 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:78:6:HAL_PWREx_EnableFastWakeUp 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:88:6:HAL_PWREx_DisableFastWakeUp 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:98:6:HAL_PWREx_EnableUltraLowPower 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:108:6:HAL_PWREx_DisableUltraLowPower 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:124:6:HAL_PWREx_EnableLowPowerRunMode 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:135:19:HAL_PWREx_DisableLowPowerRunMode 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d
new file mode 100644
index 0000000..3103a3c
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o
new file mode 100644
index 0000000..0d2e7e7
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.su
new file mode 100644
index 0000000..b425b1d
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.su
@@ -0,0 +1,7 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:65:10:HAL_PWREx_GetVoltageRange 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:78:6:HAL_PWREx_EnableFastWakeUp 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:88:6:HAL_PWREx_DisableFastWakeUp 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:98:6:HAL_PWREx_EnableUltraLowPower 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:108:6:HAL_PWREx_DisableUltraLowPower 16 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:124:6:HAL_PWREx_EnableLowPowerRunMode 24 static,ignoring_inline_asm
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c:135:19:HAL_PWREx_DisableLowPowerRunMode 24 static,ignoring_inline_asm
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.cyclo
new file mode 100644
index 0000000..f4e8746
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.cyclo
@@ -0,0 +1,15 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:226:19:HAL_RCC_DeInit 8
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:322:19:HAL_RCC_OscConfig 73
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:797:19:HAL_RCC_ClockConfig 30
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1003:6:HAL_RCC_MCOConfig 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1040:6:HAL_RCC_EnableCSS 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1049:6:HAL_RCC_DisableCSS 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1084:10:HAL_RCC_GetSysClockFreq 6
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1140:10:HAL_RCC_GetHCLKFreq 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1151:10:HAL_RCC_GetPCLK1Freq 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1163:10:HAL_RCC_GetPCLK2Freq 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1176:6:HAL_RCC_GetOscConfig 9
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1272:6:HAL_RCC_GetClockConfig 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1302:6:HAL_RCC_NMI_IRQHandler 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1319:13:HAL_RCC_CSSCallback 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1344:26:RCC_SetFlashLatencyFromMSIRange 7
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d
new file mode 100644
index 0000000..d57d615
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o
new file mode 100644
index 0000000..61d8d90
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.su
new file mode 100644
index 0000000..1364a7f
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.su
@@ -0,0 +1,15 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:226:19:HAL_RCC_DeInit 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:322:19:HAL_RCC_OscConfig 40 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:797:19:HAL_RCC_ClockConfig 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1003:6:HAL_RCC_MCOConfig 48 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1040:6:HAL_RCC_EnableCSS 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1049:6:HAL_RCC_DisableCSS 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1084:10:HAL_RCC_GetSysClockFreq 88 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1140:10:HAL_RCC_GetHCLKFreq 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1151:10:HAL_RCC_GetPCLK1Freq 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1163:10:HAL_RCC_GetPCLK2Freq 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1176:6:HAL_RCC_GetOscConfig 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1272:6:HAL_RCC_GetClockConfig 16 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1302:6:HAL_RCC_NMI_IRQHandler 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1319:13:HAL_RCC_CSSCallback 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c:1344:26:RCC_SetFlashLatencyFromMSIRange 32 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.cyclo b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.cyclo
new file mode 100644
index 0000000..e67d81f
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.cyclo
@@ -0,0 +1,8 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:90:19:HAL_RCCEx_PeriphCLKConfig 24
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:229:6:HAL_RCCEx_GetPeriphCLKConfig 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:266:10:HAL_RCCEx_GetPeriphCLKFreq 12
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:358:6:HAL_RCCEx_EnableLSECSS 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:371:6:HAL_RCCEx_DisableLSECSS 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:385:6:HAL_RCCEx_EnableLSECSS_IT 1
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:402:6:HAL_RCCEx_LSECSS_IRQHandler 2
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:419:13:HAL_RCCEx_LSECSS_Callback 1
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d
new file mode 100644
index 0000000..be38623
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d
@@ -0,0 +1,52 @@
+Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o: \
+ ../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h \
+ ../Core/Inc/stm32l1xx_hal_conf.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h \
+ ../Drivers/CMSIS/Include/core_cm3.h \
+ ../Drivers/CMSIS/Include/cmsis_version.h \
+ ../Drivers/CMSIS/Include/cmsis_compiler.h \
+ ../Drivers/CMSIS/Include/cmsis_gcc.h \
+ ../Drivers/CMSIS/Include/mpu_armv7.h \
+ ../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h \
+ ../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal.h:
+../Core/Inc/stm32l1xx_hal_conf.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_def.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l1xx.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/stm32l152xe.h:
+../Drivers/CMSIS/Include/core_cm3.h:
+../Drivers/CMSIS/Include/cmsis_version.h:
+../Drivers/CMSIS/Include/cmsis_compiler.h:
+../Drivers/CMSIS/Include/cmsis_gcc.h:
+../Drivers/CMSIS/Include/mpu_armv7.h:
+../Drivers/CMSIS/Device/ST/STM32L1xx/Include/system_stm32l1xx.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy/stm32_hal_legacy.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_rcc_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_gpio_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_dma.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_cortex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_flash_ramfunc.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_i2c.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_pwr_ex.h:
+../Drivers/STM32L1xx_HAL_Driver/Inc/stm32l1xx_hal_exti.h:
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o
new file mode 100644
index 0000000..338340c
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o differ
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.su b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.su
new file mode 100644
index 0000000..fd9bbc1
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.su
@@ -0,0 +1,8 @@
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:90:19:HAL_RCCEx_PeriphCLKConfig 32 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:229:6:HAL_RCCEx_GetPeriphCLKConfig 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:266:10:HAL_RCCEx_GetPeriphCLKFreq 24 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:358:6:HAL_RCCEx_EnableLSECSS 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:371:6:HAL_RCCEx_DisableLSECSS 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:385:6:HAL_RCCEx_EnableLSECSS_IT 4 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:402:6:HAL_RCCEx_LSECSS_IRQHandler 8 static
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c:419:13:HAL_RCCEx_LSECSS_Callback 4 static
diff --git a/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/subdir.mk b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/subdir.mk
new file mode 100644
index 0000000..732546c
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/Drivers/STM32L1xx_HAL_Driver/Src/subdir.mk
@@ -0,0 +1,63 @@
+################################################################################
+# Automatically-generated file. Do not edit!
+# Toolchain: GNU Tools for STM32 (13.3.rel1)
+################################################################################
+
+# Add inputs and outputs from these tool invocations to the build variables
+C_SRCS += \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.c \
+../Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.c
+
+OBJS += \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o
+
+C_DEPS += \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d \
+./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d
+
+
+# Each subdirectory must supply rules for building sources it contributes
+Drivers/STM32L1xx_HAL_Driver/Src/%.o Drivers/STM32L1xx_HAL_Driver/Src/%.su Drivers/STM32L1xx_HAL_Driver/Src/%.cyclo: ../Drivers/STM32L1xx_HAL_Driver/Src/%.c Drivers/STM32L1xx_HAL_Driver/Src/subdir.mk
+ arm-none-eabi-gcc "$<" -mcpu=cortex-m3 -std=gnu11 -g3 -DDEBUG -DUSE_HAL_DRIVER -DSTM32L152xE -c -I../Core/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc -I../Drivers/STM32L1xx_HAL_Driver/Inc/Legacy -I../Drivers/CMSIS/Device/ST/STM32L1xx/Include -I../Drivers/CMSIS/Include -O0 -ffunction-sections -fdata-sections -Wall -fstack-usage -fcyclomatic-complexity -MMD -MP -MF"$(@:%.o=%.d)" -MT"$@" --specs=nano.specs -mfloat-abi=soft -mthumb -o "$@"
+
+clean: clean-Drivers-2f-STM32L1xx_HAL_Driver-2f-Src
+
+clean-Drivers-2f-STM32L1xx_HAL_Driver-2f-Src:
+ -$(RM) ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_cortex.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_dma.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_exti.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ex.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_flash_ramfunc.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_gpio.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_i2c.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_pwr_ex.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc.su ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.cyclo ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.d ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.o ./Drivers/STM32L1xx_HAL_Driver/Src/stm32l1xx_hal_rcc_ex.su
+
+.PHONY: clean-Drivers-2f-STM32L1xx_HAL_Driver-2f-Src
+
diff --git a/TP6_ACCELEROMETRE/Debug/TP6_ACCELEROMETRE.elf b/TP6_ACCELEROMETRE/Debug/TP6_ACCELEROMETRE.elf
new file mode 100755
index 0000000..ed106f6
Binary files /dev/null and b/TP6_ACCELEROMETRE/Debug/TP6_ACCELEROMETRE.elf differ
diff --git a/TP6_ACCELEROMETRE/Debug/TP6_ACCELEROMETRE.list b/TP6_ACCELEROMETRE/Debug/TP6_ACCELEROMETRE.list
new file mode 100644
index 0000000..2b2fbb5
--- /dev/null
+++ b/TP6_ACCELEROMETRE/Debug/TP6_ACCELEROMETRE.list
@@ -0,0 +1,6976 @@
+
+TP6_ACCELEROMETRE.elf: file format elf32-littlearm
+
+Sections:
+Idx Name Size VMA LMA File off Algn
+ 0 .isr_vector 0000013c 08000000 08000000 00001000 2**0
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 1 .text 000028d8 0800013c 0800013c 0000113c 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, CODE
+ 2 .rodata 00000024 08002a14 08002a14 00003a14 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 3 .ARM.extab 00000000 08002a38 08002a38 0000400c 2**0
+ CONTENTS, READONLY
+ 4 .ARM 00000008 08002a38 08002a38 00003a38 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 5 .preinit_array 00000000 08002a40 08002a40 0000400c 2**0
+ CONTENTS, ALLOC, LOAD, DATA
+ 6 .init_array 00000004 08002a40 08002a40 00003a40 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 7 .fini_array 00000004 08002a44 08002a44 00003a44 2**2
+ CONTENTS, ALLOC, LOAD, READONLY, DATA
+ 8 .data 0000000c 20000000 08002a48 00004000 2**2
+ CONTENTS, ALLOC, LOAD, DATA
+ 9 .bss 00000074 2000000c 08002a54 0000400c 2**2
+ ALLOC
+ 10 ._user_heap_stack 00000600 20000080 08002a54 00004080 2**0
+ ALLOC
+ 11 .ARM.attributes 00000029 00000000 00000000 0000400c 2**0
+ CONTENTS, READONLY
+ 12 .debug_info 00005e7c 00000000 00000000 00004035 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 13 .debug_abbrev 0000124c 00000000 00000000 00009eb1 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 14 .debug_aranges 000006b8 00000000 00000000 0000b100 2**3
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 15 .debug_rnglists 00000527 00000000 00000000 0000b7b8 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 16 .debug_macro 00015119 00000000 00000000 0000bcdf 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 17 .debug_line 000086ca 00000000 00000000 00020df8 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 18 .debug_str 00084ad6 00000000 00000000 000294c2 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 19 .comment 00000043 00000000 00000000 000adf98 2**0
+ CONTENTS, READONLY
+ 20 .debug_frame 00001b4c 00000000 00000000 000adfdc 2**2
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+ 21 .debug_line_str 00000071 00000000 00000000 000afb28 2**0
+ CONTENTS, READONLY, DEBUGGING, OCTETS
+
+Disassembly of section .text:
+
+0800013c <__do_global_dtors_aux>:
+ 800013c: b510 push {r4, lr}
+ 800013e: 4c05 ldr r4, [pc, #20] @ (8000154 <__do_global_dtors_aux+0x18>)
+ 8000140: 7823 ldrb r3, [r4, #0]
+ 8000142: b933 cbnz r3, 8000152 <__do_global_dtors_aux+0x16>
+ 8000144: 4b04 ldr r3, [pc, #16] @ (8000158 <__do_global_dtors_aux+0x1c>)
+ 8000146: b113 cbz r3, 800014e <__do_global_dtors_aux+0x12>
+ 8000148: 4804 ldr r0, [pc, #16] @ (800015c <__do_global_dtors_aux+0x20>)
+ 800014a: f3af 8000 nop.w
+ 800014e: 2301 movs r3, #1
+ 8000150: 7023 strb r3, [r4, #0]
+ 8000152: bd10 pop {r4, pc}
+ 8000154: 2000000c .word 0x2000000c
+ 8000158: 00000000 .word 0x00000000
+ 800015c: 080029fc .word 0x080029fc
+
+08000160 :
+ 8000160: b508 push {r3, lr}
+ 8000162: 4b03 ldr r3, [pc, #12] @ (8000170 )
+ 8000164: b11b cbz r3, 800016e
+ 8000166: 4903 ldr r1, [pc, #12] @ (8000174 )
+ 8000168: 4803 ldr r0, [pc, #12] @ (8000178 )
+ 800016a: f3af 8000 nop.w
+ 800016e: bd08 pop {r3, pc}
+ 8000170: 00000000 .word 0x00000000
+ 8000174: 20000010 .word 0x20000010
+ 8000178: 080029fc .word 0x080029fc
+
+0800017c <__aeabi_uldivmod>:
+ 800017c: b953 cbnz r3, 8000194 <__aeabi_uldivmod+0x18>
+ 800017e: b94a cbnz r2, 8000194 <__aeabi_uldivmod+0x18>
+ 8000180: 2900 cmp r1, #0
+ 8000182: bf08 it eq
+ 8000184: 2800 cmpeq r0, #0
+ 8000186: bf1c itt ne
+ 8000188: f04f 31ff movne.w r1, #4294967295 @ 0xffffffff
+ 800018c: f04f 30ff movne.w r0, #4294967295 @ 0xffffffff
+ 8000190: f000 b98c b.w 80004ac <__aeabi_idiv0>
+ 8000194: f1ad 0c08 sub.w ip, sp, #8
+ 8000198: e96d ce04 strd ip, lr, [sp, #-16]!
+ 800019c: f000 f806 bl 80001ac <__udivmoddi4>
+ 80001a0: f8dd e004 ldr.w lr, [sp, #4]
+ 80001a4: e9dd 2302 ldrd r2, r3, [sp, #8]
+ 80001a8: b004 add sp, #16
+ 80001aa: 4770 bx lr
+
+080001ac <__udivmoddi4>:
+ 80001ac: e92d 47f0 stmdb sp!, {r4, r5, r6, r7, r8, r9, sl, lr}
+ 80001b0: 9d08 ldr r5, [sp, #32]
+ 80001b2: 468e mov lr, r1
+ 80001b4: 4604 mov r4, r0
+ 80001b6: 4688 mov r8, r1
+ 80001b8: 2b00 cmp r3, #0
+ 80001ba: d14a bne.n 8000252 <__udivmoddi4+0xa6>
+ 80001bc: 428a cmp r2, r1
+ 80001be: 4617 mov r7, r2
+ 80001c0: d962 bls.n 8000288 <__udivmoddi4+0xdc>
+ 80001c2: fab2 f682 clz r6, r2
+ 80001c6: b14e cbz r6, 80001dc <__udivmoddi4+0x30>
+ 80001c8: f1c6 0320 rsb r3, r6, #32
+ 80001cc: fa01 f806 lsl.w r8, r1, r6
+ 80001d0: fa20 f303 lsr.w r3, r0, r3
+ 80001d4: 40b7 lsls r7, r6
+ 80001d6: ea43 0808 orr.w r8, r3, r8
+ 80001da: 40b4 lsls r4, r6
+ 80001dc: ea4f 4e17 mov.w lr, r7, lsr #16
+ 80001e0: fbb8 f1fe udiv r1, r8, lr
+ 80001e4: fa1f fc87 uxth.w ip, r7
+ 80001e8: fb0e 8811 mls r8, lr, r1, r8
+ 80001ec: fb01 f20c mul.w r2, r1, ip
+ 80001f0: 0c23 lsrs r3, r4, #16
+ 80001f2: ea43 4308 orr.w r3, r3, r8, lsl #16
+ 80001f6: 429a cmp r2, r3
+ 80001f8: d909 bls.n 800020e <__udivmoddi4+0x62>
+ 80001fa: 18fb adds r3, r7, r3
+ 80001fc: f101 30ff add.w r0, r1, #4294967295 @ 0xffffffff
+ 8000200: f080 80eb bcs.w 80003da <__udivmoddi4+0x22e>
+ 8000204: 429a cmp r2, r3
+ 8000206: f240 80e8 bls.w 80003da <__udivmoddi4+0x22e>
+ 800020a: 3902 subs r1, #2
+ 800020c: 443b add r3, r7
+ 800020e: 1a9a subs r2, r3, r2
+ 8000210: fbb2 f0fe udiv r0, r2, lr
+ 8000214: fb0e 2210 mls r2, lr, r0, r2
+ 8000218: fb00 fc0c mul.w ip, r0, ip
+ 800021c: b2a3 uxth r3, r4
+ 800021e: ea43 4302 orr.w r3, r3, r2, lsl #16
+ 8000222: 459c cmp ip, r3
+ 8000224: d909 bls.n 800023a <__udivmoddi4+0x8e>
+ 8000226: 18fb adds r3, r7, r3
+ 8000228: f100 32ff add.w r2, r0, #4294967295 @ 0xffffffff
+ 800022c: f080 80d7 bcs.w 80003de <__udivmoddi4+0x232>
+ 8000230: 459c cmp ip, r3
+ 8000232: f240 80d4 bls.w 80003de <__udivmoddi4+0x232>
+ 8000236: 443b add r3, r7
+ 8000238: 3802 subs r0, #2
+ 800023a: ea40 4001 orr.w r0, r0, r1, lsl #16
+ 800023e: 2100 movs r1, #0
+ 8000240: eba3 030c sub.w r3, r3, ip
+ 8000244: b11d cbz r5, 800024e <__udivmoddi4+0xa2>
+ 8000246: 2200 movs r2, #0
+ 8000248: 40f3 lsrs r3, r6
+ 800024a: e9c5 3200 strd r3, r2, [r5]
+ 800024e: e8bd 87f0 ldmia.w sp!, {r4, r5, r6, r7, r8, r9, sl, pc}
+ 8000252: 428b cmp r3, r1
+ 8000254: d905 bls.n 8000262 <__udivmoddi4+0xb6>
+ 8000256: b10d cbz r5, 800025c <__udivmoddi4+0xb0>
+ 8000258: e9c5 0100 strd r0, r1, [r5]
+ 800025c: 2100 movs r1, #0
+ 800025e: 4608 mov r0, r1
+ 8000260: e7f5 b.n 800024e <__udivmoddi4+0xa2>
+ 8000262: fab3 f183 clz r1, r3
+ 8000266: 2900 cmp r1, #0
+ 8000268: d146 bne.n 80002f8 <__udivmoddi4+0x14c>
+ 800026a: 4573 cmp r3, lr
+ 800026c: d302 bcc.n 8000274 <__udivmoddi4+0xc8>
+ 800026e: 4282 cmp r2, r0
+ 8000270: f200 8108 bhi.w 8000484 <__udivmoddi4+0x2d8>
+ 8000274: 1a84 subs r4, r0, r2
+ 8000276: eb6e 0203 sbc.w r2, lr, r3
+ 800027a: 2001 movs r0, #1
+ 800027c: 4690 mov r8, r2
+ 800027e: 2d00 cmp r5, #0
+ 8000280: d0e5 beq.n 800024e <__udivmoddi4+0xa2>
+ 8000282: e9c5 4800 strd r4, r8, [r5]
+ 8000286: e7e2 b.n 800024e <__udivmoddi4+0xa2>
+ 8000288: 2a00 cmp r2, #0
+ 800028a: f000 8091 beq.w 80003b0 <__udivmoddi4+0x204>
+ 800028e: fab2 f682 clz r6, r2
+ 8000292: 2e00 cmp r6, #0
+ 8000294: f040 80a5 bne.w 80003e2 <__udivmoddi4+0x236>
+ 8000298: 1a8a subs r2, r1, r2
+ 800029a: 2101 movs r1, #1
+ 800029c: 0c03 lsrs r3, r0, #16
+ 800029e: ea4f 4e17 mov.w lr, r7, lsr #16
+ 80002a2: b280 uxth r0, r0
+ 80002a4: b2bc uxth r4, r7
+ 80002a6: fbb2 fcfe udiv ip, r2, lr
+ 80002aa: fb0e 221c mls r2, lr, ip, r2
+ 80002ae: ea43 4302 orr.w r3, r3, r2, lsl #16
+ 80002b2: fb04 f20c mul.w r2, r4, ip
+ 80002b6: 429a cmp r2, r3
+ 80002b8: d907 bls.n 80002ca <__udivmoddi4+0x11e>
+ 80002ba: 18fb adds r3, r7, r3
+ 80002bc: f10c 38ff add.w r8, ip, #4294967295 @ 0xffffffff
+ 80002c0: d202 bcs.n 80002c8 <__udivmoddi4+0x11c>
+ 80002c2: 429a cmp r2, r3
+ 80002c4: f200 80e3 bhi.w 800048e <__udivmoddi4+0x2e2>
+ 80002c8: 46c4 mov ip, r8
+ 80002ca: 1a9b subs r3, r3, r2
+ 80002cc: fbb3 f2fe udiv r2, r3, lr
+ 80002d0: fb0e 3312 mls r3, lr, r2, r3
+ 80002d4: fb02 f404 mul.w r4, r2, r4
+ 80002d8: ea40 4303 orr.w r3, r0, r3, lsl #16
+ 80002dc: 429c cmp r4, r3
+ 80002de: d907 bls.n 80002f0 <__udivmoddi4+0x144>
+ 80002e0: 18fb adds r3, r7, r3
+ 80002e2: f102 30ff add.w r0, r2, #4294967295 @ 0xffffffff
+ 80002e6: d202 bcs.n 80002ee <__udivmoddi4+0x142>
+ 80002e8: 429c cmp r4, r3
+ 80002ea: f200 80cd bhi.w 8000488 <__udivmoddi4+0x2dc>
+ 80002ee: 4602 mov r2, r0
+ 80002f0: 1b1b subs r3, r3, r4
+ 80002f2: ea42 400c orr.w r0, r2, ip, lsl #16
+ 80002f6: e7a5 b.n 8000244 <__udivmoddi4+0x98>
+ 80002f8: f1c1 0620 rsb r6, r1, #32
+ 80002fc: 408b lsls r3, r1
+ 80002fe: fa22 f706 lsr.w r7, r2, r6
+ 8000302: 431f orrs r7, r3
+ 8000304: fa2e fa06 lsr.w sl, lr, r6
+ 8000308: ea4f 4917 mov.w r9, r7, lsr #16
+ 800030c: fbba f8f9 udiv r8, sl, r9
+ 8000310: fa0e fe01 lsl.w lr, lr, r1
+ 8000314: fa20 f306 lsr.w r3, r0, r6
+ 8000318: fb09 aa18 mls sl, r9, r8, sl
+ 800031c: fa1f fc87 uxth.w ip, r7
+ 8000320: ea43 030e orr.w r3, r3, lr
+ 8000324: fa00 fe01 lsl.w lr, r0, r1
+ 8000328: fb08 f00c mul.w r0, r8, ip
+ 800032c: 0c1c lsrs r4, r3, #16
+ 800032e: ea44 440a orr.w r4, r4, sl, lsl #16
+ 8000332: 42a0 cmp r0, r4
+ 8000334: fa02 f201 lsl.w r2, r2, r1
+ 8000338: d90a bls.n 8000350 <__udivmoddi4+0x1a4>
+ 800033a: 193c adds r4, r7, r4
+ 800033c: f108 3aff add.w sl, r8, #4294967295 @ 0xffffffff
+ 8000340: f080 809e bcs.w 8000480 <__udivmoddi4+0x2d4>
+ 8000344: 42a0 cmp r0, r4
+ 8000346: f240 809b bls.w 8000480 <__udivmoddi4+0x2d4>
+ 800034a: f1a8 0802 sub.w r8, r8, #2
+ 800034e: 443c add r4, r7
+ 8000350: 1a24 subs r4, r4, r0
+ 8000352: b298 uxth r0, r3
+ 8000354: fbb4 f3f9 udiv r3, r4, r9
+ 8000358: fb09 4413 mls r4, r9, r3, r4
+ 800035c: fb03 fc0c mul.w ip, r3, ip
+ 8000360: ea40 4404 orr.w r4, r0, r4, lsl #16
+ 8000364: 45a4 cmp ip, r4
+ 8000366: d909 bls.n 800037c <__udivmoddi4+0x1d0>
+ 8000368: 193c adds r4, r7, r4
+ 800036a: f103 30ff add.w r0, r3, #4294967295 @ 0xffffffff
+ 800036e: f080 8085 bcs.w 800047c <__udivmoddi4+0x2d0>
+ 8000372: 45a4 cmp ip, r4
+ 8000374: f240 8082 bls.w 800047c <__udivmoddi4+0x2d0>
+ 8000378: 3b02 subs r3, #2
+ 800037a: 443c add r4, r7
+ 800037c: ea43 4008 orr.w r0, r3, r8, lsl #16
+ 8000380: eba4 040c sub.w r4, r4, ip
+ 8000384: fba0 8c02 umull r8, ip, r0, r2
+ 8000388: 4564 cmp r4, ip
+ 800038a: 4643 mov r3, r8
+ 800038c: 46e1 mov r9, ip
+ 800038e: d364 bcc.n 800045a <__udivmoddi4+0x2ae>
+ 8000390: d061 beq.n 8000456 <__udivmoddi4+0x2aa>
+ 8000392: b15d cbz r5, 80003ac <__udivmoddi4+0x200>
+ 8000394: ebbe 0203 subs.w r2, lr, r3
+ 8000398: eb64 0409 sbc.w r4, r4, r9
+ 800039c: fa04 f606 lsl.w r6, r4, r6
+ 80003a0: fa22 f301 lsr.w r3, r2, r1
+ 80003a4: 431e orrs r6, r3
+ 80003a6: 40cc lsrs r4, r1
+ 80003a8: e9c5 6400 strd r6, r4, [r5]
+ 80003ac: 2100 movs r1, #0
+ 80003ae: e74e b.n 800024e <__udivmoddi4+0xa2>
+ 80003b0: fbb1 fcf2 udiv ip, r1, r2
+ 80003b4: 0c01 lsrs r1, r0, #16
+ 80003b6: ea41 410e orr.w r1, r1, lr, lsl #16
+ 80003ba: b280 uxth r0, r0
+ 80003bc: ea40 4201 orr.w r2, r0, r1, lsl #16
+ 80003c0: 463b mov r3, r7
+ 80003c2: fbb1 f1f7 udiv r1, r1, r7
+ 80003c6: 4638 mov r0, r7
+ 80003c8: 463c mov r4, r7
+ 80003ca: 46b8 mov r8, r7
+ 80003cc: 46be mov lr, r7
+ 80003ce: 2620 movs r6, #32
+ 80003d0: eba2 0208 sub.w r2, r2, r8
+ 80003d4: ea41 410c orr.w r1, r1, ip, lsl #16
+ 80003d8: e765 b.n 80002a6 <__udivmoddi4+0xfa>
+ 80003da: 4601 mov r1, r0
+ 80003dc: e717 b.n 800020e <__udivmoddi4+0x62>
+ 80003de: 4610 mov r0, r2
+ 80003e0: e72b b.n 800023a <__udivmoddi4+0x8e>
+ 80003e2: f1c6 0120 rsb r1, r6, #32
+ 80003e6: fa2e fc01 lsr.w ip, lr, r1
+ 80003ea: 40b7 lsls r7, r6
+ 80003ec: fa0e fe06 lsl.w lr, lr, r6
+ 80003f0: fa20 f101 lsr.w r1, r0, r1
+ 80003f4: ea41 010e orr.w r1, r1, lr
+ 80003f8: ea4f 4e17 mov.w lr, r7, lsr #16
+ 80003fc: fbbc f8fe udiv r8, ip, lr
+ 8000400: b2bc uxth r4, r7
+ 8000402: fb0e cc18 mls ip, lr, r8, ip
+ 8000406: fb08 f904 mul.w r9, r8, r4
+ 800040a: 0c0a lsrs r2, r1, #16
+ 800040c: ea42 420c orr.w r2, r2, ip, lsl #16
+ 8000410: 40b0 lsls r0, r6
+ 8000412: 4591 cmp r9, r2
+ 8000414: ea4f 4310 mov.w r3, r0, lsr #16
+ 8000418: b280 uxth r0, r0
+ 800041a: d93e bls.n 800049a <__udivmoddi4+0x2ee>
+ 800041c: 18ba adds r2, r7, r2
+ 800041e: f108 3cff add.w ip, r8, #4294967295 @ 0xffffffff
+ 8000422: d201 bcs.n 8000428 <__udivmoddi4+0x27c>
+ 8000424: 4591 cmp r9, r2
+ 8000426: d81f bhi.n 8000468 <__udivmoddi4+0x2bc>
+ 8000428: eba2 0209 sub.w r2, r2, r9
+ 800042c: fbb2 f9fe udiv r9, r2, lr
+ 8000430: fb09 f804 mul.w r8, r9, r4
+ 8000434: fb0e 2a19 mls sl, lr, r9, r2
+ 8000438: b28a uxth r2, r1
+ 800043a: ea42 420a orr.w r2, r2, sl, lsl #16
+ 800043e: 4542 cmp r2, r8
+ 8000440: d229 bcs.n 8000496 <__udivmoddi4+0x2ea>
+ 8000442: 18ba adds r2, r7, r2
+ 8000444: f109 31ff add.w r1, r9, #4294967295 @ 0xffffffff
+ 8000448: d2c2 bcs.n 80003d0 <__udivmoddi4+0x224>
+ 800044a: 4542 cmp r2, r8
+ 800044c: d2c0 bcs.n 80003d0 <__udivmoddi4+0x224>
+ 800044e: f1a9 0102 sub.w r1, r9, #2
+ 8000452: 443a add r2, r7
+ 8000454: e7bc b.n 80003d0 <__udivmoddi4+0x224>
+ 8000456: 45c6 cmp lr, r8
+ 8000458: d29b bcs.n 8000392 <__udivmoddi4+0x1e6>
+ 800045a: ebb8 0302 subs.w r3, r8, r2
+ 800045e: eb6c 0c07 sbc.w ip, ip, r7
+ 8000462: 3801 subs r0, #1
+ 8000464: 46e1 mov r9, ip
+ 8000466: e794 b.n 8000392 <__udivmoddi4+0x1e6>
+ 8000468: eba7 0909 sub.w r9, r7, r9
+ 800046c: 444a add r2, r9
+ 800046e: fbb2 f9fe udiv r9, r2, lr
+ 8000472: f1a8 0c02 sub.w ip, r8, #2
+ 8000476: fb09 f804 mul.w r8, r9, r4
+ 800047a: e7db b.n 8000434 <__udivmoddi4+0x288>
+ 800047c: 4603 mov r3, r0
+ 800047e: e77d b.n 800037c <__udivmoddi4+0x1d0>
+ 8000480: 46d0 mov r8, sl
+ 8000482: e765 b.n 8000350 <__udivmoddi4+0x1a4>
+ 8000484: 4608 mov r0, r1
+ 8000486: e6fa b.n 800027e <__udivmoddi4+0xd2>
+ 8000488: 443b add r3, r7
+ 800048a: 3a02 subs r2, #2
+ 800048c: e730 b.n 80002f0 <__udivmoddi4+0x144>
+ 800048e: f1ac 0c02 sub.w ip, ip, #2
+ 8000492: 443b add r3, r7
+ 8000494: e719 b.n 80002ca <__udivmoddi4+0x11e>
+ 8000496: 4649 mov r1, r9
+ 8000498: e79a b.n 80003d0 <__udivmoddi4+0x224>
+ 800049a: eba2 0209 sub.w r2, r2, r9
+ 800049e: fbb2 f9fe udiv r9, r2, lr
+ 80004a2: 46c4 mov ip, r8
+ 80004a4: fb09 f804 mul.w r8, r9, r4
+ 80004a8: e7c4 b.n 8000434 <__udivmoddi4+0x288>
+ 80004aa: bf00 nop
+
+080004ac <__aeabi_idiv0>:
+ 80004ac: 4770 bx lr
+ 80004ae: bf00 nop
+
+080004b0 :
+/**
+ * @brief The application entry point.
+ * @retval int
+ */
+int main(void)
+{
+ 80004b0: b580 push {r7, lr}
+ 80004b2: b086 sub sp, #24
+ 80004b4: af02 add r7, sp, #8
+ /* USER CODE END 1 */
+
+ /* MCU Configuration--------------------------------------------------------*/
+
+ /* Reset of all peripherals, Initializes the Flash interface and the Systick. */
+ HAL_Init();
+ 80004b6: f000 f9be bl 8000836
+ /* USER CODE BEGIN Init */
+
+ /* USER CODE END Init */
+
+ /* Configure the system clock */
+ SystemClock_Config();
+ 80004ba: f000 f83b bl 8000534
+ /* USER CODE BEGIN SysInit */
+
+ /* USER CODE END SysInit */
+
+ /* Initialize all configured peripherals */
+ MX_GPIO_Init();
+ 80004be: f000 f8ad bl 800061c
+ MX_I2C1_Init();
+ 80004c2: f000 f87d bl 80005c0
+
+/* WHO_AM_I
+ uint8_t adress[1] = {0x0F};
+ uint8_t rData[1];
+*/
+ uint8_t adresse[1] = {0x2D} ;
+ 80004c6: 232d movs r3, #45 @ 0x2d
+ 80004c8: 733b strb r3, [r7, #12]
+ uint8_t rData[1];
+ uint8_t wData[1];
+ wData[0] = (1<<7);
+ 80004ca: 2380 movs r3, #128 @ 0x80
+ 80004cc: 713b strb r3, [r7, #4]
+ uint8_t data[2];
+ memcpy(data, adresse, 1);
+ 80004ce: 7b3b ldrb r3, [r7, #12]
+ 80004d0: 703b strb r3, [r7, #0]
+ memcpy(data+1, wData, 1);
+ 80004d2: 463b mov r3, r7
+ 80004d4: 3301 adds r3, #1
+ 80004d6: 793a ldrb r2, [r7, #4]
+ 80004d8: 701a strb r2, [r3, #0]
+ /* USER CODE BEGIN 3 */
+/* WHO_AM_I
+ HAL_I2C_Master_Transmit(&hi2c1, 0xD6, adress, 1, 100);
+ HAL_I2C_Master_Receive(&hi2c1, 0xD6, rData, 1, 100);
+*/
+ HAL_I2C_Master_Transmit(&hi2c1, 0xD6, adresse, 1, 100);
+ 80004da: f107 020c add.w r2, r7, #12
+ 80004de: 2364 movs r3, #100 @ 0x64
+ 80004e0: 9300 str r3, [sp, #0]
+ 80004e2: 2301 movs r3, #1
+ 80004e4: 21d6 movs r1, #214 @ 0xd6
+ 80004e6: 4811 ldr r0, [pc, #68] @ (800052c )
+ 80004e8: f000 fe06 bl 80010f8
+ HAL_I2C_Master_Receive(&hi2c1, 0xD6, rData, 1, 100);
+ 80004ec: f107 0208 add.w r2, r7, #8
+ 80004f0: 2364 movs r3, #100 @ 0x64
+ 80004f2: 9300 str r3, [sp, #0]
+ 80004f4: 2301 movs r3, #1
+ 80004f6: 21d6 movs r1, #214 @ 0xd6
+ 80004f8: 480c ldr r0, [pc, #48] @ (800052c )
+ 80004fa: f000 fefb bl 80012f4
+
+ if((rData[0]>=0) && (rData[0]<=128)){
+ 80004fe: 7a3b ldrb r3, [r7, #8]
+ 8000500: 2b80 cmp r3, #128 @ 0x80
+ 8000502: d806 bhi.n 8000512
+ GPIOA -> ODR |= (1<<5);
+ 8000504: 4b0a ldr r3, [pc, #40] @ (8000530 )
+ 8000506: 695b ldr r3, [r3, #20]
+ 8000508: 4a09 ldr r2, [pc, #36] @ (8000530 )
+ 800050a: f043 0320 orr.w r3, r3, #32
+ 800050e: 6153 str r3, [r2, #20]
+ 8000510: e008 b.n 8000524
+ } else if((rData[0]>128) && (rData[0]<=255)){
+ 8000512: 7a3b ldrb r3, [r7, #8]
+ 8000514: 2b80 cmp r3, #128 @ 0x80
+ 8000516: d905 bls.n 8000524
+ GPIOA -> ODR &= ~(1<<5);
+ 8000518: 4b05 ldr r3, [pc, #20] @ (8000530 )
+ 800051a: 695b ldr r3, [r3, #20]
+ 800051c: 4a04 ldr r2, [pc, #16] @ (8000530 )
+ 800051e: f023 0320 bic.w r3, r3, #32
+ 8000522: 6153 str r3, [r2, #20]
+ }
+
+ HAL_Delay(100);
+ 8000524: 2064 movs r0, #100 @ 0x64
+ 8000526: f000 f9f5 bl 8000914
+ HAL_I2C_Master_Transmit(&hi2c1, 0xD6, adresse, 1, 100);
+ 800052a: e7d6 b.n 80004da
+ 800052c: 20000028 .word 0x20000028
+ 8000530: 40020000 .word 0x40020000
+
+08000534 :
+/**
+ * @brief System Clock Configuration
+ * @retval None
+ */
+void SystemClock_Config(void)
+{
+ 8000534: b580 push {r7, lr}
+ 8000536: b092 sub sp, #72 @ 0x48
+ 8000538: af00 add r7, sp, #0
+ RCC_OscInitTypeDef RCC_OscInitStruct = {0};
+ 800053a: f107 0314 add.w r3, r7, #20
+ 800053e: 2234 movs r2, #52 @ 0x34
+ 8000540: 2100 movs r1, #0
+ 8000542: 4618 mov r0, r3
+ 8000544: f002 fa2e bl 80029a4
+ RCC_ClkInitTypeDef RCC_ClkInitStruct = {0};
+ 8000548: 463b mov r3, r7
+ 800054a: 2200 movs r2, #0
+ 800054c: 601a str r2, [r3, #0]
+ 800054e: 605a str r2, [r3, #4]
+ 8000550: 609a str r2, [r3, #8]
+ 8000552: 60da str r2, [r3, #12]
+ 8000554: 611a str r2, [r3, #16]
+
+ /** Configure the main internal regulator output voltage
+ */
+ __HAL_PWR_VOLTAGESCALING_CONFIG(PWR_REGULATOR_VOLTAGE_SCALE1);
+ 8000556: 4b19 ldr r3, [pc, #100] @ (80005bc )
+ 8000558: 681b ldr r3, [r3, #0]
+ 800055a: f423 53c0 bic.w r3, r3, #6144 @ 0x1800
+ 800055e: 4a17 ldr r2, [pc, #92] @ (80005bc )
+ 8000560: f443 6300 orr.w r3, r3, #2048 @ 0x800
+ 8000564: 6013 str r3, [r2, #0]
+
+ /** Initializes the RCC Oscillators according to the specified parameters
+ * in the RCC_OscInitTypeDef structure.
+ */
+ RCC_OscInitStruct.OscillatorType = RCC_OSCILLATORTYPE_HSI;
+ 8000566: 2302 movs r3, #2
+ 8000568: 617b str r3, [r7, #20]
+ RCC_OscInitStruct.HSIState = RCC_HSI_ON;
+ 800056a: 2301 movs r3, #1
+ 800056c: 623b str r3, [r7, #32]
+ RCC_OscInitStruct.HSICalibrationValue = RCC_HSICALIBRATION_DEFAULT;
+ 800056e: 2310 movs r3, #16
+ 8000570: 627b str r3, [r7, #36] @ 0x24
+ RCC_OscInitStruct.PLL.PLLState = RCC_PLL_NONE;
+ 8000572: 2300 movs r3, #0
+ 8000574: 63bb str r3, [r7, #56] @ 0x38
+ if (HAL_RCC_OscConfig(&RCC_OscInitStruct) != HAL_OK)
+ 8000576: f107 0314 add.w r3, r7, #20
+ 800057a: 4618 mov r0, r3
+ 800057c: f001 fc72 bl 8001e64
+ 8000580: 4603 mov r3, r0
+ 8000582: 2b00 cmp r3, #0
+ 8000584: d001 beq.n 800058a
+ {
+ Error_Handler();
+ 8000586: f000 f887 bl 8000698
+ }
+
+ /** Initializes the CPU, AHB and APB buses clocks
+ */
+ RCC_ClkInitStruct.ClockType = RCC_CLOCKTYPE_HCLK|RCC_CLOCKTYPE_SYSCLK
+ 800058a: 230f movs r3, #15
+ 800058c: 603b str r3, [r7, #0]
+ |RCC_CLOCKTYPE_PCLK1|RCC_CLOCKTYPE_PCLK2;
+ RCC_ClkInitStruct.SYSCLKSource = RCC_SYSCLKSOURCE_HSI;
+ 800058e: 2301 movs r3, #1
+ 8000590: 607b str r3, [r7, #4]
+ RCC_ClkInitStruct.AHBCLKDivider = RCC_SYSCLK_DIV1;
+ 8000592: 2300 movs r3, #0
+ 8000594: 60bb str r3, [r7, #8]
+ RCC_ClkInitStruct.APB1CLKDivider = RCC_HCLK_DIV1;
+ 8000596: 2300 movs r3, #0
+ 8000598: 60fb str r3, [r7, #12]
+ RCC_ClkInitStruct.APB2CLKDivider = RCC_HCLK_DIV1;
+ 800059a: 2300 movs r3, #0
+ 800059c: 613b str r3, [r7, #16]
+
+ if (HAL_RCC_ClockConfig(&RCC_ClkInitStruct, FLASH_LATENCY_0) != HAL_OK)
+ 800059e: 463b mov r3, r7
+ 80005a0: 2100 movs r1, #0
+ 80005a2: 4618 mov r0, r3
+ 80005a4: f001 ff8e bl 80024c4
+ 80005a8: 4603 mov r3, r0
+ 80005aa: 2b00 cmp r3, #0
+ 80005ac: d001 beq.n 80005b2
+ {
+ Error_Handler();
+ 80005ae: f000 f873 bl 8000698
+ }
+}
+ 80005b2: bf00 nop
+ 80005b4: 3748 adds r7, #72 @ 0x48
+ 80005b6: 46bd mov sp, r7
+ 80005b8: bd80 pop {r7, pc}
+ 80005ba: bf00 nop
+ 80005bc: 40007000 .word 0x40007000
+
+080005c0 :
+ * @brief I2C1 Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_I2C1_Init(void)
+{
+ 80005c0: b580 push {r7, lr}
+ 80005c2: af00 add r7, sp, #0
+ /* USER CODE END I2C1_Init 0 */
+
+ /* USER CODE BEGIN I2C1_Init 1 */
+
+ /* USER CODE END I2C1_Init 1 */
+ hi2c1.Instance = I2C1;
+ 80005c4: 4b12 ldr r3, [pc, #72] @ (8000610 )
+ 80005c6: 4a13 ldr r2, [pc, #76] @ (8000614 )
+ 80005c8: 601a str r2, [r3, #0]
+ hi2c1.Init.ClockSpeed = 100000;
+ 80005ca: 4b11 ldr r3, [pc, #68] @ (8000610 )
+ 80005cc: 4a12 ldr r2, [pc, #72] @ (8000618 )
+ 80005ce: 605a str r2, [r3, #4]
+ hi2c1.Init.DutyCycle = I2C_DUTYCYCLE_2;
+ 80005d0: 4b0f ldr r3, [pc, #60] @ (8000610 )
+ 80005d2: 2200 movs r2, #0
+ 80005d4: 609a str r2, [r3, #8]
+ hi2c1.Init.OwnAddress1 = 0;
+ 80005d6: 4b0e ldr r3, [pc, #56] @ (8000610 )
+ 80005d8: 2200 movs r2, #0
+ 80005da: 60da str r2, [r3, #12]
+ hi2c1.Init.AddressingMode = I2C_ADDRESSINGMODE_7BIT;
+ 80005dc: 4b0c ldr r3, [pc, #48] @ (8000610 )
+ 80005de: f44f 4280 mov.w r2, #16384 @ 0x4000
+ 80005e2: 611a str r2, [r3, #16]
+ hi2c1.Init.DualAddressMode = I2C_DUALADDRESS_DISABLE;
+ 80005e4: 4b0a ldr r3, [pc, #40] @ (8000610 )
+ 80005e6: 2200 movs r2, #0
+ 80005e8: 615a str r2, [r3, #20]
+ hi2c1.Init.OwnAddress2 = 0;
+ 80005ea: 4b09 ldr r3, [pc, #36] @ (8000610 )
+ 80005ec: 2200 movs r2, #0
+ 80005ee: 619a str r2, [r3, #24]
+ hi2c1.Init.GeneralCallMode = I2C_GENERALCALL_DISABLE;
+ 80005f0: 4b07 ldr r3, [pc, #28] @ (8000610 )
+ 80005f2: 2200 movs r2, #0
+ 80005f4: 61da str r2, [r3, #28]
+ hi2c1.Init.NoStretchMode = I2C_NOSTRETCH_DISABLE;
+ 80005f6: 4b06 ldr r3, [pc, #24] @ (8000610 )
+ 80005f8: 2200 movs r2, #0
+ 80005fa: 621a str r2, [r3, #32]
+ if (HAL_I2C_Init(&hi2c1) != HAL_OK)
+ 80005fc: 4804 ldr r0, [pc, #16] @ (8000610 )
+ 80005fe: f000 fc37 bl 8000e70
+ 8000602: 4603 mov r3, r0
+ 8000604: 2b00 cmp r3, #0
+ 8000606: d001 beq.n 800060c
+ {
+ Error_Handler();
+ 8000608: f000 f846 bl 8000698
+ }
+ /* USER CODE BEGIN I2C1_Init 2 */
+
+ /* USER CODE END I2C1_Init 2 */
+
+}
+ 800060c: bf00 nop
+ 800060e: bd80 pop {r7, pc}
+ 8000610: 20000028 .word 0x20000028
+ 8000614: 40005400 .word 0x40005400
+ 8000618: 000186a0 .word 0x000186a0
+
+0800061c :
+ * @brief GPIO Initialization Function
+ * @param None
+ * @retval None
+ */
+static void MX_GPIO_Init(void)
+{
+ 800061c: b580 push {r7, lr}
+ 800061e: b088 sub sp, #32
+ 8000620: af00 add r7, sp, #0
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ 8000622: f107 030c add.w r3, r7, #12
+ 8000626: 2200 movs r2, #0
+ 8000628: 601a str r2, [r3, #0]
+ 800062a: 605a str r2, [r3, #4]
+ 800062c: 609a str r2, [r3, #8]
+ 800062e: 60da str r2, [r3, #12]
+ 8000630: 611a str r2, [r3, #16]
+ /* USER CODE BEGIN MX_GPIO_Init_1 */
+
+ /* USER CODE END MX_GPIO_Init_1 */
+
+ /* GPIO Ports Clock Enable */
+ __HAL_RCC_GPIOA_CLK_ENABLE();
+ 8000632: 4b17 ldr r3, [pc, #92] @ (8000690 )
+ 8000634: 69db ldr r3, [r3, #28]
+ 8000636: 4a16 ldr r2, [pc, #88] @ (8000690 )
+ 8000638: f043 0301 orr.w r3, r3, #1
+ 800063c: 61d3 str r3, [r2, #28]
+ 800063e: 4b14 ldr r3, [pc, #80] @ (8000690 )
+ 8000640: 69db ldr r3, [r3, #28]
+ 8000642: f003 0301 and.w r3, r3, #1
+ 8000646: 60bb str r3, [r7, #8]
+ 8000648: 68bb ldr r3, [r7, #8]
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+ 800064a: 4b11 ldr r3, [pc, #68] @ (8000690 )
+ 800064c: 69db ldr r3, [r3, #28]
+ 800064e: 4a10 ldr r2, [pc, #64] @ (8000690 )
+ 8000650: f043 0302 orr.w r3, r3, #2
+ 8000654: 61d3 str r3, [r2, #28]
+ 8000656: 4b0e ldr r3, [pc, #56] @ (8000690 )
+ 8000658: 69db ldr r3, [r3, #28]
+ 800065a: f003 0302 and.w r3, r3, #2
+ 800065e: 607b str r3, [r7, #4]
+ 8000660: 687b ldr r3, [r7, #4]
+
+ /*Configure GPIO pin Output Level */
+ HAL_GPIO_WritePin(GPIOA, GPIO_PIN_5, GPIO_PIN_RESET);
+ 8000662: 2200 movs r2, #0
+ 8000664: 2120 movs r1, #32
+ 8000666: 480b ldr r0, [pc, #44] @ (8000694 )
+ 8000668: f000 fbea bl 8000e40
+
+ /*Configure GPIO pin : PA5 */
+ GPIO_InitStruct.Pin = GPIO_PIN_5;
+ 800066c: 2320 movs r3, #32
+ 800066e: 60fb str r3, [r7, #12]
+ GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP;
+ 8000670: 2301 movs r3, #1
+ 8000672: 613b str r3, [r7, #16]
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ 8000674: 2300 movs r3, #0
+ 8000676: 617b str r3, [r7, #20]
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW;
+ 8000678: 2300 movs r3, #0
+ 800067a: 61bb str r3, [r7, #24]
+ HAL_GPIO_Init(GPIOA, &GPIO_InitStruct);
+ 800067c: f107 030c add.w r3, r7, #12
+ 8000680: 4619 mov r1, r3
+ 8000682: 4804 ldr r0, [pc, #16] @ (8000694 )
+ 8000684: f000 fa4c bl 8000b20
+
+ /* USER CODE BEGIN MX_GPIO_Init_2 */
+
+ /* USER CODE END MX_GPIO_Init_2 */
+}
+ 8000688: bf00 nop
+ 800068a: 3720 adds r7, #32
+ 800068c: 46bd mov sp, r7
+ 800068e: bd80 pop {r7, pc}
+ 8000690: 40023800 .word 0x40023800
+ 8000694: 40020000 .word 0x40020000
+
+08000698 :
+/**
+ * @brief This function is executed in case of error occurrence.
+ * @retval None
+ */
+void Error_Handler(void)
+{
+ 8000698: b480 push {r7}
+ 800069a: af00 add r7, sp, #0
+ \details Disables IRQ interrupts by setting the I-bit in the CPSR.
+ Can only be executed in Privileged modes.
+ */
+__STATIC_FORCEINLINE void __disable_irq(void)
+{
+ __ASM volatile ("cpsid i" : : : "memory");
+ 800069c: b672 cpsid i
+}
+ 800069e: bf00 nop
+ /* USER CODE BEGIN Error_Handler_Debug */
+ /* User can add his own implementation to report the HAL error return state */
+ __disable_irq();
+ while (1)
+ 80006a0: bf00 nop
+ 80006a2: e7fd b.n 80006a0
+
+080006a4 :
+/* USER CODE END 0 */
+/**
+ * Initializes the Global MSP.
+ */
+void HAL_MspInit(void)
+{
+ 80006a4: b480 push {r7}
+ 80006a6: b085 sub sp, #20
+ 80006a8: af00 add r7, sp, #0
+
+ /* USER CODE BEGIN MspInit 0 */
+
+ /* USER CODE END MspInit 0 */
+
+ __HAL_RCC_COMP_CLK_ENABLE();
+ 80006aa: 4b14 ldr r3, [pc, #80] @ (80006fc )
+ 80006ac: 6a5b ldr r3, [r3, #36] @ 0x24
+ 80006ae: 4a13 ldr r2, [pc, #76] @ (80006fc )
+ 80006b0: f043 4300 orr.w r3, r3, #2147483648 @ 0x80000000
+ 80006b4: 6253 str r3, [r2, #36] @ 0x24
+ 80006b6: 4b11 ldr r3, [pc, #68] @ (80006fc )
+ 80006b8: 6a5b ldr r3, [r3, #36] @ 0x24
+ 80006ba: f003 4300 and.w r3, r3, #2147483648 @ 0x80000000
+ 80006be: 60fb str r3, [r7, #12]
+ 80006c0: 68fb ldr r3, [r7, #12]
+ __HAL_RCC_SYSCFG_CLK_ENABLE();
+ 80006c2: 4b0e ldr r3, [pc, #56] @ (80006fc )
+ 80006c4: 6a1b ldr r3, [r3, #32]
+ 80006c6: 4a0d ldr r2, [pc, #52] @ (80006fc )
+ 80006c8: f043 0301 orr.w r3, r3, #1
+ 80006cc: 6213 str r3, [r2, #32]
+ 80006ce: 4b0b ldr r3, [pc, #44] @ (80006fc )
+ 80006d0: 6a1b ldr r3, [r3, #32]
+ 80006d2: f003 0301 and.w r3, r3, #1
+ 80006d6: 60bb str r3, [r7, #8]
+ 80006d8: 68bb ldr r3, [r7, #8]
+ __HAL_RCC_PWR_CLK_ENABLE();
+ 80006da: 4b08 ldr r3, [pc, #32] @ (80006fc )
+ 80006dc: 6a5b ldr r3, [r3, #36] @ 0x24
+ 80006de: 4a07 ldr r2, [pc, #28] @ (80006fc )
+ 80006e0: f043 5380 orr.w r3, r3, #268435456 @ 0x10000000
+ 80006e4: 6253 str r3, [r2, #36] @ 0x24
+ 80006e6: 4b05 ldr r3, [pc, #20] @ (80006fc )
+ 80006e8: 6a5b ldr r3, [r3, #36] @ 0x24
+ 80006ea: f003 5380 and.w r3, r3, #268435456 @ 0x10000000
+ 80006ee: 607b str r3, [r7, #4]
+ 80006f0: 687b ldr r3, [r7, #4]
+ /* System interrupt init*/
+
+ /* USER CODE BEGIN MspInit 1 */
+
+ /* USER CODE END MspInit 1 */
+}
+ 80006f2: bf00 nop
+ 80006f4: 3714 adds r7, #20
+ 80006f6: 46bd mov sp, r7
+ 80006f8: bc80 pop {r7}
+ 80006fa: 4770 bx lr
+ 80006fc: 40023800 .word 0x40023800
+
+08000700 :
+ * This function configures the hardware resources used in this example
+ * @param hi2c: I2C handle pointer
+ * @retval None
+ */
+void HAL_I2C_MspInit(I2C_HandleTypeDef* hi2c)
+{
+ 8000700: b580 push {r7, lr}
+ 8000702: b08a sub sp, #40 @ 0x28
+ 8000704: af00 add r7, sp, #0
+ 8000706: 6078 str r0, [r7, #4]
+ GPIO_InitTypeDef GPIO_InitStruct = {0};
+ 8000708: f107 0314 add.w r3, r7, #20
+ 800070c: 2200 movs r2, #0
+ 800070e: 601a str r2, [r3, #0]
+ 8000710: 605a str r2, [r3, #4]
+ 8000712: 609a str r2, [r3, #8]
+ 8000714: 60da str r2, [r3, #12]
+ 8000716: 611a str r2, [r3, #16]
+ if(hi2c->Instance==I2C1)
+ 8000718: 687b ldr r3, [r7, #4]
+ 800071a: 681b ldr r3, [r3, #0]
+ 800071c: 4a17 ldr r2, [pc, #92] @ (800077c )
+ 800071e: 4293 cmp r3, r2
+ 8000720: d128 bne.n 8000774
+ {
+ /* USER CODE BEGIN I2C1_MspInit 0 */
+
+ /* USER CODE END I2C1_MspInit 0 */
+
+ __HAL_RCC_GPIOB_CLK_ENABLE();
+ 8000722: 4b17 ldr r3, [pc, #92] @ (8000780 )
+ 8000724: 69db ldr r3, [r3, #28]
+ 8000726: 4a16 ldr r2, [pc, #88] @ (8000780 )
+ 8000728: f043 0302 orr.w r3, r3, #2
+ 800072c: 61d3 str r3, [r2, #28]
+ 800072e: 4b14 ldr r3, [pc, #80] @ (8000780 )
+ 8000730: 69db ldr r3, [r3, #28]
+ 8000732: f003 0302 and.w r3, r3, #2
+ 8000736: 613b str r3, [r7, #16]
+ 8000738: 693b ldr r3, [r7, #16]
+ /**I2C1 GPIO Configuration
+ PB8 ------> I2C1_SCL
+ PB9 ------> I2C1_SDA
+ */
+ GPIO_InitStruct.Pin = GPIO_PIN_8|GPIO_PIN_9;
+ 800073a: f44f 7340 mov.w r3, #768 @ 0x300
+ 800073e: 617b str r3, [r7, #20]
+ GPIO_InitStruct.Mode = GPIO_MODE_AF_OD;
+ 8000740: 2312 movs r3, #18
+ 8000742: 61bb str r3, [r7, #24]
+ GPIO_InitStruct.Pull = GPIO_NOPULL;
+ 8000744: 2300 movs r3, #0
+ 8000746: 61fb str r3, [r7, #28]
+ GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_VERY_HIGH;
+ 8000748: 2303 movs r3, #3
+ 800074a: 623b str r3, [r7, #32]
+ GPIO_InitStruct.Alternate = GPIO_AF4_I2C1;
+ 800074c: 2304 movs r3, #4
+ 800074e: 627b str r3, [r7, #36] @ 0x24
+ HAL_GPIO_Init(GPIOB, &GPIO_InitStruct);
+ 8000750: f107 0314 add.w r3, r7, #20
+ 8000754: 4619 mov r1, r3
+ 8000756: 480b ldr r0, [pc, #44] @ (8000784 )
+ 8000758: f000 f9e2 bl 8000b20
+
+ /* Peripheral clock enable */
+ __HAL_RCC_I2C1_CLK_ENABLE();
+ 800075c: 4b08 ldr r3, [pc, #32] @ (8000780 )
+ 800075e: 6a5b ldr r3, [r3, #36] @ 0x24
+ 8000760: 4a07 ldr r2, [pc, #28] @ (8000780 )
+ 8000762: f443 1300 orr.w r3, r3, #2097152 @ 0x200000
+ 8000766: 6253 str r3, [r2, #36] @ 0x24
+ 8000768: 4b05 ldr r3, [pc, #20] @ (8000780 )
+ 800076a: 6a5b ldr r3, [r3, #36] @ 0x24
+ 800076c: f403 1300 and.w r3, r3, #2097152 @ 0x200000
+ 8000770: 60fb str r3, [r7, #12]
+ 8000772: 68fb ldr r3, [r7, #12]
+
+ /* USER CODE END I2C1_MspInit 1 */
+
+ }
+
+}
+ 8000774: bf00 nop
+ 8000776: 3728 adds r7, #40 @ 0x28
+ 8000778: 46bd mov sp, r7
+ 800077a: bd80 pop {r7, pc}
+ 800077c: 40005400 .word 0x40005400
+ 8000780: 40023800 .word 0x40023800
+ 8000784: 40020400 .word 0x40020400
+
+08000788 :
+/******************************************************************************/
+/**
+ * @brief This function handles Non maskable interrupt.
+ */
+void NMI_Handler(void)
+{
+ 8000788: b480 push {r7}
+ 800078a: af00 add r7, sp, #0
+ /* USER CODE BEGIN NonMaskableInt_IRQn 0 */
+
+ /* USER CODE END NonMaskableInt_IRQn 0 */
+ /* USER CODE BEGIN NonMaskableInt_IRQn 1 */
+ while (1)
+ 800078c: bf00 nop
+ 800078e: e7fd b.n 800078c
+
+08000790 :
+
+/**
+ * @brief This function handles Hard fault interrupt.
+ */
+void HardFault_Handler(void)
+{
+ 8000790: b480 push {r7}
+ 8000792: af00 add r7, sp, #0
+ /* USER CODE BEGIN HardFault_IRQn 0 */
+
+ /* USER CODE END HardFault_IRQn 0 */
+ while (1)
+ 8000794: bf00 nop
+ 8000796: e7fd b.n 8000794
+
+08000798 :
+
+/**
+ * @brief This function handles Memory management fault.
+ */
+void MemManage_Handler(void)
+{
+ 8000798: b480 push {r7}
+ 800079a: af00 add r7, sp, #0
+ /* USER CODE BEGIN MemoryManagement_IRQn 0 */
+
+ /* USER CODE END MemoryManagement_IRQn 0 */
+ while (1)
+ 800079c: bf00 nop
+ 800079e: e7fd b.n 800079c
+
+080007a0 :
+
+/**
+ * @brief This function handles Pre-fetch fault, memory access fault.
+ */
+void BusFault_Handler(void)
+{
+ 80007a0: b480 push {r7}
+ 80007a2: af00 add r7, sp, #0
+ /* USER CODE BEGIN BusFault_IRQn 0 */
+
+ /* USER CODE END BusFault_IRQn 0 */
+ while (1)
+ 80007a4: bf00 nop
+ 80007a6: e7fd b.n 80007a4
+
+080007a8 :
+
+/**
+ * @brief This function handles Undefined instruction or illegal state.
+ */
+void UsageFault_Handler(void)
+{
+ 80007a8: b480 push {r7}
+ 80007aa: af00 add r7, sp, #0
+ /* USER CODE BEGIN UsageFault_IRQn 0 */
+
+ /* USER CODE END UsageFault_IRQn 0 */
+ while (1)
+ 80007ac: bf00 nop
+ 80007ae: e7fd b.n 80007ac
+
+080007b0 :
+
+/**
+ * @brief This function handles System service call via SWI instruction.
+ */
+void SVC_Handler(void)
+{
+ 80007b0: b480 push {r7}
+ 80007b2: af00 add r7, sp, #0
+
+ /* USER CODE END SVC_IRQn 0 */
+ /* USER CODE BEGIN SVC_IRQn 1 */
+
+ /* USER CODE END SVC_IRQn 1 */
+}
+ 80007b4: bf00 nop
+ 80007b6: 46bd mov sp, r7
+ 80007b8: bc80 pop {r7}
+ 80007ba: 4770 bx lr
+
+080007bc :
+
+/**
+ * @brief This function handles Debug monitor.
+ */
+void DebugMon_Handler(void)
+{
+ 80007bc: b480 push {r7}
+ 80007be: af00 add r7, sp, #0
+
+ /* USER CODE END DebugMonitor_IRQn 0 */
+ /* USER CODE BEGIN DebugMonitor_IRQn 1 */
+
+ /* USER CODE END DebugMonitor_IRQn 1 */
+}
+ 80007c0: bf00 nop
+ 80007c2: 46bd mov sp, r7
+ 80007c4: bc80 pop {r7}
+ 80007c6: 4770 bx lr
+
+080007c8 :
+
+/**
+ * @brief This function handles Pendable request for system service.
+ */
+void PendSV_Handler(void)
+{
+ 80007c8: b480 push {r7}
+ 80007ca: af00 add r7, sp, #0
+
+ /* USER CODE END PendSV_IRQn 0 */
+ /* USER CODE BEGIN PendSV_IRQn 1 */
+
+ /* USER CODE END PendSV_IRQn 1 */
+}
+ 80007cc: bf00 nop
+ 80007ce: 46bd mov sp, r7
+ 80007d0: bc80 pop {r7}
+ 80007d2: 4770 bx lr
+
+080007d4 :
+
+/**
+ * @brief This function handles System tick timer.
+ */
+void SysTick_Handler(void)
+{
+ 80007d4: b580 push {r7, lr}
+ 80007d6: af00 add r7, sp, #0
+ /* USER CODE BEGIN SysTick_IRQn 0 */
+
+ /* USER CODE END SysTick_IRQn 0 */
+ HAL_IncTick();
+ 80007d8: f000 f880 bl 80008dc
+ /* USER CODE BEGIN SysTick_IRQn 1 */
+
+ /* USER CODE END SysTick_IRQn 1 */
+}
+ 80007dc: bf00 nop
+ 80007de: bd80 pop {r7, pc}
+
+080007e0 :
+ * SystemCoreClock variable.
+ * @param None
+ * @retval None
+ */
+void SystemInit (void)
+{
+ 80007e0: b480 push {r7}
+ 80007e2: af00 add r7, sp, #0
+
+ /* Configure the Vector Table location -------------------------------------*/
+#if defined(USER_VECT_TAB_ADDRESS)
+ SCB->VTOR = VECT_TAB_BASE_ADDRESS | VECT_TAB_OFFSET; /* Vector Table Relocation in Internal SRAM. */
+#endif /* USER_VECT_TAB_ADDRESS */
+}
+ 80007e4: bf00 nop
+ 80007e6: 46bd mov sp, r7
+ 80007e8: bc80 pop {r7}
+ 80007ea: 4770 bx lr
+
+080007ec :
+ .type Reset_Handler, %function
+Reset_Handler:
+
+
+/* Call the clock system initialization function.*/
+ bl SystemInit
+ 80007ec: f7ff fff8 bl 80007e0
+
+/* Copy the data segment initializers from flash to SRAM */
+ ldr r0, =_sdata
+ 80007f0: 480b ldr r0, [pc, #44] @ (8000820 )
+ ldr r1, =_edata
+ 80007f2: 490c ldr r1, [pc, #48] @ (8000824 )
+ ldr r2, =_sidata
+ 80007f4: 4a0c ldr r2, [pc, #48] @ (8000828 )
+ movs r3, #0
+ 80007f6: 2300 movs r3, #0
+ b LoopCopyDataInit
+ 80007f8: e002 b.n 8000800
+
+080007fa :
+
+CopyDataInit:
+ ldr r4, [r2, r3]
+ 80007fa: 58d4 ldr r4, [r2, r3]
+ str r4, [r0, r3]
+ 80007fc: 50c4 str r4, [r0, r3]
+ adds r3, r3, #4
+ 80007fe: 3304 adds r3, #4
+
+08000800 :
+
+LoopCopyDataInit:
+ adds r4, r0, r3
+ 8000800: 18c4 adds r4, r0, r3
+ cmp r4, r1
+ 8000802: 428c cmp r4, r1
+ bcc CopyDataInit
+ 8000804: d3f9 bcc.n 80007fa
+
+/* Zero fill the bss segment. */
+ ldr r2, =_sbss
+ 8000806: 4a09 ldr r2, [pc, #36] @ (800082c )
+ ldr r4, =_ebss
+ 8000808: 4c09 ldr r4, [pc, #36] @ (8000830 )
+ movs r3, #0
+ 800080a: 2300 movs r3, #0
+ b LoopFillZerobss
+ 800080c: e001 b.n 8000812
+
+0800080e :
+
+FillZerobss:
+ str r3, [r2]
+ 800080e: 6013 str r3, [r2, #0]
+ adds r2, r2, #4
+ 8000810: 3204 adds r2, #4
+
+08000812 :
+
+LoopFillZerobss:
+ cmp r2, r4
+ 8000812: 42a2 cmp r2, r4
+ bcc FillZerobss
+ 8000814: d3fb bcc.n 800080e
+
+/* Call static constructors */
+ bl __libc_init_array
+ 8000816: f002 f8cd bl 80029b4 <__libc_init_array>
+/* Call the application's entry point.*/
+ bl main
+ 800081a: f7ff fe49 bl 80004b0
+ bx lr
+ 800081e: 4770 bx lr
+ ldr r0, =_sdata
+ 8000820: 20000000 .word 0x20000000
+ ldr r1, =_edata
+ 8000824: 2000000c .word 0x2000000c
+ ldr r2, =_sidata
+ 8000828: 08002a48 .word 0x08002a48
+ ldr r2, =_sbss
+ 800082c: 2000000c .word 0x2000000c
+ ldr r4, =_ebss
+ 8000830: 20000080 .word 0x20000080
+
+08000834 :
+ * @retval : None
+*/
+ .section .text.Default_Handler,"ax",%progbits
+Default_Handler:
+Infinite_Loop:
+ b Infinite_Loop
+ 8000834: e7fe b.n 8000834
+
+08000836 :
+ * In the default implementation,Systick is used as source of time base.
+ * the tick variable is incremented each 1ms in its ISR.
+ * @retval HAL status
+ */
+HAL_StatusTypeDef HAL_Init(void)
+{
+ 8000836: b580 push {r7, lr}
+ 8000838: b082 sub sp, #8
+ 800083a: af00 add r7, sp, #0
+ HAL_StatusTypeDef status = HAL_OK;
+ 800083c: 2300 movs r3, #0
+ 800083e: 71fb strb r3, [r7, #7]
+#if (PREFETCH_ENABLE != 0)
+ __HAL_FLASH_PREFETCH_BUFFER_ENABLE();
+#endif /* PREFETCH_ENABLE */
+
+ /* Set Interrupt Group Priority */
+ HAL_NVIC_SetPriorityGrouping(NVIC_PRIORITYGROUP_4);
+ 8000840: 2003 movs r0, #3
+ 8000842: f000 f939 bl 8000ab8
+
+ /* Use systick as time base source and configure 1ms tick (default clock after Reset is MSI) */
+ if (HAL_InitTick(TICK_INT_PRIORITY) != HAL_OK)
+ 8000846: 200f movs r0, #15
+ 8000848: f000 f80e bl 8000868
+ 800084c: 4603 mov r3, r0
+ 800084e: 2b00 cmp r3, #0
+ 8000850: d002 beq.n 8000858
+ {
+ status = HAL_ERROR;
+ 8000852: 2301 movs r3, #1
+ 8000854: 71fb strb r3, [r7, #7]
+ 8000856: e001 b.n 800085c
+ }
+ else
+ {
+ /* Init the low level hardware */
+ HAL_MspInit();
+ 8000858: f7ff ff24 bl 80006a4
+ }
+
+ /* Return function status */
+ return status;
+ 800085c: 79fb ldrb r3, [r7, #7]
+}
+ 800085e: 4618 mov r0, r3
+ 8000860: 3708 adds r7, #8
+ 8000862: 46bd mov sp, r7
+ 8000864: bd80 pop {r7, pc}
+ ...
+
+08000868 :
+ * implementation in user file.
+ * @param TickPriority Tick interrupt priority.
+ * @retval HAL status
+ */
+__weak HAL_StatusTypeDef HAL_InitTick(uint32_t TickPriority)
+{
+ 8000868: b580 push {r7, lr}
+ 800086a: b084 sub sp, #16
+ 800086c: af00 add r7, sp, #0
+ 800086e: 6078 str r0, [r7, #4]
+ HAL_StatusTypeDef status = HAL_OK;
+ 8000870: 2300 movs r3, #0
+ 8000872: 73fb strb r3, [r7, #15]
+
+ if (uwTickFreq != 0U)
+ 8000874: 4b16 ldr r3, [pc, #88] @ (80008d0 )
+ 8000876: 681b ldr r3, [r3, #0]
+ 8000878: 2b00 cmp r3, #0
+ 800087a: d022 beq.n 80008c2
+ {
+ /*Configure the SysTick to have interrupt in 1ms time basis*/
+ if (HAL_SYSTICK_Config(SystemCoreClock / (1000U / uwTickFreq)) == 0U)
+ 800087c: 4b15 ldr r3, [pc, #84] @ (80008d4 )
+ 800087e: 681a ldr r2, [r3, #0]
+ 8000880: 4b13 ldr r3, [pc, #76] @ (80008d0 )
+ 8000882: 681b ldr r3, [r3, #0]
+ 8000884: f44f 717a mov.w r1, #1000 @ 0x3e8
+ 8000888: fbb1 f3f3 udiv r3, r1, r3
+ 800088c: fbb2 f3f3 udiv r3, r2, r3
+ 8000890: 4618 mov r0, r3
+ 8000892: f000 f938 bl 8000b06
+ 8000896: 4603 mov r3, r0
+ 8000898: 2b00 cmp r3, #0
+ 800089a: d10f bne.n 80008bc
+ {
+ /* Configure the SysTick IRQ priority */
+ if (TickPriority < (1UL << __NVIC_PRIO_BITS))
+ 800089c: 687b ldr r3, [r7, #4]
+ 800089e: 2b0f cmp r3, #15
+ 80008a0: d809 bhi.n 80008b6
+ {
+ HAL_NVIC_SetPriority(SysTick_IRQn, TickPriority, 0U);
+ 80008a2: 2200 movs r2, #0
+ 80008a4: 6879 ldr r1, [r7, #4]
+ 80008a6: f04f 30ff mov.w r0, #4294967295 @ 0xffffffff
+ 80008aa: f000 f910 bl 8000ace
+ uwTickPrio = TickPriority;
+ 80008ae: 4a0a ldr r2, [pc, #40] @ (80008d8 )
+ 80008b0: 687b ldr r3, [r7, #4]
+ 80008b2: 6013 str r3, [r2, #0]
+ 80008b4: e007 b.n 80008c6
+ }
+ else
+ {
+ status = HAL_ERROR;
+ 80008b6: 2301 movs r3, #1
+ 80008b8: 73fb strb r3, [r7, #15]
+ 80008ba: e004 b.n 80008c6
+ }
+ }
+ else
+ {
+ status = HAL_ERROR;
+ 80008bc: 2301 movs r3, #1
+ 80008be: 73fb strb r3, [r7, #15]
+ 80008c0: e001 b.n 80008c6
+ }
+ }
+ else
+ {
+ status = HAL_ERROR;
+ 80008c2: 2301 movs r3, #1
+ 80008c4: 73fb strb r3, [r7, #15]
+ }
+
+ /* Return function status */
+ return status;
+ 80008c6: 7bfb ldrb r3, [r7, #15]
+}
+ 80008c8: 4618 mov r0, r3
+ 80008ca: 3710 adds r7, #16
+ 80008cc: 46bd mov sp, r7
+ 80008ce: bd80 pop {r7, pc}
+ 80008d0: 20000008 .word 0x20000008
+ 80008d4: 20000000 .word 0x20000000
+ 80008d8: 20000004 .word 0x20000004
+
+080008dc :
+ * @note This function is declared as __weak to be overwritten in case of other
+ * implementations in user file.
+ * @retval None
+ */
+__weak void HAL_IncTick(void)
+{
+ 80008dc: b480 push {r7}
+ 80008de: af00 add r7, sp, #0
+ uwTick += uwTickFreq;
+ 80008e0: 4b05 ldr r3, [pc, #20] @ (80008f8 )
+ 80008e2: 681a ldr r2, [r3, #0]
+ 80008e4: 4b05 ldr r3, [pc, #20] @ (80008fc )
+ 80008e6: 681b ldr r3, [r3, #0]
+ 80008e8: 4413 add r3, r2
+ 80008ea: 4a03 ldr r2, [pc, #12] @ (80008f8 )
+ 80008ec: 6013 str r3, [r2, #0]
+}
+ 80008ee: bf00 nop
+ 80008f0: 46bd mov sp, r7
+ 80008f2: bc80 pop {r7}
+ 80008f4: 4770 bx lr
+ 80008f6: bf00 nop
+ 80008f8: 2000007c .word 0x2000007c
+ 80008fc: 20000008 .word 0x20000008
+
+08000900 :
+ * @note This function is declared as __weak to be overwritten in case of other
+ * implementations in user file.
+ * @retval tick value
+ */
+__weak uint32_t HAL_GetTick(void)
+{
+ 8000900: b480 push {r7}
+ 8000902: af00 add r7, sp, #0
+ return uwTick;
+ 8000904: 4b02 ldr r3, [pc, #8] @ (8000910 )
+ 8000906: 681b ldr r3, [r3, #0]
+}
+ 8000908: 4618 mov r0, r3
+ 800090a: 46bd mov sp, r7
+ 800090c: bc80 pop {r7}
+ 800090e: 4770 bx lr
+ 8000910: 2000007c .word 0x2000007c
+
+08000914 :
+ * implementations in user file.
+ * @param Delay specifies the delay time length, in milliseconds.
+ * @retval None
+ */
+__weak void HAL_Delay(uint32_t Delay)
+{
+ 8000914: b580 push {r7, lr}
+ 8000916: b084 sub sp, #16
+ 8000918: af00 add r7, sp, #0
+ 800091a: 6078 str r0, [r7, #4]
+ uint32_t tickstart = HAL_GetTick();
+ 800091c: f7ff fff0 bl 8000900
+ 8000920: 60b8 str r0, [r7, #8]
+ uint32_t wait = Delay;
+ 8000922: 687b ldr r3, [r7, #4]
+ 8000924: 60fb str r3, [r7, #12]
+
+ /* Add a period to guaranty minimum wait */
+ if (wait < HAL_MAX_DELAY)
+ 8000926: 68fb ldr r3, [r7, #12]
+ 8000928: f1b3 3fff cmp.w r3, #4294967295 @ 0xffffffff
+ 800092c: d004 beq.n 8000938
+ {
+ wait += (uint32_t)(uwTickFreq);
+ 800092e: 4b09 ldr r3, [pc, #36] @ (8000954 )
+ 8000930: 681b ldr r3, [r3, #0]
+ 8000932: 68fa ldr r2, [r7, #12]
+ 8000934: 4413 add r3, r2
+ 8000936: 60fb str r3, [r7, #12]
+ }
+
+ while((HAL_GetTick() - tickstart) < wait)
+ 8000938: bf00 nop
+ 800093a: f7ff ffe1 bl 8000900
+ 800093e: 4602 mov r2, r0
+ 8000940: 68bb ldr r3, [r7, #8]
+ 8000942: 1ad3 subs r3, r2, r3
+ 8000944: 68fa ldr r2, [r7, #12]
+ 8000946: 429a cmp r2, r3
+ 8000948: d8f7 bhi.n 800093a
+ {
+ }
+}
+ 800094a: bf00 nop
+ 800094c: bf00 nop
+ 800094e: 3710 adds r7, #16
+ 8000950: 46bd mov sp, r7
+ 8000952: bd80 pop {r7, pc}
+ 8000954: 20000008 .word 0x20000008
+
+08000958 <__NVIC_SetPriorityGrouping>:
+ In case of a conflict between priority grouping and available
+ priority bits (__NVIC_PRIO_BITS), the smallest possible priority group is set.
+ \param [in] PriorityGroup Priority grouping field.
+ */
+__STATIC_INLINE void __NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
+{
+ 8000958: b480 push {r7}
+ 800095a: b085 sub sp, #20
+ 800095c: af00 add r7, sp, #0
+ 800095e: 6078 str r0, [r7, #4]
+ uint32_t reg_value;
+ uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
+ 8000960: 687b ldr r3, [r7, #4]
+ 8000962: f003 0307 and.w r3, r3, #7
+ 8000966: 60fb str r3, [r7, #12]
+
+ reg_value = SCB->AIRCR; /* read old register configuration */
+ 8000968: 4b0c ldr r3, [pc, #48] @ (800099c <__NVIC_SetPriorityGrouping+0x44>)
+ 800096a: 68db ldr r3, [r3, #12]
+ 800096c: 60bb str r3, [r7, #8]
+ reg_value &= ~((uint32_t)(SCB_AIRCR_VECTKEY_Msk | SCB_AIRCR_PRIGROUP_Msk)); /* clear bits to change */
+ 800096e: 68ba ldr r2, [r7, #8]
+ 8000970: f64f 03ff movw r3, #63743 @ 0xf8ff
+ 8000974: 4013 ands r3, r2
+ 8000976: 60bb str r3, [r7, #8]
+ reg_value = (reg_value |
+ ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
+ (PriorityGroupTmp << SCB_AIRCR_PRIGROUP_Pos) ); /* Insert write key and priority group */
+ 8000978: 68fb ldr r3, [r7, #12]
+ 800097a: 021a lsls r2, r3, #8
+ ((uint32_t)0x5FAUL << SCB_AIRCR_VECTKEY_Pos) |
+ 800097c: 68bb ldr r3, [r7, #8]
+ 800097e: 4313 orrs r3, r2
+ reg_value = (reg_value |
+ 8000980: f043 63bf orr.w r3, r3, #100139008 @ 0x5f80000
+ 8000984: f443 3300 orr.w r3, r3, #131072 @ 0x20000
+ 8000988: 60bb str r3, [r7, #8]
+ SCB->AIRCR = reg_value;
+ 800098a: 4a04 ldr r2, [pc, #16] @ (800099c <__NVIC_SetPriorityGrouping+0x44>)
+ 800098c: 68bb ldr r3, [r7, #8]
+ 800098e: 60d3 str r3, [r2, #12]
+}
+ 8000990: bf00 nop
+ 8000992: 3714 adds r7, #20
+ 8000994: 46bd mov sp, r7
+ 8000996: bc80 pop {r7}
+ 8000998: 4770 bx lr
+ 800099a: bf00 nop
+ 800099c: e000ed00 .word 0xe000ed00
+
+080009a0 <__NVIC_GetPriorityGrouping>:
+ \brief Get Priority Grouping
+ \details Reads the priority grouping field from the NVIC Interrupt Controller.
+ \return Priority grouping field (SCB->AIRCR [10:8] PRIGROUP field).
+ */
+__STATIC_INLINE uint32_t __NVIC_GetPriorityGrouping(void)
+{
+ 80009a0: b480 push {r7}
+ 80009a2: af00 add r7, sp, #0
+ return ((uint32_t)((SCB->AIRCR & SCB_AIRCR_PRIGROUP_Msk) >> SCB_AIRCR_PRIGROUP_Pos));
+ 80009a4: 4b04 ldr r3, [pc, #16] @ (80009b8 <__NVIC_GetPriorityGrouping+0x18>)
+ 80009a6: 68db ldr r3, [r3, #12]
+ 80009a8: 0a1b lsrs r3, r3, #8
+ 80009aa: f003 0307 and.w r3, r3, #7
+}
+ 80009ae: 4618 mov r0, r3
+ 80009b0: 46bd mov sp, r7
+ 80009b2: bc80 pop {r7}
+ 80009b4: 4770 bx lr
+ 80009b6: bf00 nop
+ 80009b8: e000ed00 .word 0xe000ed00
+
+080009bc <__NVIC_SetPriority>:
+ \param [in] IRQn Interrupt number.
+ \param [in] priority Priority to set.
+ \note The priority cannot be set for every processor exception.
+ */
+__STATIC_INLINE void __NVIC_SetPriority(IRQn_Type IRQn, uint32_t priority)
+{
+ 80009bc: b480 push {r7}
+ 80009be: b083 sub sp, #12
+ 80009c0: af00 add r7, sp, #0
+ 80009c2: 4603 mov r3, r0
+ 80009c4: 6039 str r1, [r7, #0]
+ 80009c6: 71fb strb r3, [r7, #7]
+ if ((int32_t)(IRQn) >= 0)
+ 80009c8: f997 3007 ldrsb.w r3, [r7, #7]
+ 80009cc: 2b00 cmp r3, #0
+ 80009ce: db0a blt.n 80009e6 <__NVIC_SetPriority+0x2a>
+ {
+ NVIC->IP[((uint32_t)IRQn)] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
+ 80009d0: 683b ldr r3, [r7, #0]
+ 80009d2: b2da uxtb r2, r3
+ 80009d4: 490c ldr r1, [pc, #48] @ (8000a08 <__NVIC_SetPriority+0x4c>)
+ 80009d6: f997 3007 ldrsb.w r3, [r7, #7]
+ 80009da: 0112 lsls r2, r2, #4
+ 80009dc: b2d2 uxtb r2, r2
+ 80009de: 440b add r3, r1
+ 80009e0: f883 2300 strb.w r2, [r3, #768] @ 0x300
+ }
+ else
+ {
+ SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
+ }
+}
+ 80009e4: e00a b.n 80009fc <__NVIC_SetPriority+0x40>
+ SCB->SHP[(((uint32_t)IRQn) & 0xFUL)-4UL] = (uint8_t)((priority << (8U - __NVIC_PRIO_BITS)) & (uint32_t)0xFFUL);
+ 80009e6: 683b ldr r3, [r7, #0]
+ 80009e8: b2da uxtb r2, r3
+ 80009ea: 4908 ldr r1, [pc, #32] @ (8000a0c <__NVIC_SetPriority+0x50>)
+ 80009ec: 79fb ldrb r3, [r7, #7]
+ 80009ee: f003 030f and.w r3, r3, #15
+ 80009f2: 3b04 subs r3, #4
+ 80009f4: 0112 lsls r2, r2, #4
+ 80009f6: b2d2 uxtb r2, r2
+ 80009f8: 440b add r3, r1
+ 80009fa: 761a strb r2, [r3, #24]
+}
+ 80009fc: bf00 nop
+ 80009fe: 370c adds r7, #12
+ 8000a00: 46bd mov sp, r7
+ 8000a02: bc80 pop {r7}
+ 8000a04: 4770 bx lr
+ 8000a06: bf00 nop
+ 8000a08: e000e100 .word 0xe000e100
+ 8000a0c: e000ed00 .word 0xe000ed00
+
+08000a10 :
+ \param [in] PreemptPriority Preemptive priority value (starting from 0).
+ \param [in] SubPriority Subpriority value (starting from 0).
+ \return Encoded priority. Value can be used in the function \ref NVIC_SetPriority().
+ */
+__STATIC_INLINE uint32_t NVIC_EncodePriority (uint32_t PriorityGroup, uint32_t PreemptPriority, uint32_t SubPriority)
+{
+ 8000a10: b480 push {r7}
+ 8000a12: b089 sub sp, #36 @ 0x24
+ 8000a14: af00 add r7, sp, #0
+ 8000a16: 60f8 str r0, [r7, #12]
+ 8000a18: 60b9 str r1, [r7, #8]
+ 8000a1a: 607a str r2, [r7, #4]
+ uint32_t PriorityGroupTmp = (PriorityGroup & (uint32_t)0x07UL); /* only values 0..7 are used */
+ 8000a1c: 68fb ldr r3, [r7, #12]
+ 8000a1e: f003 0307 and.w r3, r3, #7
+ 8000a22: 61fb str r3, [r7, #28]
+ uint32_t PreemptPriorityBits;
+ uint32_t SubPriorityBits;
+
+ PreemptPriorityBits = ((7UL - PriorityGroupTmp) > (uint32_t)(__NVIC_PRIO_BITS)) ? (uint32_t)(__NVIC_PRIO_BITS) : (uint32_t)(7UL - PriorityGroupTmp);
+ 8000a24: 69fb ldr r3, [r7, #28]
+ 8000a26: f1c3 0307 rsb r3, r3, #7
+ 8000a2a: 2b04 cmp r3, #4
+ 8000a2c: bf28 it cs
+ 8000a2e: 2304 movcs r3, #4
+ 8000a30: 61bb str r3, [r7, #24]
+ SubPriorityBits = ((PriorityGroupTmp + (uint32_t)(__NVIC_PRIO_BITS)) < (uint32_t)7UL) ? (uint32_t)0UL : (uint32_t)((PriorityGroupTmp - 7UL) + (uint32_t)(__NVIC_PRIO_BITS));
+ 8000a32: 69fb ldr r3, [r7, #28]
+ 8000a34: 3304 adds r3, #4
+ 8000a36: 2b06 cmp r3, #6
+ 8000a38: d902 bls.n 8000a40
+ 8000a3a: 69fb ldr r3, [r7, #28]
+ 8000a3c: 3b03 subs r3, #3
+ 8000a3e: e000 b.n 8000a42
+ 8000a40: 2300 movs r3, #0
+ 8000a42: 617b str r3, [r7, #20]
+
+ return (
+ ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
+ 8000a44: f04f 32ff mov.w r2, #4294967295 @ 0xffffffff
+ 8000a48: 69bb ldr r3, [r7, #24]
+ 8000a4a: fa02 f303 lsl.w r3, r2, r3
+ 8000a4e: 43da mvns r2, r3
+ 8000a50: 68bb ldr r3, [r7, #8]
+ 8000a52: 401a ands r2, r3
+ 8000a54: 697b ldr r3, [r7, #20]
+ 8000a56: 409a lsls r2, r3
+ ((SubPriority & (uint32_t)((1UL << (SubPriorityBits )) - 1UL)))
+ 8000a58: f04f 31ff mov.w r1, #4294967295 @ 0xffffffff
+ 8000a5c: 697b ldr r3, [r7, #20]
+ 8000a5e: fa01 f303 lsl.w r3, r1, r3
+ 8000a62: 43d9 mvns r1, r3
+ 8000a64: 687b ldr r3, [r7, #4]
+ 8000a66: 400b ands r3, r1
+ ((PreemptPriority & (uint32_t)((1UL << (PreemptPriorityBits)) - 1UL)) << SubPriorityBits) |
+ 8000a68: 4313 orrs r3, r2
+ );
+}
+ 8000a6a: 4618 mov r0, r3
+ 8000a6c: 3724 adds r7, #36 @ 0x24
+ 8000a6e: 46bd mov sp, r7
+ 8000a70: bc80 pop {r7}
+ 8000a72: 4770 bx lr
+
+08000a74 :
+ \note When the variable __Vendor_SysTickConfig is set to 1, then the
+ function SysTick_Config is not included. In this case, the file device.h
+ must contain a vendor-specific implementation of this function.
+ */
+__STATIC_INLINE uint32_t SysTick_Config(uint32_t ticks)
+{
+ 8000a74: b580 push {r7, lr}
+ 8000a76: b082 sub sp, #8
+ 8000a78: af00 add r7, sp, #0
+ 8000a7a: 6078 str r0, [r7, #4]
+ if ((ticks - 1UL) > SysTick_LOAD_RELOAD_Msk)
+ 8000a7c: 687b ldr r3, [r7, #4]
+ 8000a7e: 3b01 subs r3, #1
+ 8000a80: f1b3 7f80 cmp.w r3, #16777216 @ 0x1000000
+ 8000a84: d301 bcc.n 8000a8a
+ {
+ return (1UL); /* Reload value impossible */
+ 8000a86: 2301 movs r3, #1
+ 8000a88: e00f b.n 8000aaa
+ }
+
+ SysTick->LOAD = (uint32_t)(ticks - 1UL); /* set reload register */
+ 8000a8a: 4a0a ldr r2, [pc, #40] @ (8000ab4 )
+ 8000a8c: 687b ldr r3, [r7, #4]
+ 8000a8e: 3b01 subs r3, #1
+ 8000a90: 6053 str r3, [r2, #4]
+ NVIC_SetPriority (SysTick_IRQn, (1UL << __NVIC_PRIO_BITS) - 1UL); /* set Priority for Systick Interrupt */
+ 8000a92: 210f movs r1, #15
+ 8000a94: f04f 30ff mov.w r0, #4294967295 @ 0xffffffff
+ 8000a98: f7ff ff90 bl 80009bc <__NVIC_SetPriority>
+ SysTick->VAL = 0UL; /* Load the SysTick Counter Value */
+ 8000a9c: 4b05 ldr r3, [pc, #20] @ (8000ab4 )
+ 8000a9e: 2200 movs r2, #0
+ 8000aa0: 609a str r2, [r3, #8]
+ SysTick->CTRL = SysTick_CTRL_CLKSOURCE_Msk |
+ 8000aa2: 4b04 ldr r3, [pc, #16] @ (8000ab4 )
+ 8000aa4: 2207 movs r2, #7
+ 8000aa6: 601a str r2, [r3, #0]
+ SysTick_CTRL_TICKINT_Msk |
+ SysTick_CTRL_ENABLE_Msk; /* Enable SysTick IRQ and SysTick Timer */
+ return (0UL); /* Function successful */
+ 8000aa8: 2300 movs r3, #0
+}
+ 8000aaa: 4618 mov r0, r3
+ 8000aac: 3708 adds r7, #8
+ 8000aae: 46bd mov sp, r7
+ 8000ab0: bd80 pop {r7, pc}
+ 8000ab2: bf00 nop
+ 8000ab4: e000e010 .word 0xe000e010
+
+08000ab8 :
+ * @note When the NVIC_PriorityGroup_0 is selected, IRQ pre-emption is no more possible.
+ * The pending IRQ priority will be managed only by the subpriority.
+ * @retval None
+ */
+void HAL_NVIC_SetPriorityGrouping(uint32_t PriorityGroup)
+{
+ 8000ab8: b580 push {r7, lr}
+ 8000aba: b082 sub sp, #8
+ 8000abc: af00 add r7, sp, #0
+ 8000abe: 6078 str r0, [r7, #4]
+ /* Check the parameters */
+ assert_param(IS_NVIC_PRIORITY_GROUP(PriorityGroup));
+
+ /* Set the PRIGROUP[10:8] bits according to the PriorityGroup parameter value */
+ NVIC_SetPriorityGrouping(PriorityGroup);
+ 8000ac0: 6878 ldr r0, [r7, #4]
+ 8000ac2: f7ff ff49 bl 8000958 <__NVIC_SetPriorityGrouping>
+}
+ 8000ac6: bf00 nop
+ 8000ac8: 3708 adds r7, #8
+ 8000aca: 46bd mov sp, r7
+ 8000acc: bd80 pop {r7, pc}
+
+08000ace :
+ * This parameter can be a value between 0 and 15
+ * A lower priority value indicates a higher priority.
+ * @retval None
+ */
+void HAL_NVIC_SetPriority(IRQn_Type IRQn, uint32_t PreemptPriority, uint32_t SubPriority)
+{
+ 8000ace: b580 push {r7, lr}
+ 8000ad0: b086 sub sp, #24
+ 8000ad2: af00 add r7, sp, #0
+ 8000ad4: 4603 mov r3, r0
+ 8000ad6: 60b9 str r1, [r7, #8]
+ 8000ad8: 607a str r2, [r7, #4]
+ 8000ada: 73fb strb r3, [r7, #15]
+ uint32_t prioritygroup = 0x00;
+ 8000adc: 2300 movs r3, #0
+ 8000ade: 617b str r3, [r7, #20]
+
+ /* Check the parameters */
+ assert_param(IS_NVIC_SUB_PRIORITY(SubPriority));
+ assert_param(IS_NVIC_PREEMPTION_PRIORITY(PreemptPriority));
+
+ prioritygroup = NVIC_GetPriorityGrouping();
+ 8000ae0: f7ff ff5e bl 80009a0 <__NVIC_GetPriorityGrouping>
+ 8000ae4: 6178 str r0, [r7, #20]
+
+ NVIC_SetPriority(IRQn, NVIC_EncodePriority(prioritygroup, PreemptPriority, SubPriority));
+ 8000ae6: 687a ldr r2, [r7, #4]
+ 8000ae8: 68b9 ldr r1, [r7, #8]
+ 8000aea: 6978 ldr r0, [r7, #20]
+ 8000aec: f7ff ff90 bl 8000a10
+ 8000af0: 4602 mov r2, r0
+ 8000af2: f997 300f ldrsb.w r3, [r7, #15]
+ 8000af6: 4611 mov r1, r2
+ 8000af8: 4618 mov r0, r3
+ 8000afa: f7ff ff5f bl 80009bc <__NVIC_SetPriority>
+}
+ 8000afe: bf00 nop
+ 8000b00: 3718 adds r7, #24
+ 8000b02: 46bd mov sp, r7
+ 8000b04: bd80 pop {r7, pc}
+
+08000b06 :
+ * @param TicksNumb Specifies the ticks Number of ticks between two interrupts.
+ * @retval status: - 0 Function succeeded.
+ * - 1 Function failed.
+ */
+uint32_t HAL_SYSTICK_Config(uint32_t TicksNumb)
+{
+ 8000b06: b580 push {r7, lr}
+ 8000b08: b082 sub sp, #8
+ 8000b0a: af00 add r7, sp, #0
+ 8000b0c: 6078 str r0, [r7, #4]
+ return SysTick_Config(TicksNumb);
+ 8000b0e: 6878 ldr r0, [r7, #4]
+ 8000b10: f7ff ffb0 bl 8000a74
+ 8000b14: 4603 mov r3, r0
+}
+ 8000b16: 4618 mov r0, r3
+ 8000b18: 3708 adds r7, #8
+ 8000b1a: 46bd mov sp, r7
+ 8000b1c: bd80 pop {r7, pc}
+ ...
+
+08000b20 :
+ * @param GPIO_Init pointer to a GPIO_InitTypeDef structure that contains
+ * the configuration information for the specified GPIO peripheral.
+ * @retval None
+ */
+void HAL_GPIO_Init(GPIO_TypeDef *GPIOx, GPIO_InitTypeDef *GPIO_Init)
+{
+ 8000b20: b480 push {r7}
+ 8000b22: b087 sub sp, #28
+ 8000b24: af00 add r7, sp, #0
+ 8000b26: 6078 str r0, [r7, #4]
+ 8000b28: 6039 str r1, [r7, #0]
+ uint32_t position = 0x00;
+ 8000b2a: 2300 movs r3, #0
+ 8000b2c: 617b str r3, [r7, #20]
+ uint32_t iocurrent = 0x00;
+ 8000b2e: 2300 movs r3, #0
+ 8000b30: 60fb str r3, [r7, #12]
+ uint32_t temp = 0x00;
+ 8000b32: 2300 movs r3, #0
+ 8000b34: 613b str r3, [r7, #16]
+ assert_param(IS_GPIO_ALL_INSTANCE(GPIOx));
+ assert_param(IS_GPIO_PIN(GPIO_Init->Pin));
+ assert_param(IS_GPIO_MODE(GPIO_Init->Mode));
+
+ /* Configure the port pins */
+ while (((GPIO_Init->Pin) >> position) != 0)
+ 8000b36: e160 b.n 8000dfa
+ {
+ /* Get current io position */
+ iocurrent = (GPIO_Init->Pin) & (1U << position);
+ 8000b38: 683b ldr r3, [r7, #0]
+ 8000b3a: 681a ldr r2, [r3, #0]
+ 8000b3c: 2101 movs r1, #1
+ 8000b3e: 697b ldr r3, [r7, #20]
+ 8000b40: fa01 f303 lsl.w r3, r1, r3
+ 8000b44: 4013 ands r3, r2
+ 8000b46: 60fb str r3, [r7, #12]
+
+ if (iocurrent)
+ 8000b48: 68fb ldr r3, [r7, #12]
+ 8000b4a: 2b00 cmp r3, #0
+ 8000b4c: f000 8152 beq.w 8000df4
+ {
+ /*--------------------- GPIO Mode Configuration ------------------------*/
+ /* In case of Output or Alternate function mode selection */
+ if (((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) ||
+ 8000b50: 683b ldr r3, [r7, #0]
+ 8000b52: 685b ldr r3, [r3, #4]
+ 8000b54: f003 0303 and.w r3, r3, #3
+ 8000b58: 2b01 cmp r3, #1
+ 8000b5a: d005 beq.n 8000b68
+ ((GPIO_Init->Mode & GPIO_MODE) == MODE_AF))
+ 8000b5c: 683b ldr r3, [r7, #0]
+ 8000b5e: 685b ldr r3, [r3, #4]
+ 8000b60: f003 0303 and.w r3, r3, #3
+ if (((GPIO_Init->Mode & GPIO_MODE) == MODE_OUTPUT) ||
+ 8000b64: 2b02 cmp r3, #2
+ 8000b66: d130 bne.n 8000bca
+ {
+ /* Check the Speed parameter */
+ assert_param(IS_GPIO_SPEED(GPIO_Init->Speed));
+ /* Configure the IO Speed */
+ temp = GPIOx->OSPEEDR;
+ 8000b68: 687b ldr r3, [r7, #4]
+ 8000b6a: 689b ldr r3, [r3, #8]
+ 8000b6c: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, GPIO_OSPEEDER_OSPEEDR0 << (position * 2));
+ 8000b6e: 697b ldr r3, [r7, #20]
+ 8000b70: 005b lsls r3, r3, #1
+ 8000b72: 2203 movs r2, #3
+ 8000b74: fa02 f303 lsl.w r3, r2, r3
+ 8000b78: 43db mvns r3, r3
+ 8000b7a: 693a ldr r2, [r7, #16]
+ 8000b7c: 4013 ands r3, r2
+ 8000b7e: 613b str r3, [r7, #16]
+ SET_BIT(temp, GPIO_Init->Speed << (position * 2));
+ 8000b80: 683b ldr r3, [r7, #0]
+ 8000b82: 68da ldr r2, [r3, #12]
+ 8000b84: 697b ldr r3, [r7, #20]
+ 8000b86: 005b lsls r3, r3, #1
+ 8000b88: fa02 f303 lsl.w r3, r2, r3
+ 8000b8c: 693a ldr r2, [r7, #16]
+ 8000b8e: 4313 orrs r3, r2
+ 8000b90: 613b str r3, [r7, #16]
+ GPIOx->OSPEEDR = temp;
+ 8000b92: 687b ldr r3, [r7, #4]
+ 8000b94: 693a ldr r2, [r7, #16]
+ 8000b96: 609a str r2, [r3, #8]
+
+ /* Configure the IO Output Type */
+ temp = GPIOx->OTYPER;
+ 8000b98: 687b ldr r3, [r7, #4]
+ 8000b9a: 685b ldr r3, [r3, #4]
+ 8000b9c: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, GPIO_OTYPER_OT_0 << position) ;
+ 8000b9e: 2201 movs r2, #1
+ 8000ba0: 697b ldr r3, [r7, #20]
+ 8000ba2: fa02 f303 lsl.w r3, r2, r3
+ 8000ba6: 43db mvns r3, r3
+ 8000ba8: 693a ldr r2, [r7, #16]
+ 8000baa: 4013 ands r3, r2
+ 8000bac: 613b str r3, [r7, #16]
+ SET_BIT(temp, ((GPIO_Init->Mode & OUTPUT_TYPE) >> OUTPUT_TYPE_Pos) << position);
+ 8000bae: 683b ldr r3, [r7, #0]
+ 8000bb0: 685b ldr r3, [r3, #4]
+ 8000bb2: 091b lsrs r3, r3, #4
+ 8000bb4: f003 0201 and.w r2, r3, #1
+ 8000bb8: 697b ldr r3, [r7, #20]
+ 8000bba: fa02 f303 lsl.w r3, r2, r3
+ 8000bbe: 693a ldr r2, [r7, #16]
+ 8000bc0: 4313 orrs r3, r2
+ 8000bc2: 613b str r3, [r7, #16]
+ GPIOx->OTYPER = temp;
+ 8000bc4: 687b ldr r3, [r7, #4]
+ 8000bc6: 693a ldr r2, [r7, #16]
+ 8000bc8: 605a str r2, [r3, #4]
+ }
+
+ if ((GPIO_Init->Mode & GPIO_MODE) != MODE_ANALOG)
+ 8000bca: 683b ldr r3, [r7, #0]
+ 8000bcc: 685b ldr r3, [r3, #4]
+ 8000bce: f003 0303 and.w r3, r3, #3
+ 8000bd2: 2b03 cmp r3, #3
+ 8000bd4: d017 beq.n 8000c06
+ {
+ /* Check the Pull parameter */
+ assert_param(IS_GPIO_PULL(GPIO_Init->Pull));
+
+ /* Activate the Pull-up or Pull down resistor for the current IO */
+ temp = GPIOx->PUPDR;
+ 8000bd6: 687b ldr r3, [r7, #4]
+ 8000bd8: 68db ldr r3, [r3, #12]
+ 8000bda: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, GPIO_PUPDR_PUPDR0 << (position * 2));
+ 8000bdc: 697b ldr r3, [r7, #20]
+ 8000bde: 005b lsls r3, r3, #1
+ 8000be0: 2203 movs r2, #3
+ 8000be2: fa02 f303 lsl.w r3, r2, r3
+ 8000be6: 43db mvns r3, r3
+ 8000be8: 693a ldr r2, [r7, #16]
+ 8000bea: 4013 ands r3, r2
+ 8000bec: 613b str r3, [r7, #16]
+ SET_BIT(temp, (GPIO_Init->Pull) << (position * 2));
+ 8000bee: 683b ldr r3, [r7, #0]
+ 8000bf0: 689a ldr r2, [r3, #8]
+ 8000bf2: 697b ldr r3, [r7, #20]
+ 8000bf4: 005b lsls r3, r3, #1
+ 8000bf6: fa02 f303 lsl.w r3, r2, r3
+ 8000bfa: 693a ldr r2, [r7, #16]
+ 8000bfc: 4313 orrs r3, r2
+ 8000bfe: 613b str r3, [r7, #16]
+ GPIOx->PUPDR = temp;
+ 8000c00: 687b ldr r3, [r7, #4]
+ 8000c02: 693a ldr r2, [r7, #16]
+ 8000c04: 60da str r2, [r3, #12]
+ }
+
+ /* In case of Alternate function mode selection */
+ if ((GPIO_Init->Mode & GPIO_MODE) == MODE_AF)
+ 8000c06: 683b ldr r3, [r7, #0]
+ 8000c08: 685b ldr r3, [r3, #4]
+ 8000c0a: f003 0303 and.w r3, r3, #3
+ 8000c0e: 2b02 cmp r3, #2
+ 8000c10: d123 bne.n 8000c5a
+ assert_param(IS_GPIO_AF_INSTANCE(GPIOx));
+ assert_param(IS_GPIO_AF(GPIO_Init->Alternate));
+
+ /* Configure Alternate function mapped with the current IO */
+ /* Identify AFRL or AFRH register based on IO position*/
+ temp = GPIOx->AFR[position >> 3];
+ 8000c12: 697b ldr r3, [r7, #20]
+ 8000c14: 08da lsrs r2, r3, #3
+ 8000c16: 687b ldr r3, [r7, #4]
+ 8000c18: 3208 adds r2, #8
+ 8000c1a: f853 3022 ldr.w r3, [r3, r2, lsl #2]
+ 8000c1e: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, 0xFU << ((uint32_t)(position & 0x07U) * 4));
+ 8000c20: 697b ldr r3, [r7, #20]
+ 8000c22: f003 0307 and.w r3, r3, #7
+ 8000c26: 009b lsls r3, r3, #2
+ 8000c28: 220f movs r2, #15
+ 8000c2a: fa02 f303 lsl.w r3, r2, r3
+ 8000c2e: 43db mvns r3, r3
+ 8000c30: 693a ldr r2, [r7, #16]
+ 8000c32: 4013 ands r3, r2
+ 8000c34: 613b str r3, [r7, #16]
+ SET_BIT(temp, (uint32_t)(GPIO_Init->Alternate) << (((uint32_t)position & 0x07U) * 4));
+ 8000c36: 683b ldr r3, [r7, #0]
+ 8000c38: 691a ldr r2, [r3, #16]
+ 8000c3a: 697b ldr r3, [r7, #20]
+ 8000c3c: f003 0307 and.w r3, r3, #7
+ 8000c40: 009b lsls r3, r3, #2
+ 8000c42: fa02 f303 lsl.w r3, r2, r3
+ 8000c46: 693a ldr r2, [r7, #16]
+ 8000c48: 4313 orrs r3, r2
+ 8000c4a: 613b str r3, [r7, #16]
+ GPIOx->AFR[position >> 3] = temp;
+ 8000c4c: 697b ldr r3, [r7, #20]
+ 8000c4e: 08da lsrs r2, r3, #3
+ 8000c50: 687b ldr r3, [r7, #4]
+ 8000c52: 3208 adds r2, #8
+ 8000c54: 6939 ldr r1, [r7, #16]
+ 8000c56: f843 1022 str.w r1, [r3, r2, lsl #2]
+ }
+
+ /* Configure IO Direction mode (Input, Output, Alternate or Analog) */
+ temp = GPIOx->MODER;
+ 8000c5a: 687b ldr r3, [r7, #4]
+ 8000c5c: 681b ldr r3, [r3, #0]
+ 8000c5e: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, GPIO_MODER_MODER0 << (position * 2));
+ 8000c60: 697b ldr r3, [r7, #20]
+ 8000c62: 005b lsls r3, r3, #1
+ 8000c64: 2203 movs r2, #3
+ 8000c66: fa02 f303 lsl.w r3, r2, r3
+ 8000c6a: 43db mvns r3, r3
+ 8000c6c: 693a ldr r2, [r7, #16]
+ 8000c6e: 4013 ands r3, r2
+ 8000c70: 613b str r3, [r7, #16]
+ SET_BIT(temp, (GPIO_Init->Mode & GPIO_MODE) << (position * 2));
+ 8000c72: 683b ldr r3, [r7, #0]
+ 8000c74: 685b ldr r3, [r3, #4]
+ 8000c76: f003 0203 and.w r2, r3, #3
+ 8000c7a: 697b ldr r3, [r7, #20]
+ 8000c7c: 005b lsls r3, r3, #1
+ 8000c7e: fa02 f303 lsl.w r3, r2, r3
+ 8000c82: 693a ldr r2, [r7, #16]
+ 8000c84: 4313 orrs r3, r2
+ 8000c86: 613b str r3, [r7, #16]
+ GPIOx->MODER = temp;
+ 8000c88: 687b ldr r3, [r7, #4]
+ 8000c8a: 693a ldr r2, [r7, #16]
+ 8000c8c: 601a str r2, [r3, #0]
+
+ /*--------------------- EXTI Mode Configuration ------------------------*/
+ /* Configure the External Interrupt or event for the current IO */
+ if ((GPIO_Init->Mode & EXTI_MODE) != 0x00U)
+ 8000c8e: 683b ldr r3, [r7, #0]
+ 8000c90: 685b ldr r3, [r3, #4]
+ 8000c92: f403 3340 and.w r3, r3, #196608 @ 0x30000
+ 8000c96: 2b00 cmp r3, #0
+ 8000c98: f000 80ac beq.w 8000df4
+ {
+ /* Enable SYSCFG Clock */
+ __HAL_RCC_SYSCFG_CLK_ENABLE();
+ 8000c9c: 4b5e ldr r3, [pc, #376] @ (8000e18 )
+ 8000c9e: 6a1b ldr r3, [r3, #32]
+ 8000ca0: 4a5d ldr r2, [pc, #372] @ (8000e18 )
+ 8000ca2: f043 0301 orr.w r3, r3, #1
+ 8000ca6: 6213 str r3, [r2, #32]
+ 8000ca8: 4b5b ldr r3, [pc, #364] @ (8000e18 )
+ 8000caa: 6a1b ldr r3, [r3, #32]
+ 8000cac: f003 0301 and.w r3, r3, #1
+ 8000cb0: 60bb str r3, [r7, #8]
+ 8000cb2: 68bb ldr r3, [r7, #8]
+
+ temp = SYSCFG->EXTICR[position >> 2];
+ 8000cb4: 4a59 ldr r2, [pc, #356] @ (8000e1c )
+ 8000cb6: 697b ldr r3, [r7, #20]
+ 8000cb8: 089b lsrs r3, r3, #2
+ 8000cba: 3302 adds r3, #2
+ 8000cbc: f852 3023 ldr.w r3, [r2, r3, lsl #2]
+ 8000cc0: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, (0x0FU) << (4 * (position & 0x03)));
+ 8000cc2: 697b ldr r3, [r7, #20]
+ 8000cc4: f003 0303 and.w r3, r3, #3
+ 8000cc8: 009b lsls r3, r3, #2
+ 8000cca: 220f movs r2, #15
+ 8000ccc: fa02 f303 lsl.w r3, r2, r3
+ 8000cd0: 43db mvns r3, r3
+ 8000cd2: 693a ldr r2, [r7, #16]
+ 8000cd4: 4013 ands r3, r2
+ 8000cd6: 613b str r3, [r7, #16]
+ SET_BIT(temp, (GPIO_GET_INDEX(GPIOx)) << (4 * (position & 0x03)));
+ 8000cd8: 687b ldr r3, [r7, #4]
+ 8000cda: 4a51 ldr r2, [pc, #324] @ (8000e20 )
+ 8000cdc: 4293 cmp r3, r2
+ 8000cde: d025 beq.n 8000d2c
+ 8000ce0: 687b ldr r3, [r7, #4]
+ 8000ce2: 4a50 ldr r2, [pc, #320] @ (8000e24 )
+ 8000ce4: 4293 cmp r3, r2
+ 8000ce6: d01f beq.n 8000d28
+ 8000ce8: 687b ldr r3, [r7, #4]
+ 8000cea: 4a4f ldr r2, [pc, #316] @ (8000e28 )
+ 8000cec: 4293 cmp r3, r2
+ 8000cee: d019 beq.n 8000d24
+ 8000cf0: 687b ldr r3, [r7, #4]
+ 8000cf2: 4a4e ldr r2, [pc, #312] @ (8000e2c )
+ 8000cf4: 4293 cmp r3, r2
+ 8000cf6: d013 beq.n 8000d20
+ 8000cf8: 687b ldr r3, [r7, #4]
+ 8000cfa: 4a4d ldr r2, [pc, #308] @ (8000e30 )
+ 8000cfc: 4293 cmp r3, r2
+ 8000cfe: d00d beq.n 8000d1c
+ 8000d00: 687b ldr r3, [r7, #4]
+ 8000d02: 4a4c ldr r2, [pc, #304] @ (8000e34 )
+ 8000d04: 4293 cmp r3, r2
+ 8000d06: d007 beq.n 8000d18
+ 8000d08: 687b ldr r3, [r7, #4]
+ 8000d0a: 4a4b ldr r2, [pc, #300] @ (8000e38 )
+ 8000d0c: 4293 cmp r3, r2
+ 8000d0e: d101 bne.n 8000d14
+ 8000d10: 2306 movs r3, #6
+ 8000d12: e00c b.n 8000d2e
+ 8000d14: 2307 movs r3, #7
+ 8000d16: e00a b.n 8000d2e
+ 8000d18: 2305 movs r3, #5
+ 8000d1a: e008 b.n 8000d2e
+ 8000d1c: 2304 movs r3, #4
+ 8000d1e: e006 b.n 8000d2e
+ 8000d20: 2303 movs r3, #3
+ 8000d22: e004 b.n 8000d2e
+ 8000d24: 2302 movs r3, #2
+ 8000d26: e002 b.n 8000d2e
+ 8000d28: 2301 movs r3, #1
+ 8000d2a: e000 b.n 8000d2e
+ 8000d2c: 2300 movs r3, #0
+ 8000d2e: 697a ldr r2, [r7, #20]
+ 8000d30: f002 0203 and.w r2, r2, #3
+ 8000d34: 0092 lsls r2, r2, #2
+ 8000d36: 4093 lsls r3, r2
+ 8000d38: 693a ldr r2, [r7, #16]
+ 8000d3a: 4313 orrs r3, r2
+ 8000d3c: 613b str r3, [r7, #16]
+ SYSCFG->EXTICR[position >> 2] = temp;
+ 8000d3e: 4937 ldr r1, [pc, #220] @ (8000e1c )
+ 8000d40: 697b ldr r3, [r7, #20]
+ 8000d42: 089b lsrs r3, r3, #2
+ 8000d44: 3302 adds r3, #2
+ 8000d46: 693a ldr r2, [r7, #16]
+ 8000d48: f841 2023 str.w r2, [r1, r3, lsl #2]
+
+ /* Clear Rising Falling edge configuration */
+ temp = EXTI->RTSR;
+ 8000d4c: 4b3b ldr r3, [pc, #236] @ (8000e3c )
+ 8000d4e: 689b ldr r3, [r3, #8]
+ 8000d50: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, (uint32_t)iocurrent);
+ 8000d52: 68fb ldr r3, [r7, #12]
+ 8000d54: 43db mvns r3, r3
+ 8000d56: 693a ldr r2, [r7, #16]
+ 8000d58: 4013 ands r3, r2
+ 8000d5a: 613b str r3, [r7, #16]
+ if ((GPIO_Init->Mode & TRIGGER_RISING) != 0x00U)
+ 8000d5c: 683b ldr r3, [r7, #0]
+ 8000d5e: 685b ldr r3, [r3, #4]
+ 8000d60: f403 1380 and.w r3, r3, #1048576 @ 0x100000
+ 8000d64: 2b00 cmp r3, #0
+ 8000d66: d003 beq.n 8000d70
+ {
+ SET_BIT(temp, iocurrent);
+ 8000d68: 693a ldr r2, [r7, #16]
+ 8000d6a: 68fb ldr r3, [r7, #12]
+ 8000d6c: 4313 orrs r3, r2
+ 8000d6e: 613b str r3, [r7, #16]
+ }
+ EXTI->RTSR = temp;
+ 8000d70: 4a32 ldr r2, [pc, #200] @ (8000e3c )
+ 8000d72: 693b ldr r3, [r7, #16]
+ 8000d74: 6093 str r3, [r2, #8]
+
+ temp = EXTI->FTSR;
+ 8000d76: 4b31 ldr r3, [pc, #196] @ (8000e3c )
+ 8000d78: 68db ldr r3, [r3, #12]
+ 8000d7a: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, (uint32_t)iocurrent);
+ 8000d7c: 68fb ldr r3, [r7, #12]
+ 8000d7e: 43db mvns r3, r3
+ 8000d80: 693a ldr r2, [r7, #16]
+ 8000d82: 4013 ands r3, r2
+ 8000d84: 613b str r3, [r7, #16]
+ if ((GPIO_Init->Mode & TRIGGER_FALLING) != 0x00U)
+ 8000d86: 683b ldr r3, [r7, #0]
+ 8000d88: 685b ldr r3, [r3, #4]
+ 8000d8a: f403 1300 and.w r3, r3, #2097152 @ 0x200000
+ 8000d8e: 2b00 cmp r3, #0
+ 8000d90: d003 beq.n 8000d9a
+ {
+ SET_BIT(temp, iocurrent);
+ 8000d92: 693a ldr r2, [r7, #16]
+ 8000d94: 68fb ldr r3, [r7, #12]
+ 8000d96: 4313 orrs r3, r2
+ 8000d98: 613b str r3, [r7, #16]
+ }
+ EXTI->FTSR = temp;
+ 8000d9a: 4a28 ldr r2, [pc, #160] @ (8000e3c )
+ 8000d9c: 693b ldr r3, [r7, #16]
+ 8000d9e: 60d3 str r3, [r2, #12]
+
+ temp = EXTI->EMR;
+ 8000da0: 4b26 ldr r3, [pc, #152] @ (8000e3c )
+ 8000da2: 685b ldr r3, [r3, #4]
+ 8000da4: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, (uint32_t)iocurrent);
+ 8000da6: 68fb ldr r3, [r7, #12]
+ 8000da8: 43db mvns r3, r3
+ 8000daa: 693a ldr r2, [r7, #16]
+ 8000dac: 4013 ands r3, r2
+ 8000dae: 613b str r3, [r7, #16]
+ if ((GPIO_Init->Mode & EXTI_EVT) != 0x00U)
+ 8000db0: 683b ldr r3, [r7, #0]
+ 8000db2: 685b ldr r3, [r3, #4]
+ 8000db4: f403 3300 and.w r3, r3, #131072 @ 0x20000
+ 8000db8: 2b00 cmp r3, #0
+ 8000dba: d003 beq.n 8000dc4
+ {
+ SET_BIT(temp, iocurrent);
+ 8000dbc: 693a ldr r2, [r7, #16]
+ 8000dbe: 68fb ldr r3, [r7, #12]
+ 8000dc0: 4313 orrs r3, r2
+ 8000dc2: 613b str r3, [r7, #16]
+ }
+ EXTI->EMR = temp;
+ 8000dc4: 4a1d ldr r2, [pc, #116] @ (8000e3c )
+ 8000dc6: 693b ldr r3, [r7, #16]
+ 8000dc8: 6053 str r3, [r2, #4]
+
+ /* Clear EXTI line configuration */
+ temp = EXTI->IMR;
+ 8000dca: 4b1c ldr r3, [pc, #112] @ (8000e3c )
+ 8000dcc: 681b ldr r3, [r3, #0]
+ 8000dce: 613b str r3, [r7, #16]
+ CLEAR_BIT(temp, (uint32_t)iocurrent);
+ 8000dd0: 68fb ldr r3, [r7, #12]
+ 8000dd2: 43db mvns r3, r3
+ 8000dd4: 693a ldr r2, [r7, #16]
+ 8000dd6: 4013 ands r3, r2
+ 8000dd8: 613b str r3, [r7, #16]
+ if ((GPIO_Init->Mode & EXTI_IT) != 0x00U)
+ 8000dda: 683b ldr r3, [r7, #0]
+ 8000ddc: 685b ldr r3, [r3, #4]
+ 8000dde: f403 3380 and.w r3, r3, #65536 @ 0x10000
+ 8000de2: 2b00 cmp r3, #0
+ 8000de4: d003 beq.n 8000dee
+ {
+ SET_BIT(temp, iocurrent);
+ 8000de6: 693a ldr r2, [r7, #16]
+ 8000de8: 68fb ldr r3, [r7, #12]
+ 8000dea: 4313 orrs r3, r2
+ 8000dec: 613b str r3, [r7, #16]
+ }
+ EXTI->IMR = temp;
+ 8000dee: 4a13 ldr r2, [pc, #76] @ (8000e3c )
+ 8000df0: 693b ldr r3, [r7, #16]
+ 8000df2: 6013 str r3, [r2, #0]
+ }
+ }
+
+ position++;
+ 8000df4: 697b ldr r3, [r7, #20]
+ 8000df6: 3301 adds r3, #1
+ 8000df8: 617b str r3, [r7, #20]
+ while (((GPIO_Init->Pin) >> position) != 0)
+ 8000dfa: 683b ldr r3, [r7, #0]
+ 8000dfc: 681a ldr r2, [r3, #0]
+ 8000dfe: 697b ldr r3, [r7, #20]
+ 8000e00: fa22 f303 lsr.w r3, r2, r3
+ 8000e04: 2b00 cmp r3, #0
+ 8000e06: f47f ae97 bne.w 8000b38
+ }
+}
+ 8000e0a: bf00 nop
+ 8000e0c: bf00 nop
+ 8000e0e: 371c adds r7, #28
+ 8000e10: 46bd mov sp, r7
+ 8000e12: bc80 pop {r7}
+ 8000e14: 4770 bx lr
+ 8000e16: bf00 nop
+ 8000e18: 40023800 .word 0x40023800
+ 8000e1c: 40010000 .word 0x40010000
+ 8000e20: 40020000 .word 0x40020000
+ 8000e24: 40020400 .word 0x40020400
+ 8000e28: 40020800 .word 0x40020800
+ 8000e2c: 40020c00 .word 0x40020c00
+ 8000e30: 40021000 .word 0x40021000
+ 8000e34: 40021400 .word 0x40021400
+ 8000e38: 40021800 .word 0x40021800
+ 8000e3c: 40010400 .word 0x40010400
+
+08000e40 :
+ * @arg GPIO_PIN_RESET: to clear the port pin
+ * @arg GPIO_PIN_SET: to set the port pin
+ * @retval None
+ */
+void HAL_GPIO_WritePin(GPIO_TypeDef *GPIOx, uint16_t GPIO_Pin, GPIO_PinState PinState)
+{
+ 8000e40: b480 push {r7}
+ 8000e42: b083 sub sp, #12
+ 8000e44: af00 add r7, sp, #0
+ 8000e46: 6078 str r0, [r7, #4]
+ 8000e48: 460b mov r3, r1
+ 8000e4a: 807b strh r3, [r7, #2]
+ 8000e4c: 4613 mov r3, r2
+ 8000e4e: 707b strb r3, [r7, #1]
+ /* Check the parameters */
+ assert_param(IS_GPIO_PIN(GPIO_Pin));
+ assert_param(IS_GPIO_PIN_ACTION(PinState));
+
+ if (PinState != GPIO_PIN_RESET)
+ 8000e50: 787b ldrb r3, [r7, #1]
+ 8000e52: 2b00 cmp r3, #0
+ 8000e54: d003 beq.n 8000e5e
+ {
+ GPIOx->BSRR = (uint32_t)GPIO_Pin;
+ 8000e56: 887a ldrh r2, [r7, #2]
+ 8000e58: 687b ldr r3, [r7, #4]
+ 8000e5a: 619a str r2, [r3, #24]
+ }
+ else
+ {
+ GPIOx->BSRR = (uint32_t)GPIO_Pin << 16 ;
+ }
+}
+ 8000e5c: e003 b.n 8000e66
+ GPIOx->BSRR = (uint32_t)GPIO_Pin << 16 ;
+ 8000e5e: 887b ldrh r3, [r7, #2]
+ 8000e60: 041a lsls r2, r3, #16
+ 8000e62: 687b ldr r3, [r7, #4]
+ 8000e64: 619a str r2, [r3, #24]
+}
+ 8000e66: bf00 nop
+ 8000e68: 370c adds r7, #12
+ 8000e6a: 46bd mov sp, r7
+ 8000e6c: bc80 pop {r7}
+ 8000e6e: 4770 bx lr
+
+08000e70 :
+ * @param hi2c Pointer to a I2C_HandleTypeDef structure that contains
+ * the configuration information for the specified I2C.
+ * @retval HAL status
+ */
+HAL_StatusTypeDef HAL_I2C_Init(I2C_HandleTypeDef *hi2c)
+{
+ 8000e70: b580 push {r7, lr}
+ 8000e72: b084 sub sp, #16
+ 8000e74: af00 add r7, sp, #0
+ 8000e76: 6078 str r0, [r7, #4]
+ uint32_t freqrange;
+ uint32_t pclk1;
+
+ /* Check the I2C handle allocation */
+ if (hi2c == NULL)
+ 8000e78: 687b ldr r3, [r7, #4]
+ 8000e7a: 2b00 cmp r3, #0
+ 8000e7c: d101 bne.n 8000e82
+ {
+ return HAL_ERROR;
+ 8000e7e: 2301 movs r3, #1
+ 8000e80: e12b b.n 80010da
+ assert_param(IS_I2C_DUAL_ADDRESS(hi2c->Init.DualAddressMode));
+ assert_param(IS_I2C_OWN_ADDRESS2(hi2c->Init.OwnAddress2));
+ assert_param(IS_I2C_GENERAL_CALL(hi2c->Init.GeneralCallMode));
+ assert_param(IS_I2C_NO_STRETCH(hi2c->Init.NoStretchMode));
+
+ if (hi2c->State == HAL_I2C_STATE_RESET)
+ 8000e82: 687b ldr r3, [r7, #4]
+ 8000e84: f893 303d ldrb.w r3, [r3, #61] @ 0x3d
+ 8000e88: b2db uxtb r3, r3
+ 8000e8a: 2b00 cmp r3, #0
+ 8000e8c: d106 bne.n 8000e9c
+ {
+ /* Allocate lock resource and initialize it */
+ hi2c->Lock = HAL_UNLOCKED;
+ 8000e8e: 687b ldr r3, [r7, #4]
+ 8000e90: 2200 movs r2, #0
+ 8000e92: f883 203c strb.w r2, [r3, #60] @ 0x3c
+
+ /* Init the low level hardware : GPIO, CLOCK, NVIC */
+ hi2c->MspInitCallback(hi2c);
+#else
+ /* Init the low level hardware : GPIO, CLOCK, NVIC */
+ HAL_I2C_MspInit(hi2c);
+ 8000e96: 6878 ldr r0, [r7, #4]
+ 8000e98: f7ff fc32 bl 8000700
+#endif /* USE_HAL_I2C_REGISTER_CALLBACKS */
+ }
+
+ hi2c->State = HAL_I2C_STATE_BUSY;
+ 8000e9c: 687b ldr r3, [r7, #4]
+ 8000e9e: 2224 movs r2, #36 @ 0x24
+ 8000ea0: f883 203d strb.w r2, [r3, #61] @ 0x3d
+
+ /* Disable the selected I2C peripheral */
+ __HAL_I2C_DISABLE(hi2c);
+ 8000ea4: 687b ldr r3, [r7, #4]
+ 8000ea6: 681b ldr r3, [r3, #0]
+ 8000ea8: 681a ldr r2, [r3, #0]
+ 8000eaa: 687b ldr r3, [r7, #4]
+ 8000eac: 681b ldr r3, [r3, #0]
+ 8000eae: f022 0201 bic.w r2, r2, #1
+ 8000eb2: 601a str r2, [r3, #0]
+
+ /*Reset I2C*/
+ hi2c->Instance->CR1 |= I2C_CR1_SWRST;
+ 8000eb4: 687b ldr r3, [r7, #4]
+ 8000eb6: 681b ldr r3, [r3, #0]
+ 8000eb8: 681a ldr r2, [r3, #0]
+ 8000eba: 687b ldr r3, [r7, #4]
+ 8000ebc: 681b ldr r3, [r3, #0]
+ 8000ebe: f442 4200 orr.w r2, r2, #32768 @ 0x8000
+ 8000ec2: 601a str r2, [r3, #0]
+ hi2c->Instance->CR1 &= ~I2C_CR1_SWRST;
+ 8000ec4: 687b ldr r3, [r7, #4]
+ 8000ec6: 681b ldr r3, [r3, #0]
+ 8000ec8: 681a ldr r2, [r3, #0]
+ 8000eca: 687b ldr r3, [r7, #4]
+ 8000ecc: 681b ldr r3, [r3, #0]
+ 8000ece: f422 4200 bic.w r2, r2, #32768 @ 0x8000
+ 8000ed2: 601a str r2, [r3, #0]
+
+ /* Get PCLK1 frequency */
+ pclk1 = HAL_RCC_GetPCLK1Freq();
+ 8000ed4: f001 fcf2 bl 80028bc
+ 8000ed8: 60f8 str r0, [r7, #12]
+
+ /* Check the minimum allowed PCLK1 frequency */
+ if (I2C_MIN_PCLK_FREQ(pclk1, hi2c->Init.ClockSpeed) == 1U)
+ 8000eda: 687b ldr r3, [r7, #4]
+ 8000edc: 685b ldr r3, [r3, #4]
+ 8000ede: 4a81 ldr r2, [pc, #516] @ (80010e4 )
+ 8000ee0: 4293 cmp r3, r2
+ 8000ee2: d807 bhi.n 8000ef4
+ 8000ee4: 68fb ldr r3, [r7, #12]
+ 8000ee6: 4a80 ldr r2, [pc, #512] @ (80010e8 )
+ 8000ee8: 4293 cmp r3, r2
+ 8000eea: bf94 ite ls
+ 8000eec: 2301 movls r3, #1
+ 8000eee: 2300 movhi r3, #0
+ 8000ef0: b2db uxtb r3, r3
+ 8000ef2: e006 b.n 8000f02
+ 8000ef4: 68fb ldr r3, [r7, #12]
+ 8000ef6: 4a7d ldr r2, [pc, #500] @ (80010ec )
+ 8000ef8: 4293 cmp r3, r2
+ 8000efa: bf94 ite ls
+ 8000efc: 2301 movls r3, #1
+ 8000efe: 2300 movhi r3, #0
+ 8000f00: b2db uxtb r3, r3
+ 8000f02: 2b00 cmp r3, #0
+ 8000f04: d001 beq.n 8000f0a
+ {
+ return HAL_ERROR;
+ 8000f06: 2301 movs r3, #1
+ 8000f08: e0e7 b.n 80010da
+ }
+
+ /* Calculate frequency range */
+ freqrange = I2C_FREQRANGE(pclk1);
+ 8000f0a: 68fb ldr r3, [r7, #12]
+ 8000f0c: 4a78 ldr r2, [pc, #480] @ (80010f0 )
+ 8000f0e: fba2 2303 umull r2, r3, r2, r3
+ 8000f12: 0c9b lsrs r3, r3, #18
+ 8000f14: 60bb str r3, [r7, #8]
+
+ /*---------------------------- I2Cx CR2 Configuration ----------------------*/
+ /* Configure I2Cx: Frequency range */
+ MODIFY_REG(hi2c->Instance->CR2, I2C_CR2_FREQ, freqrange);
+ 8000f16: 687b ldr r3, [r7, #4]
+ 8000f18: 681b ldr r3, [r3, #0]
+ 8000f1a: 685b ldr r3, [r3, #4]
+ 8000f1c: f023 013f bic.w r1, r3, #63 @ 0x3f
+ 8000f20: 687b ldr r3, [r7, #4]
+ 8000f22: 681b ldr r3, [r3, #0]
+ 8000f24: 68ba ldr r2, [r7, #8]
+ 8000f26: 430a orrs r2, r1
+ 8000f28: 605a str r2, [r3, #4]
+
+ /*---------------------------- I2Cx TRISE Configuration --------------------*/
+ /* Configure I2Cx: Rise Time */
+ MODIFY_REG(hi2c->Instance->TRISE, I2C_TRISE_TRISE, I2C_RISE_TIME(freqrange, hi2c->Init.ClockSpeed));
+ 8000f2a: 687b ldr r3, [r7, #4]
+ 8000f2c: 681b ldr r3, [r3, #0]
+ 8000f2e: 6a1b ldr r3, [r3, #32]
+ 8000f30: f023 013f bic.w r1, r3, #63 @ 0x3f
+ 8000f34: 687b ldr r3, [r7, #4]
+ 8000f36: 685b ldr r3, [r3, #4]
+ 8000f38: 4a6a ldr r2, [pc, #424] @ (80010e4 )
+ 8000f3a: 4293 cmp r3, r2
+ 8000f3c: d802 bhi.n 8000f44
+ 8000f3e: 68bb ldr r3, [r7, #8]
+ 8000f40: 3301 adds r3, #1
+ 8000f42: e009 b.n 8000f58
+ 8000f44: 68bb ldr r3, [r7, #8]
+ 8000f46: f44f 7296 mov.w r2, #300 @ 0x12c
+ 8000f4a: fb02 f303 mul.w r3, r2, r3
+ 8000f4e: 4a69 ldr r2, [pc, #420] @ (80010f4 )
+ 8000f50: fba2 2303 umull r2, r3, r2, r3
+ 8000f54: 099b lsrs r3, r3, #6
+ 8000f56: 3301 adds r3, #1
+ 8000f58: 687a ldr r2, [r7, #4]
+ 8000f5a: 6812 ldr r2, [r2, #0]
+ 8000f5c: 430b orrs r3, r1
+ 8000f5e: 6213 str r3, [r2, #32]
+
+ /*---------------------------- I2Cx CCR Configuration ----------------------*/
+ /* Configure I2Cx: Speed */
+ MODIFY_REG(hi2c->Instance->CCR, (I2C_CCR_FS | I2C_CCR_DUTY | I2C_CCR_CCR), I2C_SPEED(pclk1, hi2c->Init.ClockSpeed, hi2c->Init.DutyCycle));
+ 8000f60: 687b ldr r3, [r7, #4]
+ 8000f62: 681b ldr r3, [r3, #0]
+ 8000f64: 69db ldr r3, [r3, #28]
+ 8000f66: f423 424f bic.w r2, r3, #52992 @ 0xcf00
+ 8000f6a: f022 02ff bic.w r2, r2, #255 @ 0xff
+ 8000f6e: 687b ldr r3, [r7, #4]
+ 8000f70: 685b ldr r3, [r3, #4]
+ 8000f72: 495c ldr r1, [pc, #368] @ (80010e4 )
+ 8000f74: 428b cmp r3, r1
+ 8000f76: d819 bhi.n 8000fac
+ 8000f78: 68fb ldr r3, [r7, #12]
+ 8000f7a: 1e59 subs r1, r3, #1
+ 8000f7c: 687b ldr r3, [r7, #4]
+ 8000f7e: 685b ldr r3, [r3, #4]
+ 8000f80: 005b lsls r3, r3, #1
+ 8000f82: fbb1 f3f3 udiv r3, r1, r3
+ 8000f86: 1c59 adds r1, r3, #1
+ 8000f88: f640 73fc movw r3, #4092 @ 0xffc
+ 8000f8c: 400b ands r3, r1
+ 8000f8e: 2b00 cmp r3, #0
+ 8000f90: d00a beq.n 8000fa8
+ 8000f92: 68fb ldr r3, [r7, #12]
+ 8000f94: 1e59 subs r1, r3, #1
+ 8000f96: 687b ldr r3, [r7, #4]
+ 8000f98: 685b ldr r3, [r3, #4]
+ 8000f9a: 005b lsls r3, r3, #1
+ 8000f9c: fbb1 f3f3 udiv r3, r1, r3
+ 8000fa0: 3301 adds r3, #1
+ 8000fa2: f3c3 030b ubfx r3, r3, #0, #12
+ 8000fa6: e051 b.n 800104c
+ 8000fa8: 2304 movs r3, #4
+ 8000faa: e04f b.n 800104c
+ 8000fac: 687b ldr r3, [r7, #4]
+ 8000fae: 689b ldr r3, [r3, #8]
+ 8000fb0: 2b00 cmp r3, #0
+ 8000fb2: d111 bne.n 8000fd8
+ 8000fb4: 68fb ldr r3, [r7, #12]
+ 8000fb6: 1e58 subs r0, r3, #1
+ 8000fb8: 687b ldr r3, [r7, #4]
+ 8000fba: 6859 ldr r1, [r3, #4]
+ 8000fbc: 460b mov r3, r1
+ 8000fbe: 005b lsls r3, r3, #1
+ 8000fc0: 440b add r3, r1
+ 8000fc2: fbb0 f3f3 udiv r3, r0, r3
+ 8000fc6: 3301 adds r3, #1
+ 8000fc8: f3c3 030b ubfx r3, r3, #0, #12
+ 8000fcc: 2b00 cmp r3, #0
+ 8000fce: bf0c ite eq
+ 8000fd0: 2301 moveq r3, #1
+ 8000fd2: 2300 movne r3, #0
+ 8000fd4: b2db uxtb r3, r3
+ 8000fd6: e012 b.n 8000ffe
+ 8000fd8: 68fb ldr r3, [r7, #12]
+ 8000fda: 1e58 subs r0, r3, #1
+ 8000fdc: 687b ldr r3, [r7, #4]
+ 8000fde: 6859 ldr r1, [r3, #4]
+ 8000fe0: 460b mov r3, r1
+ 8000fe2: 009b lsls r3, r3, #2
+ 8000fe4: 440b add r3, r1
+ 8000fe6: 0099 lsls r1, r3, #2
+ 8000fe8: 440b add r3, r1
+ 8000fea: fbb0 f3f3 udiv r3, r0, r3
+ 8000fee: 3301 adds r3, #1
+ 8000ff0: f3c3 030b ubfx r3, r3, #0, #12
+ 8000ff4: 2b00 cmp r3, #0
+ 8000ff6: bf0c ite eq
+ 8000ff8: 2301 moveq r3, #1
+ 8000ffa: 2300 movne r3, #0
+ 8000ffc: b2db uxtb r3, r3
+ 8000ffe: 2b00 cmp r3, #0
+ 8001000: d001 beq.n 8001006
+ 8001002: 2301 movs r3, #1
+ 8001004: e022 b.n 800104c
+ 8001006: 687b ldr r3, [r7, #4]
+ 8001008: 689b ldr r3, [r3, #8]
+ 800100a: 2b00 cmp r3, #0
+ 800100c: d10e bne.n 800102c
+ 800100e: 68fb ldr r3, [r7, #12]
+ 8001010: 1e58 subs r0, r3, #1
+ 8001012: 687b ldr r3, [r7, #4]
+ 8001014: 6859 ldr r1, [r3, #4]
+ 8001016: 460b mov r3, r1
+ 8001018: 005b lsls r3, r3, #1
+ 800101a: 440b add r3, r1
+ 800101c: fbb0 f3f3 udiv r3, r0, r3
+ 8001020: 3301 adds r3, #1
+ 8001022: f3c3 030b ubfx r3, r3, #0, #12
+ 8001026: f443 4300 orr.w r3, r3, #32768 @ 0x8000
+ 800102a: e00f b.n 800104c
+ 800102c: 68fb ldr r3, [r7, #12]
+ 800102e: 1e58 subs r0, r3, #1
+ 8001030: 687b ldr r3, [r7, #4]
+ 8001032: 6859 ldr r1, [r3, #4]
+ 8001034: 460b mov r3, r1
+ 8001036: 009b lsls r3, r3, #2
+ 8001038: 440b add r3, r1
+ 800103a: 0099 lsls r1, r3, #2
+ 800103c: 440b add r3, r1
+ 800103e: fbb0 f3f3 udiv r3, r0, r3
+ 8001042: 3301 adds r3, #1
+ 8001044: f3c3 030b ubfx r3, r3, #0, #12
+ 8001048: f443 4340 orr.w r3, r3, #49152 @ 0xc000
+ 800104c: 6879 ldr r1, [r7, #4]
+ 800104e: 6809 ldr r1, [r1, #0]
+ 8001050: 4313 orrs r3, r2
+ 8001052: 61cb str r3, [r1, #28]
+
+ /*---------------------------- I2Cx CR1 Configuration ----------------------*/
+ /* Configure I2Cx: Generalcall and NoStretch mode */
+ MODIFY_REG(hi2c->Instance->CR1, (I2C_CR1_ENGC | I2C_CR1_NOSTRETCH), (hi2c->Init.GeneralCallMode | hi2c->Init.NoStretchMode));
+ 8001054: 687b ldr r3, [r7, #4]
+ 8001056: 681b ldr r3, [r3, #0]
+ 8001058: 681b ldr r3, [r3, #0]
+ 800105a: f023 01c0 bic.w r1, r3, #192 @ 0xc0
+ 800105e: 687b ldr r3, [r7, #4]
+ 8001060: 69da ldr r2, [r3, #28]
+ 8001062: 687b ldr r3, [r7, #4]
+ 8001064: 6a1b ldr r3, [r3, #32]
+ 8001066: 431a orrs r2, r3
+ 8001068: 687b ldr r3, [r7, #4]
+ 800106a: 681b ldr r3, [r3, #0]
+ 800106c: 430a orrs r2, r1
+ 800106e: 601a str r2, [r3, #0]
+
+ /*---------------------------- I2Cx OAR1 Configuration ---------------------*/
+ /* Configure I2Cx: Own Address1 and addressing mode */
+ MODIFY_REG(hi2c->Instance->OAR1, (I2C_OAR1_ADDMODE | I2C_OAR1_ADD8_9 | I2C_OAR1_ADD1_7 | I2C_OAR1_ADD0), (hi2c->Init.AddressingMode | hi2c->Init.OwnAddress1));
+ 8001070: 687b ldr r3, [r7, #4]
+ 8001072: 681b ldr r3, [r3, #0]
+ 8001074: 689b ldr r3, [r3, #8]
+ 8001076: f423 4303 bic.w r3, r3, #33536 @ 0x8300
+ 800107a: f023 03ff bic.w r3, r3, #255 @ 0xff
+ 800107e: 687a ldr r2, [r7, #4]
+ 8001080: 6911 ldr r1, [r2, #16]
+ 8001082: 687a ldr r2, [r7, #4]
+ 8001084: 68d2 ldr r2, [r2, #12]
+ 8001086: 4311 orrs r1, r2
+ 8001088: 687a ldr r2, [r7, #4]
+ 800108a: 6812 ldr r2, [r2, #0]
+ 800108c: 430b orrs r3, r1
+ 800108e: 6093 str r3, [r2, #8]
+
+ /*---------------------------- I2Cx OAR2 Configuration ---------------------*/
+ /* Configure I2Cx: Dual mode and Own Address2 */
+ MODIFY_REG(hi2c->Instance->OAR2, (I2C_OAR2_ENDUAL | I2C_OAR2_ADD2), (hi2c->Init.DualAddressMode | hi2c->Init.OwnAddress2));
+ 8001090: 687b ldr r3, [r7, #4]
+ 8001092: 681b ldr r3, [r3, #0]
+ 8001094: 68db ldr r3, [r3, #12]
+ 8001096: f023 01ff bic.w r1, r3, #255 @ 0xff
+ 800109a: 687b ldr r3, [r7, #4]
+ 800109c: 695a ldr r2, [r3, #20]
+ 800109e: 687b ldr r3, [r7, #4]
+ 80010a0: 699b ldr r3, [r3, #24]
+ 80010a2: 431a orrs r2, r3
+ 80010a4: 687b ldr r3, [r7, #4]
+ 80010a6: 681b ldr r3, [r3, #0]
+ 80010a8: 430a orrs r2, r1
+ 80010aa: 60da str r2, [r3, #12]
+
+ /* Enable the selected I2C peripheral */
+ __HAL_I2C_ENABLE(hi2c);
+ 80010ac: 687b ldr r3, [r7, #4]
+ 80010ae: 681b ldr r3, [r3, #0]
+ 80010b0: 681a ldr r2, [r3, #0]
+ 80010b2: 687b ldr r3, [r7, #4]
+ 80010b4: 681b ldr r3, [r3, #0]
+ 80010b6: f042 0201 orr.w r2, r2, #1
+ 80010ba: 601a str r2, [r3, #0]
+
+ hi2c->ErrorCode = HAL_I2C_ERROR_NONE;
+ 80010bc: 687b ldr r3, [r7, #4]
+ 80010be: 2200 movs r2, #0
+ 80010c0: 641a str r2, [r3, #64] @ 0x40
+ hi2c->State = HAL_I2C_STATE_READY;
+ 80010c2: 687b ldr r3, [r7, #4]
+ 80010c4: 2220 movs r2, #32
+ 80010c6: f883 203d strb.w r2, [r3, #61] @ 0x3d
+ hi2c->PreviousState = I2C_STATE_NONE;
+ 80010ca: 687b ldr r3, [r7, #4]
+ 80010cc: 2200 movs r2, #0
+ 80010ce: 631a str r2, [r3, #48] @ 0x30
+ hi2c->Mode = HAL_I2C_MODE_NONE;
+ 80010d0: 687b ldr r3, [r7, #4]
+ 80010d2: 2200 movs r2, #0
+ 80010d4: f883 203e strb.w r2, [r3, #62] @ 0x3e
+
+ return HAL_OK;
+ 80010d8: 2300 movs r3, #0
+}
+ 80010da: 4618 mov r0, r3
+ 80010dc: 3710 adds r7, #16
+ 80010de: 46bd mov sp, r7
+ 80010e0: bd80 pop {r7, pc}
+ 80010e2: bf00 nop
+ 80010e4: 000186a0 .word 0x000186a0
+ 80010e8: 001e847f .word 0x001e847f
+ 80010ec: 003d08ff .word 0x003d08ff
+ 80010f0: 431bde83 .word 0x431bde83
+ 80010f4: 10624dd3 .word 0x10624dd3
+
+080010f8 :
+ * @param Size Amount of data to be sent
+ * @param Timeout Timeout duration
+ * @retval HAL status
+ */
+HAL_StatusTypeDef HAL_I2C_Master_Transmit(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint8_t *pData, uint16_t Size, uint32_t Timeout)
+{
+ 80010f8: b580 push {r7, lr}
+ 80010fa: b088 sub sp, #32
+ 80010fc: af02 add r7, sp, #8
+ 80010fe: 60f8 str r0, [r7, #12]
+ 8001100: 607a str r2, [r7, #4]
+ 8001102: 461a mov r2, r3
+ 8001104: 460b mov r3, r1
+ 8001106: 817b strh r3, [r7, #10]
+ 8001108: 4613 mov r3, r2
+ 800110a: 813b strh r3, [r7, #8]
+ /* Init tickstart for timeout management*/
+ uint32_t tickstart = HAL_GetTick();
+ 800110c: f7ff fbf8 bl 8000900