{"id":11627,"date":"2014-05-14T08:45:27","date_gmt":"2014-05-14T06:45:27","guid":{"rendered":"http:\/\/www.michael-floessel.de\/mfblog\/?p=11627"},"modified":"2014-05-14T08:45:27","modified_gmt":"2014-05-14T06:45:27","slug":"der-pic-12f675-teil-4-intcon-register","status":"publish","type":"post","link":"https:\/\/www.michael-floessel.de\/mfblog\/der-pic-12f675-teil-4-intcon-register\/","title":{"rendered":"Der PIC 12F675 Teil 4 \u2013 INTCON Register"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"alignleft size-medium wp-image-423\" src=\"http:\/\/www.michael-floessel.de\/mfblog\/wp-content\/uploads\/2012\/07\/pic_12f675-293x300.jpg\" alt=\"PIC \u00a9 12F675 \" width=\"293\" height=\"300\" srcset=\"https:\/\/www.michael-floessel.de\/mfblog\/wp-content\/uploads\/2012\/07\/pic_12f675-293x300.jpg 293w, https:\/\/www.michael-floessel.de\/mfblog\/wp-content\/uploads\/2012\/07\/pic_12f675.jpg 320w\" sizes=\"auto, (max-width: 293px) 100vw, 293px\" \/>Das INTCON Register beinhaltet die Settings zu den Interruptfunktionen des 12F675.<\/p>\n<p>Herstellerseitig wird empfohlen, die betreffenden Bits vor der Benutzung \u00fcber die Software zur\u00fcckzusetzen, um eine sichere Funktionen zu gew\u00e4hren.<\/p>\n<p>INTCON liegt in Bank0.<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Bit 7:<\/strong><\/p>\n<p>0 = Alle Interrupts deaktiviert.<\/p>\n<p>1 = Alle aktiviert.<\/p>\n<p>Es ist zu beachten, dass die Interrupts auch ggf. noch in den betreffenden\/weiteren Registern aktiviert werden m\u00fcssen.<\/p>\n<p><strong>Bit 6:<\/strong><\/p>\n<p>0 = Alle Interrupts deaktiviert, die intern vom PIC ausgel\u00f6st werden k\u00f6nnen.<\/p>\n<p>1 =\u00a0Alle Interrupts aktiviert, die intern vom PIC ausgel\u00f6st werden k\u00f6nnen.<\/p>\n<p>Es ist zu beachten, dass auch die Interrupts auch ggf. noch in den betreffenden\/weiteren Registern aktiviert werden m\u00fcssen. Insbsondere Register PIE1 spielt hier eine gro\u00dfe Rolle!<\/p>\n<p><strong>Bit 5:<\/strong><\/p>\n<p>0 = Timer0 Interrupt abgeschaltet<\/p>\n<p>1 = Timer0 Interrupt aktiv<\/p>\n<p><strong>Bit 4:<\/strong><\/p>\n<p>0 = GP2 Interrupt abgeschaltet<\/p>\n<p>1 = GP2 Interrupt aktiv<\/p>\n<p><strong>Bit 3:<\/strong><\/p>\n<p>0 = GPIO Interrupt abgeschaltet<\/p>\n<p>1 = GPIO Interrupt aktiv<\/p>\n<p>Dies bezieht sich nicht nur auf einen einzelnen Pin wie bei Bit 4, ein Pegelwechsel an einem Pin des gesamten GPIO-Ports kann einen Interrupt ausl\u00f6sen. Beim 12F675 kann dies jeder Pin des Ports sein.<\/p>\n<p><strong>Bit 2:<\/strong><\/p>\n<p>1 = Timer0 hat in Register TMR0 einen \u00dcberlauf ausgel\u00f6st<\/p>\n<p>0 = Timer0 hat keinen \u00dcberlauf ausgel\u00f6st.<\/p>\n<p>Man kann also auslesen, ob der Timer durchgez\u00e4hlt hat. Wichtig: Das Bit wird NICHT vom Controller zur\u00fcckgesetzt, das muss im Programm geschehen (bcf INTCON,2).<\/p>\n<p><strong>Bit 1:<\/strong><\/p>\n<p>1 = Interrupt an GP2 wurde ausgel\u00f6st<\/p>\n<p>0 = Kein Interrupt an GP2 ausgel\u00f6st.<\/p>\n<p>Auch hier muss das Bit manuell zur\u00fcck gesetzt werden, z. B. mit &#8222;bcf INTOCON,1&#8220;.<\/p>\n<p><strong>Bit 0:<\/strong><\/p>\n<p>0 = Kein Pegelwechsel an GPIO<\/p>\n<p>1 = Pegelwechsel hat an einem Pin von GPIO stattgefunden.<\/p>\n<p>Auch hier muss das Bit im Programm gel\u00f6scht werden.<\/p>\n<p>&nbsp;<br \/>\n<!-- BEGIN PARTNER PROGRAM - DO NOT CHANGE THE PARAMETERS OF THE HYPERLINK --> <script language='JavaScript' type='text\/javascript' src='http:\/\/c.webmasterplan.com\/s_ad.aspx?uid=00003e0a-01d6-003e-44db-3d1943aa4c0a'><\/script><noscript> <iframe loading=\"lazy\" allowtransparency=\"true\" framespacing=\"0\" frameborder=\"no\" scrolling=\"no\" width=\"468\" height=\"60\" marginheight=\"0\" marginwidth=\"0\" src=\"http:\/\/c.webmasterplan.com\/s_noscriptad.aspx?uid=00003e0a-01d6-003e-44db-3d1943aa4c0a\">&nbsp;<\/iframe> <\/noscript> <!-- END PARTNER PROGRAM --><br \/>\n&nbsp;<\/p>\n<!-- relpost-thumb-wrapper --><div class=\"relpost-thumb-wrapper\"><!-- filter-class --><div class=\"relpost-thumb-container\"><style>.relpost-block-single-image, .relpost-post-image { margin-bottom: 10px; }<\/style><h3>Related posts:<\/h3><div style=\"clear: both\"><\/div><div style=\"clear: both\"><\/div><!-- relpost-block-container --><div class=\"relpost-block-container relpost-block-column-layout\" style=\"--relposth-columns: 4;--relposth-columns_t: 3; --relposth-columns_m: 2\"><a href=\"https:\/\/www.michael-floessel.de\/mfblog\/projektfutter\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><div class=\"relpost-block-single-image rpt-lazyload\" aria-hidden=\"true\" role=\"img\" data-bg=\"https:\/\/www.michael-floessel.de\/mfblog\/wp-content\/uploads\/2017\/06\/miusb-1000x288.jpg\" style=\"background: transparent no-repeat scroll 0% 0%; width: 1000px; height: 288px; aspect-ratio: 16\/9;\"><\/div><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: rgb(237,201,23);\"><h4 class=\"relpost_card_title\">Projektfutter<\/h4><\/div><\/div><\/a><a href=\"https:\/\/www.michael-floessel.de\/mfblog\/raspberry-pi-problem-beim-update-apt-key\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><div class=\"relpost-block-single-image rpt-lazyload\" aria-hidden=\"true\" role=\"img\" data-bg=\"https:\/\/www.michael-floessel.de\/mfblog\/wp-content\/uploads\/2020\/07\/led-pi23-header-1000x288.jpg\" style=\"background: transparent no-repeat scroll 0% 0%; width: 1000px; height: 288px; aspect-ratio: 16\/9;\"><\/div><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: rgb(237,201,23);\"><h4 class=\"relpost_card_title\">Raspberry Pi - Problem beim Update (apt-key)<\/h4><\/div><\/div><\/a><a href=\"https:\/\/www.michael-floessel.de\/mfblog\/das-sieht-nach-arbeit-aus\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><div class=\"relpost-block-single-image rpt-lazyload\" aria-hidden=\"true\" role=\"img\" data-bg=\"https:\/\/www.michael-floessel.de\/mfblog\/wp-content\/uploads\/2026\/04\/the-joker-pic-4-michael-floessel.de_.jpg\" style=\"background: transparent no-repeat scroll 0% 0%; width: 1000px; height: 288px; aspect-ratio: 16\/9;\"><\/div><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: rgb(237,201,23);\"><h4 class=\"relpost_card_title\">Das sieht nach Arbeit aus<\/h4><\/div><\/div><\/a><a href=\"https:\/\/www.michael-floessel.de\/mfblog\/einfache-led-platine-fur-pickit2-low-pin-count-demo-board\/\"class=\"relpost-block-single\" ><div class=\"relpost-custom-block-single\"><div class=\"relpost-block-single-image rpt-lazyload\" aria-label=\"Einfache Erweiterung des Lowpincount Boards\" role=\"img\" data-bg=\"https:\/\/www.michael-floessel.de\/mfblog\/wp-content\/uploads\/2012\/07\/PicKit2_12F675_Experimentierplatine_2-1000x288.jpg\" style=\"background: transparent no-repeat scroll 0% 0%; width: 1000px; height: 288px; aspect-ratio: 16\/9;\"><\/div><div class=\"relpost-block-single-text\"  style=\"height: 75px;font-family: Arial;  font-size: 12px;  color: rgb(237,201,23);\"><h4 class=\"relpost_card_title\">Einfache LED Platine f\u00fcr Pickit2 Low Pin Count Demo Board<\/h4><\/div><\/div><\/a><\/div><!-- close relpost-block-container --><div style=\"clear: both\"><\/div><\/div><!-- close filter class --><\/div><!-- close relpost-thumb-wrapper -->","protected":false},"excerpt":{"rendered":"<p>Das INTCON Register beinhaltet die Settings zu den Interruptfunktionen des 12F675. Herstellerseitig wird empfohlen, die betreffenden Bits vor der Benutzung \u00fcber die Software zur\u00fcckzusetzen, um eine sichere Funktionen zu gew\u00e4hren. INTCON liegt in Bank0. &nbsp; &nbsp; Bit 7: 0 = &hellip; <a href=\"https:\/\/www.michael-floessel.de\/mfblog\/der-pic-12f675-teil-4-intcon-register\/\">Weiterlesen <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":11600,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[4,2269,18,19],"tags":[29,1586,2270,92,1097,93,160],"class_list":["post-11627","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-elektronik","category-pic-12f675","category-programmierung","category-tipps-tricks","tag-12f675","tag-ad","tag-intcon","tag-interrupt","tag-pin","tag-timer","tag-wandler"],"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/posts\/11627","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/comments?post=11627"}],"version-history":[{"count":0,"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/posts\/11627\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/media\/11600"}],"wp:attachment":[{"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/media?parent=11627"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/categories?post=11627"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.michael-floessel.de\/mfblog\/wp-json\/wp\/v2\/tags?post=11627"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}