File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11# Example Chapter04_04a
2+
23## LED Objects and Polymorphism via References
34
45Example chapter04_04a implements the same basic functionality
Original file line number Diff line number Diff line change 11# Example Chapter06_01
2+
23## A CRC Benchmark
34
45<p align =" center " >
5- <a href="https://godbolt.org/z/ssTK8TjWj" alt="godbolt" >
6- <img src="https://img.shields.io/badge/try%20it%20on-godbolt-green" /></a>
6+ <a href="https://godbolt.org/z/ssTK8TjWj">
7+ <img src="https://img.shields.io/badge/try%20it%20on-godbolt-green" alt="godbolt" /></a>
78</p >
89
910Example chapter06_01 illustrates certain optimization
@@ -73,8 +74,7 @@ std::uint32_t crc32_mpeg2(input_iterator first,
7374## Application Description
7475
7576One of the standard tests of a CRC is to compute the checksum
76- of the digits
77- <img src="https://render.githubusercontent.com/render/math?math=1{\ldots}9">.
77+ of the digits $1 \ldots 9$.
7878Please note here that the digits are not decimal values.
7979They are the ASCII representations instead. In other words,
8080the standard CRC test computes the checksum of a byte array such as
@@ -101,7 +101,7 @@ of the the expected result.
101101The benchmark port pin ` portd.3 ` is toggled high
102102prior to the CRC calculation and low following the calculation.
103103This provides a time pulse that can easily be measured
104- on the oscilloscpoe . For the 8-bit target, expect
104+ on the oscilloscope . For the 8-bit target, expect
105105a CRC runtime of approximately $300~ {\mu}\text{s}$.
106106
107107The benchmark port definition can be located in the file
You can’t perform that action at this time.
0 commit comments