{"action":"closed","issue":{"url":"https://api.github.com/repos/LouisTGT/Enigma/issues/11","labels_url":"https://api.github.com/repos/LouisTGT/Enigma/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/LouisTGT/Enigma/issues/11/comments","events_url":"https://api.github.com/repos/LouisTGT/Enigma/issues/11/events","html_url":"https://github.com/LouisTGT/Enigma/issues/11","id":77976931,"number":11,"title":"Add dummy read in DRV_PMP0_Read()","user":{"login":"LouisTGT","id":12457835,"avatar_url":"https://avatars.githubusercontent.com/u/12457835?v=3","gravatar_id":"","url":"https://api.github.com/users/LouisTGT","html_url":"https://github.com/LouisTGT","followers_url":"https://api.github.com/users/LouisTGT/followers","following_url":"https://api.github.com/users/LouisTGT/following{/other_user}","gists_url":"https://api.github.com/users/LouisTGT/gists{/gist_id}","starred_url":"https://api.github.com/users/LouisTGT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouisTGT/subscriptions","organizations_url":"https://api.github.com/users/LouisTGT/orgs","repos_url":"https://api.github.com/users/LouisTGT/repos","events_url":"https://api.github.com/users/LouisTGT/events{/privacy}","received_events_url":"https://api.github.com/users/LouisTGT/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":{"login":"fonTGT","id":12489191,"avatar_url":"https://avatars.githubusercontent.com/u/12489191?v=3","gravatar_id":"","url":"https://api.github.com/users/fonTGT","html_url":"https://github.com/fonTGT","followers_url":"https://api.github.com/users/fonTGT/followers","following_url":"https://api.github.com/users/fonTGT/following{/other_user}","gists_url":"https://api.github.com/users/fonTGT/gists{/gist_id}","starred_url":"https://api.github.com/users/fonTGT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fonTGT/subscriptions","organizations_url":"https://api.github.com/users/fonTGT/orgs","repos_url":"https://api.github.com/users/fonTGT/repos","events_url":"https://api.github.com/users/fonTGT/events{/privacy}","received_events_url":"https://api.github.com/users/fonTGT/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-05-19T07:40:37Z","updated_at":"2015-05-19T08:28:50Z","closed_at":"2015-05-19T08:28:50Z","body":"void DRV_PMP0_Read(uint16_t addr,uint16_t * data)\r\n{\r\n    PLIB_PMP_AddressSet(PMP_ID_0, addr );\r\n    \r\n    /*Add Revision 1.01 Date 19.05.15 By Saranakom*/\r\n    /*Dummy read*/\r\n    /*Read data from buffer to PMDIN & from Slave to buffer */\r\n    while(PLIB_PMP_PortIsBusy(PMP_ID_0) == true);\r\n    PLIB_PMP_MasterReceive(PMP_ID_0);\r\n   /*end*/\r\n\r\n    /*Actual data shifted from buffer to PMDIN*/\r\n\twhile(PLIB_PMP_PortIsBusy(PMP_ID_0) == true);\r\n    data = PLIB_PMP_MasterReceive(PMP_ID_0);\r\n}"}}