{"id":463,"date":"2014-06-04T10:28:38","date_gmt":"2014-06-04T10:28:38","guid":{"rendered":"https:\/\/ibex.tech\/embedded\/?p=463"},"modified":"2022-02-18T15:37:49","modified_gmt":"2022-02-18T15:37:49","slug":"interrupts","status":"publish","type":"post","link":"https:\/\/ibex.tech\/embedded\/microchip\/dspic\/xc16-dspic\/interrupts","title":{"rendered":"Interrupts"},"content":{"rendered":"<h4>\nExample Interrupt Functions<br \/>\n<\/h4>\n<pre>\r\n<code>\r\n\/\/Timer 45 Interrupt\r\nvoid __attribute__((interrupt, auto_psv)) _T5Interrupt(void)\r\n{\r\n\t_T5IF = 0;\t\t\t\t\t\t\t\t\t \/\/Clear interrupt flag\r\n\r\n\/\/Timer 6 interrupt\r\nvoid __attribute__((interrupt, auto_psv)) _T6Interrupt(void)\r\n{\r\n\t_T6IF = 0;\t\t\t\t\t\t\t\t\t \/\/Clear interrupt flag\r\n\r\n\/\/Timer 7 interrupt\r\nvoid __attribute__((interrupt, auto_psv)) _T7Interrupt(void)\r\n{\r\n\t_T7IF = 0;\t\t\t\t\t\t\t\t\t \/\/Clear interrupt flag\r\n\t\r\n<\/code><\/pre>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;\n<\/p>\n<p>\n&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Example Interrupt Functions \/\/Timer 45 Interrupt void __attribute__((interrupt, auto_psv)) _T5Interrupt(void) { _T5IF = 0; \/\/Clear interrupt flag \/\/Timer 6 interrupt void __attribute__((interrupt, auto_psv)) _T6Interrupt(void) { _T6IF = 0; \/\/Clear interrupt flag \/\/Timer 7 interrupt void __attribute__((interrupt, auto_psv)) _T7Interrupt(void) { _T7IF = 0; \/\/Clear interrupt flag &nbsp; &nbsp; &nbsp;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[51],"tags":[],"class_list":["post-463","post","type-post","status-publish","format-standard","hentry","category-xc16-dspic"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/463","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/comments?post=463"}],"version-history":[{"count":1,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/463\/revisions"}],"predecessor-version":[{"id":464,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/463\/revisions\/464"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/media?parent=463"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/categories?post=463"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/tags?post=463"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}