{"id":1134,"date":"2020-08-26T17:07:13","date_gmt":"2020-08-26T17:07:13","guid":{"rendered":"https:\/\/ibex.tech\/embedded\/?p=1134"},"modified":"2024-07-18T15:41:50","modified_gmt":"2024-07-18T14:41:50","slug":"tmr-using-mcc","status":"publish","type":"post","link":"https:\/\/ibex.tech\/embedded\/microchip\/mplab-x\/mcc\/peripherals\/pic16-peripherals\/tmr-using-mcc","title":{"rendered":"TMR (using MCC)"},"content":{"rendered":"\n<h4 class=\"wp-block-heading\">TMR0 &#8211; IRQ<\/h4>\n\n\n\n<h5 class=\"wp-block-heading\">Using your own irq function<\/h5>\n\n\n\n<pre class=\"wp-block-code\"><code>#include \"mcc_generated_files\/tmr0.h\"\n\n\t\/\/----- SET ADDRESS OF OUR INTERRUPT HANDLERS -----\n\tTMR0_SetInterruptHandler(*Our_TMR0_InterruptHandler);\n\n\tTMR0_StartTimer();\n\n\n\/\/***********************************************\n\/\/***********************************************\n\/\/********** TIMER 0 INTERRUPT HANDLER **********\n\/\/***********************************************\n\/\/***********************************************\nvoid Our_TMR0_InterruptHandler(void) \n{\n\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>TMR0 &#8211; IRQ Using your own irq function<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[130,133],"tags":[],"class_list":["post-1134","post","type-post","status-publish","format-standard","hentry","category-pic16-peripherals","category-timers-and-delays-xc8-compiler-pic16"],"_links":{"self":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1134","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=1134"}],"version-history":[{"count":7,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1134\/revisions"}],"predecessor-version":[{"id":1559,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/posts\/1134\/revisions\/1559"}],"wp:attachment":[{"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/media?parent=1134"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/categories?post=1134"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ibex.tech\/embedded\/wp-json\/wp\/v2\/tags?post=1134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}