CLK_PeripheralClockConfig(CLK_Peripheral_TIM2, ENABLE);
CLK_PeripheralClockConfig(CLK_Peripheral_AWU, ENABLE);
/* Initialization of AWU */
/* LSI calibration for accurate auto wake up time base*/
AWU_LSICalibrationConfig(LSIMeasurment());
/* The delay corresponds to the time we will stay in Halt mode */
AWU_Init(AWU_Timebase_12s);