{"action":"created","issue":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/3213","repository_url":"https://api.github.com/repos/ARMmbed/mbed-os","labels_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/3213/labels{/name}","comments_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/3213/comments","events_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/3213/events","html_url":"https://github.com/ARMmbed/mbed-os/pull/3213","id":187662627,"number":3213,"title":"STM32: Refactor us_ticker.c + hal_tick.c files","user":{"login":"bcostm","id":5803932,"avatar_url":"https://avatars.githubusercontent.com/u/5803932?v=3","gravatar_id":"","url":"https://api.github.com/users/bcostm","html_url":"https://github.com/bcostm","followers_url":"https://api.github.com/users/bcostm/followers","following_url":"https://api.github.com/users/bcostm/following{/other_user}","gists_url":"https://api.github.com/users/bcostm/gists{/gist_id}","starred_url":"https://api.github.com/users/bcostm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcostm/subscriptions","organizations_url":"https://api.github.com/users/bcostm/orgs","repos_url":"https://api.github.com/users/bcostm/repos","events_url":"https://api.github.com/users/bcostm/events{/privacy}","received_events_url":"https://api.github.com/users/bcostm/received_events","type":"User","site_admin":false},"labels":[{"id":144902129,"url":"https://api.github.com/repos/ARMmbed/mbed-os/labels/needs:%20work","name":"needs: work","color":"fbca04","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2016-11-07T09:30:53Z","updated_at":"2016-11-14T09:02:54Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/pulls/3213","html_url":"https://github.com/ARMmbed/mbed-os/pull/3213","diff_url":"https://github.com/ARMmbed/mbed-os/pull/3213.diff","patch_url":"https://github.com/ARMmbed/mbed-os/pull/3213.patch"},"body":"## Description\r\nThe goal of this PR is to refactor the us_ticker.c and hal_tick.c files.\r\n\r\nNow only 4 files are used for all the STM32 devices and placed in TARGET_STM folder:\r\n- us_ticker_16b.c + hal_tick_16b.c for devices using a 16bit timer\r\n- us_ticker_32b.c + hal_tick_32b.c for devices using a 32bit timer\r\n\r\nTwo definitions have also been added in the hal_tick.h file to indicate the timer type and the peripheral clock number:\r\n#define TIM_MST_16BIT  1 // 1=16-bit timer, 0=32-bit timer\r\n#define TIM_MST_PCLK  2 // Select the peripheral clock number (1 or 2)\r\n\r\n## Status\r\nREADY\r\n\r\n## Migrations\r\nNO\r\n"},"comment":{"url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/comments/260282186","html_url":"https://github.com/ARMmbed/mbed-os/pull/3213#issuecomment-260282186","issue_url":"https://api.github.com/repos/ARMmbed/mbed-os/issues/3213","id":260282186,"user":{"login":"bcostm","id":5803932,"avatar_url":"https://avatars.githubusercontent.com/u/5803932?v=3","gravatar_id":"","url":"https://api.github.com/users/bcostm","html_url":"https://github.com/bcostm","followers_url":"https://api.github.com/users/bcostm/followers","following_url":"https://api.github.com/users/bcostm/following{/other_user}","gists_url":"https://api.github.com/users/bcostm/gists{/gist_id}","starred_url":"https://api.github.com/users/bcostm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bcostm/subscriptions","organizations_url":"https://api.github.com/users/bcostm/orgs","repos_url":"https://api.github.com/users/bcostm/repos","events_url":"https://api.github.com/users/bcostm/events{/privacy}","received_events_url":"https://api.github.com/users/bcostm/received_events","type":"User","site_admin":false},"created_at":"2016-11-14T09:02:54Z","updated_at":"2016-11-14T09:02:54Z","body":"Rebased + typo corrections. As you can note, I have also updated the license + date. I took the same license as written in mbed.h file."}}
{"actor":{"display_login":"bcostm"}}