{"action":"closed","issue":{"url":"https://api.github.com/repos/micropython/micropython/issues/1113","labels_url":"https://api.github.com/repos/micropython/micropython/issues/1113/labels{/name}","comments_url":"https://api.github.com/repos/micropython/micropython/issues/1113/comments","events_url":"https://api.github.com/repos/micropython/micropython/issues/1113/events","html_url":"https://github.com/micropython/micropython/issues/1113","id":57539195,"number":1113,"title":"timer.deinit() doesn't stop the timer","user":{"login":"rowpie","id":10837688,"avatar_url":"https://avatars.githubusercontent.com/u/10837688?v=3","gravatar_id":"","url":"https://api.github.com/users/rowpie","html_url":"https://github.com/rowpie","followers_url":"https://api.github.com/users/rowpie/followers","following_url":"https://api.github.com/users/rowpie/following{/other_user}","gists_url":"https://api.github.com/users/rowpie/gists{/gist_id}","starred_url":"https://api.github.com/users/rowpie/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rowpie/subscriptions","organizations_url":"https://api.github.com/users/rowpie/orgs","repos_url":"https://api.github.com/users/rowpie/repos","events_url":"https://api.github.com/users/rowpie/events{/privacy}","received_events_url":"https://api.github.com/users/rowpie/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-12T23:56:43Z","updated_at":"2015-02-13T12:05:55Z","closed_at":"2015-02-13T12:05:55Z","body":"The documentation for **timer.deinit()** suggested it will stop the timer and disable the timer peripheral.   I don't think it does.\r\nSee forum topic: http://forum.micropython.org/viewtopic.php?f=2&t=544\r\n\r\nI've poked about in stmhal/timer.c at the **pyb_timer_deinit()** call from where **HAL_TIM_Base_DeInit()** is called.   I wondered if a call to **HAL_TIM_Base_Stop()** is required but my expermiments with that didn't stop the timer either."}}