<?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=58&amp;t=6950&amp;mode" />

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2014-05-02T21:07:17+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=58&amp;t=6950&amp;mode</id>
<entry>
<author><name><![CDATA[skrzypek01]]></name></author>
<updated>2014-05-02T21:07:17+01:00</updated>
<published>2014-05-02T21:07:17+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79882#p79882</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79882#p79882"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79882#p79882"><![CDATA[
Dzięki<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4218">skrzypek01</a> — 2 maja 2014, o 21:07</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kaka0204]]></name></author>
<updated>2014-05-02T20:51:09+01:00</updated>
<published>2014-05-02T20:51:09+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79878#p79878</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79878#p79878"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79878#p79878"><![CDATA[
Tak.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=889">kaka0204</a> — 2 maja 2014, o 20:51</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[skrzypek01]]></name></author>
<updated>2014-05-02T20:45:18+01:00</updated>
<published>2014-05-02T20:45:18+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79877#p79877</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79877#p79877"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79877#p79877"><![CDATA[
Ale to :<br /><br />#define PORT_C (1&lt;&lt;PC0)<br />#define SET DDRC |=PORT_C<br />#define CLEAR DDRC &amp;= ~PORT_C<br /><br />jest równoważne z tym ?:<br /><br />#define WE 0<br />#define SET DDRC |=_BV(WE)<br />#define CLEAR DDRC &amp;= ~_BV(WE)<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4218">skrzypek01</a> — 2 maja 2014, o 20:45</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[kaka0204]]></name></author>
<updated>2014-05-02T19:47:42+01:00</updated>
<published>2014-05-02T19:47:42+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79869#p79869</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79869#p79869"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79869#p79869"><![CDATA[
Nie jest równoznaczne, wg. to jest błędne.<br /><br />[syntax=c]#define PORT (1&lt;&lt;PC0)[/syntax]<br /><br />Błąd. <br /><br />[syntax=c]#define PIN PINC[/syntax]<br /><br />To wg. nie jest używane.<br /><br />Powinno to wyglądać tak:<br /><br />[syntax=c]#define PORT_C (1&lt;&lt;PC0) <br />#define SET DDRC |=PORT_C<br />#define CLEAR DDRC &amp;= ~PORT_C[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=889">kaka0204</a> — 2 maja 2014, o 19:47</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ciamciak]]></name></author>
<updated>2014-05-02T19:32:48+01:00</updated>
<published>2014-05-02T19:32:48+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79866#p79866</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79866#p79866"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79866#p79866"><![CDATA[
Przetestuj <img src="https://forum.atnel.pl/images/smilies/icon_e_wink.gif" alt=";)" title="Puszcza oko" /><p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1254">ciamciak</a> — 2 maja 2014, o 19:32</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[skrzypek01]]></name></author>
<updated>2014-05-02T19:31:00+01:00</updated>
<published>2014-05-02T19:31:00+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79864#p79864</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79864#p79864"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79864#p79864"><![CDATA[
Odpowiedź &quot;raczej&quot; trochę mnie nie zadawala:p<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4218">skrzypek01</a> — 2 maja 2014, o 19:31</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ciamciak]]></name></author>
<updated>2014-05-02T18:47:59+01:00</updated>
<published>2014-05-02T18:47:59+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79858#p79858</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79858#p79858"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79858#p79858"><![CDATA[
Raczej tak.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1254">ciamciak</a> — 2 maja 2014, o 18:47</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[skrzypek01]]></name></author>
<updated>2014-05-02T18:37:39+01:00</updated>
<published>2014-05-02T18:37:39+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79853#p79853</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79853#p79853"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79853#p79853"><![CDATA[
Już zmieniłem na poprawnie, zamiast ONEWIRE_PORT powinno być same PORT. Czy teraz są równoważne?<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4218">skrzypek01</a> — 2 maja 2014, o 18:37</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[ciamciak]]></name></author>
<updated>2014-05-02T18:18:46+01:00</updated>
<published>2014-05-02T18:18:46+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79851#p79851</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79851#p79851"/>
<title type="html"><![CDATA[Re: Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79851#p79851"><![CDATA[
Nie są równoważne bo nie są kompletne.<br />Niema m.in. definicji ONEWIRE_PORT.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=1254">ciamciak</a> — 2 maja 2014, o 18:18</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[skrzypek01]]></name></author>
<updated>2014-05-02T18:36:35+01:00</updated>
<published>2014-05-02T18:13:24+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79850#p79850</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79850#p79850"/>
<title type="html"><![CDATA[Pytanie o definicje portów.]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=6950&amp;p=79850#p79850"><![CDATA[
Witam.<br />Czy poniższe definicje portów są sobie równoważne?:<br /><br />#define WE 0<br />#define PIN  PINC<br />#define SET  DDRC |=_BV(WE)<br />#define CLEAR    DDRC &amp;= ~_BV(WE)<br /><br />Oraz:<br /><br />#define PIN  PINC<br />#define PORT (1&lt;&lt;PC0)   <br />#define SET  DDRC |=PORT    <br />#define CLEAR   DDRC &amp;= ~PORT    <br /><br />Z góry dzięki za odpowiedź.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4218">skrzypek01</a> — 2 maja 2014, o 18:13</p><hr />
]]></content>
</entry>
</feed>