12.11.2014 Views

FLASHit 9-STM32 Manual - hse-electronics GmbH

FLASHit 9-STM32 Manual - hse-electronics GmbH

FLASHit 9-STM32 Manual - hse-electronics GmbH

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>FLASHit</strong> 9-<strong>STM32</strong> <strong>Manual</strong><br />

7.4 Sources of Checksum Function<br />

ADD32 (Add Bytes)<br />

unsigned int ChecksumADD32( unsigned long ulA1, unsigned long ulA2,<br />

unsigned long ulA3, unsigned long ulA4 )<br />

{<br />

unsigned int uiChecksumADD32 = 0;<br />

unsigned long ulAddress;<br />

// address range<br />

for (ulAddress = ulA1; ulAddress >=1;<br />

ucData >>=1;<br />

}<br />

}<br />

return( uiCRC6 );<br />

}<br />

10-06 Seite 32 e-flashit-manual-cortex18.docx

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!