<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="pl-pl">
<link rel="self" type="application/atom+xml" href="https://forum.atnel.pl/feed.php?f=4&amp;t=5317&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2013-12-29T18:06:40+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=5317&amp;mode</id>
<entry>
<author><name><![CDATA[4MaticPL]]></name></author>
<updated>2013-12-29T18:06:40+01:00</updated>
<published>2013-12-29T18:06:40+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62763#p62763</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62763#p62763"/>
<title type="html"><![CDATA[Re: Ustawianie bitów rejestru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62763#p62763"><![CDATA[
Nic nie zmieni<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2175">4MaticPL</a> — 29 gru 2013, o 18:06</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rescue1]]></name></author>
<updated>2013-12-29T14:22:44+01:00</updated>
<published>2013-12-29T14:22:44+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62722#p62722</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62722#p62722"/>
<title type="html"><![CDATA[Re: Ustawianie bitów rejestru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62722#p62722"><![CDATA[
Fakt. Initial Value &lt;facepalm&gt;<br /><br />Hmm... a ten błąd (wyzerowanie i tak wyzerowanego bitu) funkcjonalnie by coś zmienił czy to kwestia estetyki?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1819">rescue1</a> — 29 gru 2013, o 14:22</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[developer85]]></name></author>
<updated>2013-12-29T14:14:00+01:00</updated>
<published>2013-12-29T14:14:00+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62720#p62720</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62720#p62720"/>
<title type="html"><![CDATA[Re: Ustawianie bitów rejestru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62720#p62720"><![CDATA[
Powinno być tak:<br /><br />[syntax=c]GIMSK |= (1&lt;&lt;INT0);<br />MCUCR |= (1&lt;&lt;ISC00);[/syntax]<br /><br />Domyślnie wszystkie te bity są zerami.<br />Nota strona 46- ładnie pokazane - zobacz sobie<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=390">developer85</a> — 29 gru 2013, o 14:14</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[rescue1]]></name></author>
<updated>2013-12-29T14:00:03+01:00</updated>
<published>2013-12-29T14:00:03+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62718#p62718</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62718#p62718"/>
<title type="html"><![CDATA[Ustawianie bitów rejestru]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=5317&amp;p=62718#p62718"><![CDATA[
Uh....<br /><br />Mam prośbę. Bo nie wiem, czy dobrze zrozumiałem to co Mirek w niebieskiej książce opisał. Staram się ogarnąć ustawianie bitów. Chodzi mi o sprawdzenie czy to co wymyśliłem poniżej jest poprawne. <br /><br />Chcę, aby przerwanie INT0 wyzwalane było dowolnym stanem logicznym. Czyli według tabelki w dokumentacji ATTINY13 ISC01 ma być ustawione na 0 a ISC00 ma być ustawione na 1 <br /><br />ATTINY13<br /><br />[syntax=c]GIMSK |= (1&lt;&lt;INT0); /*włączenie obsługi przerwania INT0*/<br />MCUCR &amp;= ~(1&lt;&lt;ISC01) | |= (1&lt;&lt;ISC00); /*przerwanie generowane dowolną zmianą stanu logicznego*/[/syntax]<br /><br />Ogarnąłem ?  <img src="https://forum.atnel.pl/images/smilies/icon_rolleyes.gif" alt=":roll:" title="Udaje, że to nie on" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1819">rescue1</a> — 29 gru 2013, o 14:00</p><hr />
]]></content>
</entry>
</feed>