<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=ProgId content=Word.Document>
<meta name=Generator content="Microsoft Word 10">
<meta name=Originator content="Microsoft Word 10">
<link rel=File-List href="cid:filelist.xml@01C73FBA.13B7AD60">
<!--[if gte mso 9]><xml>
<o:OfficeDocumentSettings>
<o:DoNotRelyOnCSS/>
</o:OfficeDocumentSettings>
</xml><![endif]--><!--[if gte mso 9]><xml>
<w:WordDocument>
<w:GrammarState>Clean</w:GrammarState>
<w:DocumentKind>DocumentEmail</w:DocumentKind>
<w:HyphenationZone>21</w:HyphenationZone>
<w:EnvelopeVis/>
<w:Compatibility>
<w:BreakWrappedTables/>
<w:SnapToGridInCell/>
<w:WrapTextWithPunct/>
<w:UseAsianBreakRules/>
</w:Compatibility>
<w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
</w:WordDocument>
</xml><![endif]-->
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:Wingdings;
        panose-1:5 0 0 0 0 0 0 0 0 0;
        mso-font-charset:2;
        mso-generic-font-family:auto;
        mso-font-pitch:variable;
        mso-font-signature:0 268435456 0 0 -2147483648 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {mso-style-parent:"";
        margin:0cm;
        margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:12.0pt;
        font-family:"Times New Roman";
        mso-fareast-font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;
        text-underline:single;}
a:visited, span.MsoHyperlinkFollowed
        {color:purple;
        text-decoration:underline;
        text-underline:single;}
span.StylZprvyElektronickPoty17
        {mso-style-type:personal-compose;
        mso-style-noshow:yes;
        mso-ansi-font-size:10.0pt;
        mso-bidi-font-size:10.0pt;
        font-family:Arial;
        mso-ascii-font-family:Arial;
        mso-hansi-font-family:Arial;
        mso-bidi-font-family:Arial;
        color:windowtext;}
span.GramE
        {mso-style-name:"";
        mso-gram-e:yes;}
@page Section1
        {size:595.3pt 841.9pt;
        margin:70.85pt 70.85pt 70.85pt 70.85pt;
        mso-header-margin:35.4pt;
        mso-footer-margin:35.4pt;
        mso-paper-source:0;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:646084332;
        mso-list-type:hybrid;
        mso-list-template-ids:-1420238976 -687964710 67436547 67436549 67436545 67436547 67436549 67436545 67436547 67436549;}
@list l0:level1
        {mso-level-start-at:0;
        mso-level-number-format:bullet;
        mso-level-text:-;
        mso-level-tab-stop:36.0pt;
        mso-level-number-position:left;
        text-indent:-18.0pt;
        font-family:Arial;
        mso-fareast-font-family:"Times New Roman";}
ol
        {margin-bottom:0cm;}
ul
        {margin-bottom:0cm;}
-->
</style>
<!--[if gte mso 10]>
<style>
/* Style Definitions */
table.MsoNormalTable
        {mso-style-name:"Norm\00E1ln\00ED tabulka";
        mso-tstyle-rowband-size:0;
        mso-tstyle-colband-size:0;
        mso-style-noshow:yes;
        mso-style-parent:"";
        mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
        mso-para-margin:0cm;
        mso-para-margin-bottom:.0001pt;
        mso-pagination:widow-orphan;
        font-size:10.0pt;
        font-family:"Times New Roman";}
</style>
<![endif]-->
</head>
<body lang=CS link=blue vlink=purple style='tab-interval:35.4pt'>
<div class=Section1>
<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'>Nikdy jsem
vlastne poradne s ATMEGA nedelal, tak mam par nejasnosti.</span></font></span><font
size=2 face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'> Ted <span class=GramE>delam</span> kousek zarizeni na
ATMEGA8, cast programu uz je, C v pohode, nechapu, ze jsem ztracel cas s PIC a
assemblerem…<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p> </o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1;
tab-stops:list 36.0pt'><![if !supportLists]><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-fareast-font-family:
Arial;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><span class=GramE><font size=2
face=Arial><span lang=EN-US style='font-size:10.0pt;font-family:Arial;
mso-ansi-language:EN-US'>jaky</span></font></span><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'>
je rozdil v nastaveni optimalizace – pochopil jsem podle listu, ze O0
neoptimalizuje a vznika priserny kod, ale mezi O1-O3, Os jsem nenasel rozdil.<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1;
tab-stops:list 36.0pt'><![if !supportLists]><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-fareast-font-family:
Arial;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'>Je
nejaka finta, jak protlacit umisteni lokalnich promennych v registrech? Zatim
se mi nepodarilo a stale nacitani <span class=GramE>a</span> ukladani do SRAM
je dost neefektivni. Nejaka finta/direktiva pro umisteni dat?<o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1;
tab-stops:list 36.0pt'><![if !supportLists]><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-fareast-font-family:
Arial;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'>Jak
bezne generujete periodicke preruseni? <span class=GramE>Ja</span> k tomu
vyuzil timer 1 v CTC rezimu, ktereho je na to ale celkem skoda (tady ho ale k
nicemu jinemu nepotrebuju). Jde mi o to, abych nemusel programove reloadovat a <span
class=GramE>mel</span> “hezkou” casovou periodu, coz myslim timer0
ani 2 neumi??? <span style='mso-spacerun:yes'> </span><o:p></o:p></span></font></p>
<p class=MsoNormal style='margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo1;
tab-stops:list 36.0pt'><![if !supportLists]><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-fareast-font-family:
Arial;mso-ansi-language:EN-US'><span style='mso-list:Ignore'>-<font size=1
face="Times New Roman"><span style='font:7.0pt "Times New Roman"'>
</span></font></span></span></font><![endif]><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'>Je
nejaka direktiva, s kterou by se <span class=GramE>daly</span> definovat
promenne typu bit a tim byla zefektivnena prace s bitovymi flagy? <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span lang=EN-US style='font-size:
10.0pt;font-family:Arial;mso-ansi-language:EN-US'><o:p> </o:p></span></font></p>
<p class=MsoNormal><span class=GramE><font size=2 face=Arial><span lang=EN-US
style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'>Diky za
pripadne namety zkusenejsich.</span></font></span><font size=2 face=Arial><span
lang=EN-US style='font-size:10.0pt;font-family:Arial;mso-ansi-language:EN-US'> Vubec
nejlepsi by byl nejaky odkaz, kde by veci specificke pro AVR byly nejak
popsany, nemam moc casu se tim zabyvat ale taky nechci, aby byl vysledek
zbytecne neefektivni (I kdyz v tomhle pripade to je asi jedno, ale AVR se mi
libi ;-<span class=GramE>) )</span><o:p></o:p></span></font></p>
</div>
</body>
</html>