From the course: C Programming for Embedded Applications
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Hardware awareness - C Tutorial
From the course: C Programming for Embedded Applications
Hardware awareness
- [Instructor] In embedded applications, we care about the hardware, because, well, first, embedded systems are all about digital control. So we are ultimately dealing with hardware that is reading sensor data and controlling devices, such as motors, speakers, and lights. Second, microcontroller units contain in-chip operational hardware elements, which are independent digital systems by themselves, like timers, serial ports, and analog to digital converters. Third, all of the supporting hardware, both inside and outside the chip, is typically configured by hand. Yes, there are functions and software tools provided by the manufacturer to ease this process, but you'll always have to manipulate individual bits in specific addresses to control the hardware. Because of these reasons, we need a good interface to enable our software to control the hardware in an optimal and reliable way. To get an idea of how demanding digital…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.