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

<title>ATNEL tech-forum</title>
<link href="https://forum.atnel.pl/index.php" />
<updated>2015-07-26T18:54:42+01:00</updated>

<author><name><![CDATA[ATNEL tech-forum]]></name></author>
<id>https://forum.atnel.pl/feed.php?f=4&amp;t=12435&amp;mode</id>
<entry>
<author><name><![CDATA[Anonymous]]></name></author>
<updated>2015-07-26T18:54:42+01:00</updated>
<published>2015-07-26T18:54:42+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135570#p135570</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135570#p135570"/>
<title type="html"><![CDATA[Re: wskaźnik na zmienną ulotną]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135570#p135570"><![CDATA[
Tak. Ale tu nie chodziło o ulotny wskaźnik na coś, tylko o wskaźnik na ulotne coś <img src="https://forum.atnel.pl/images/smilies/icon_e_smile.gif" alt=":)" title="Szczęśliwy" /><p>Statystyki: Napisane przez Gość — 26 lip 2015, o 18:54</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[Daniel880]]></name></author>
<updated>2015-07-26T16:12:38+01:00</updated>
<published>2015-07-26T16:12:38+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135556#p135556</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135556#p135556"/>
<title type="html"><![CDATA[Re: wskaźnik na zmienną ulotną]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135556#p135556"><![CDATA[
A czy czasami dopiero taki zapis nie gwarantuje, ze adres we wskazniku jest volatile?<br />[syntax=c]uint8_t * volatile wsk;[/syntax]<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=2328">Daniel880</a> — 26 lip 2015, o 16:12</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[#99]]></name></author>
<updated>2015-07-26T15:52:02+01:00</updated>
<published>2015-07-26T15:52:02+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135553#p135553</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135553#p135553"/>
<title type="html"><![CDATA[Re: wskaźnik na zmienną ulotną]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135553#p135553"><![CDATA[
Super Panowie teraz wszystko działa jak powinno, kompilator uciszony <img src="https://forum.atnel.pl/images/smilies/icon_e_biggrin.gif" alt=":D" title="Bardzo szczęśliwy" /> Dziękuję za pomoc i pozdrawiam.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4052">#99</a> — 26 lip 2015, o 15:52</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2015-07-24T16:48:39+01:00</updated>
<published>2015-07-24T16:48:39+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135417#p135417</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135417#p135417"/>
<title type="html"><![CDATA[Re: wskaźnik na zmienną ulotną]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135417#p135417"><![CDATA[
<div class="quotetitle">mokrowski napisał(a):</div><div class="quotecontent"><br />Plus jest taki że wskaźnik zachowuje charakter &quot;volatilowy&quot;.<br /></div><br /><br />Ja bym powiedział tak - &quot;co racja to racja&quot; - tak będzie lepiej <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=54">mirekk36</a> — 24 lip 2015, o 16:48</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[mirekk36]]></name></author>
<updated>2015-07-24T15:47:22+01:00</updated>
<published>2015-07-24T15:47:22+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135406#p135406</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135406#p135406"/>
<title type="html"><![CDATA[Re: wskaźnik na zmienną ulotną]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135406#p135406"><![CDATA[
no ale co się dziwisz - skoro pomijasz ten specyfikator przy typie wskaźnikowym ? ... musisz zrobić jawne rzutowanie<br /><br />[syntax=c]uint8_t *p_trigg = (uint8_t*)&amp;trigg;[/syntax]<br /><br />teraz będzie gites majonez <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=54">mirekk36</a> — 24 lip 2015, o 15:47</p><hr />
]]></content>
</entry>
<entry>
<author><name><![CDATA[#99]]></name></author>
<updated>2015-07-24T15:21:40+01:00</updated>
<published>2015-07-24T15:21:40+01:00</published>
<id>https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135401#p135401</id>
<link href="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135401#p135401"/>
<title type="html"><![CDATA[wskaźnik na zmienną ulotną]]></title>

<content type="html" xml:base="https://forum.atnel.pl/viewtopic.php?t=12435&amp;p=135401#p135401"><![CDATA[
Definiuję zmienną globalną wraz ze specyfikatorem volatile, gdyż będzie ona modyfikowana wewnątrz procedury przerwania, a zaraz po tym definiuję wskaźnik na nią:<br />[syntax=c]volatile uint8_t trigg = 16;<br />uint8_t *p_trigg = &amp;trigg;[/syntax]<br />kompilator wyrzuca mi nastepujące ostrzeżenie:<br /><div class="quotetitle"><b>Quote:</b></div><div class="quotecontent"><br />initialization discards qualifiers from pointer target type<br /></div><br />Program działa tak jak działać powinien jednak zastanawia mnie to ostrzeżenie, prosiłbym o wytłumaczenie powyższego ostrzeżenia.<p>Statystyki: Napisane przez <a href="https://forum.atnel.pl/memberlist.php?mode=viewprofile&amp;u=4052">#99</a> — 24 lip 2015, o 15:21</p><hr />
]]></content>
</entry>
</feed>