[NUCLEO_L152RE] Add sleep api