Embedded Systems
mcore.txt
Associated article: Low-Level APIs for Embedded Systems
Tags: Embedded Systems
Published source code accompanying the article by Tom Cunningham and Chad Peckham in which they APIs for embedded and real-time systems tackle debugger interfacing, task management, low-level device I/O, and the like. Tom and Chad examine a pair of APIs that are typical of low-level programming interfaces in embedded environments, focusing on the Motorola M-CORE architecture.
Low-level APIs for Embedded Systems
by Tom Cunningham and Chad Peckham
Listing One
while (!((data = uart->URX) & URX_CHARRDY) && /* no data */
!(data & URX_ERR) &&
timeout != 0)
{
if (timeout > 0)
{
for (i = 0; i < delay; ...


