Errata for Embedded C

This thread contains all known errata for the book “Embedded C”.

If you have found a typo or bug in the book that is not yet listed here, please either submit a new thread to this forum, or contact us directly.

Pages 50 and 51

[Spotted by Kerry Veenstra — thank you]

The text that reads:

[code lang=”c” linenumbers=”off”] for (x=0; x <= 65535; x++); [/code]

Should read:

[code lang=”c” linenumbers=”off”] for (x=0; x < 65535; x++); [/code]

Page 119

[Spotted by Simon Key and Steve King — thank you]

The section describing “Mode 1” and “Mode 2” contains several errors. It should read as follows:

Mode 1 (M1 = 0; M0 = 1)

16-bit timer/counter (with manual reload)

Mode 2 (M1 = 1; M0 = 0)

8-bit timer/counter (with 8-bit auto-reload)

Page 129

[Spotted by Fernando Schlindwein — thank you]

The sentence mid-way down the page beginning:

However, this is not an inappropriate …”

… should begin:

However, this is not an appropriate …”