<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
A co se podívat do zdrojáků nějakých knihoven, které se reálně
používají?<br>
<br>
PL<br>
<br>
*********************<br>
<br>
<div class="moz-cite-prefix">Dne 19.12.2023 v 21:48 Petr Stehlik
napsal(a):<br>
</div>
<blockquote type="cite"
cite="mid:cc7d73c5-d035-4c1d-8a55-ec2f35266a16@atlas.cz">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<p>Hmm</p>
<p>U TC1 v DS k 324PB se odvolávají na ten popis co jsem uvedl
(8.6 Accessing 16-bit Registers) a o pár řádku píšou <br>
</p>
<p>Accessing the low byte triggers the 16-bit read or write
operation: When the low byte of a 16-bit register is<br>
written by the CPU, the high byte that is currently stored in
TEMP and the low byte being written are both<br>
copied into the 16-bit register in the same clock cycle. When
the low byte of a 16-bit register is read by the CPU, the high
byte of the 16-bit register is copied into the TEMP register in
the same clock cycle as<br>
the low byte is read, and must be read subsequently.<br>
</p>
<p>Tak co platí?</p>
<p>Díky Petr<br>
</p>
<div class="moz-cite-prefix">Dne 19.12.2023 v 21:28 Petr Stehlik
napsal(a):<br>
</div>
<blockquote type="cite"
cite="mid:c3176d37-ef12-4bc2-9c12-146c53302413@atlas.cz">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<p>Zdravím</p>
<p>V DS u ATmega 328 a jiných je napsáno:</p>
<p>For a write operation, the <b>high</b> byte of the 16-bit
register must be written before the<b> low</b> byte. The high<br>
byte is then written into the temporary register.</p>
<p><br>
</p>
<p>V DS u ATmega 324PB a jiných je napsáno:</p>
<p>For a write operation, the<b> low</b> byte of the 16-bit
register must be written before the <b>high</b> byte. The low
byte<br>
is then written into the temporary register.</p>
<p> Nemám tu 324 fyzicky tak to nemohu ověřit, je to chyba v DS
nebo je to nějaká změna ve struktuře AVR?</p>
<p>Petr<br>
</p>
<br>
</blockquote>
</blockquote>
<br>
</body>
</html>