Applying C is the book you need if you are programming for Single Board Computers (SBCs) that run Linux, or if you do any coding in C that interacts with the hardware. As there isn't a good name for this body of knowledge, it isn't easy to find a single source for it. This book gathers together all of these low-level, hardware-oriented and often hardware-specific ideas. As such it is a moderately advanced book. This is not to say that it is difficult, but it does presuppose that you already know how to program in C and ...
Read More
Applying C is the book you need if you are programming for Single Board Computers (SBCs) that run Linux, or if you do any coding in C that interacts with the hardware. As there isn't a good name for this body of knowledge, it isn't easy to find a single source for it. This book gathers together all of these low-level, hardware-oriented and often hardware-specific ideas. As such it is a moderately advanced book. This is not to say that it is difficult, but it does presuppose that you already know how to program in C and that you know the basic idioms of C. Starting off from the very simple task of making a program run automatically, we look at how your program works with user-mode Linux. If you are working with hardware, arithmetic cannot be ignored and separate chapters are devoted to integer, fixed-point and floating-point arithmetic. Equally, to handle I/O you need to have a good grasp of files and the pseudo file system. The dev/mem file coupled with memory-mapped files makes it possible to work with raw memory without leaving user mode. Sockets are general-purpose way of communicating over networks and similar infrastructure and here the focus is on sending data over the internet and for this we build a web client and a server. Next we consider graphics, which you might find unusual in a book on small systems, but today even small systems have GPUs and graphics comes as standard. It is common to think of adding low-cost output devices such as 7-segment displays to IoT devices, but with low cost HDMI/DVI displays available it becomes cost effective to simply use the built-in graphics hardware. After this we turn to the idea of multi-tasking using Pthreads. As well as looking at threads, we consider locking, using mutex and condition variables, and scheduling. Although interrupts don't exist in user-mode Linux, we can get very close using poll and threading. Now that multiple cores are a feature of even low-cost SBC, in later chapters we cover managing cores, look at C11's atomics and introduce its memory models and barriers. Finally we take a short look at how to mix assembler with C. Harry Fairhead has a hardware background and, having worked with microprocessors and electronics in general, for many years, he is an enthusiastic proponent of the IoT. He is the author of Fundamental C: Getting Closer To The Machine and his other recent titles include Raspberry Pi IoT in C and Micro: bit IoT in C .
Read Less
Add this copy of Applying C for the Iot With Linux to cart. $13.88, good condition, Sold by Zoom Books Company rated 4.0 out of 5 stars, ships from Lynden, WA, UNITED STATES, published 2019 by I/O Press.
Choose your shipping method in Checkout. Costs may vary based on destination.
Seller's Description:
Book is in good condition and may include underlining highlighting and minimal wear. The book can also include From the library of labels. May not contain miscellaneous items toys dvds etc. We offer 100% money back guarantee and 24 7 customer service.
Add this copy of Applying C for the Iot With Linux to cart. $14.83, good condition, Sold by Goodwill of Orange County rated 4.0 out of 5 stars, ships from Santa Ana, CA, UNITED STATES, published 2019 by I/O Press.
Choose your shipping method in Checkout. Costs may vary based on destination.
Seller's Description:
Book has internal/external wear and/or highlighting and underlining. It may have creases on the cover and some folded pages. This is a USED book. Codes have been used. All items ship Monday-Friday within 2-3 business days. Thank you for supporting Goodwill of OC.
Add this copy of Applying C For The IoT With Linux to cart. $24.14, new condition, Sold by Ingram Customer Returns Center rated 5.0 out of 5 stars, ships from NV, USA, published 2019 by I/O Press.
Add this copy of Applying C for the Iot With Linux to cart. $36.74, new condition, Sold by Russell Books rated 4.0 out of 5 stars, ships from Victoria, BC, CANADA, published 2019 by I/O Press.
Add this copy of Applying C for the Iot With Linux to cart. $47.19, good condition, Sold by Bonita rated 4.0 out of 5 stars, ships from Newport Coast, CA, UNITED STATES, published 2019 by I/O Press.
Add this copy of Applying C for the Iot With Linux to cart. $79.98, new condition, Sold by Bonita rated 4.0 out of 5 stars, ships from Newport Coast, CA, UNITED STATES, published 2019 by I/O Press.