Embedded Systems Programming, April 2004 - Embedded.com

Embedded Systems Programming, April 2004

April ESP

VOL. 17 NO. 4
April 2004

Table of Contents

spacer

Cover Story

How to hit a moving target
by Sam Denard
How does a skeet shooter spot clay pigeons and shoot them down? The shooter calculates their trajectories in real time. Here's how you can calculate trajectories in embedded systems software.

FPGA programming step by step
by Ed Klingman
FPGAs and microprocessors are more similar than you may think. Here's a primer on how to program an FPGA and some reasons why you'd want to.

Learn a new trick with the offsetof() macro
by Nigel Jones
Almost never used, the offsetof() macro can actually be a helpful addition to your bag of tricks. Here are a couple of places in embedded systems where the macro is indispensable—packing data structures and describing how EEPROM data are stored.

Columns

Murphy's Law
Start me up

by Niall Murphy
Variables often pick up the wrong value during initializations, producing hard-to-find bugs. Here are tips for getting the numbers right.

Break Points
The secret life of switches

by Jack G. Ganssle
When a switch opens or closes, the contacts rebound several times. Jack investigates this behavior by testing a variety of switches.

Significant Bits
Taming the x86 beast

by Jim Turley
Athough the x86 architecture is a quarter century old, the introduction of protected mode changes how you program newer members of the family.

Technical Advice

Programming Pointers
More about C++ classes

by Dan Saks
Class constructors guarantee object initialization. Const member functions protect objects from spurious changes

Departments

#include
Good news, bad news

by Lindsey Vereen
Industry veteran Jim Turley has agreed to take the helm at “Embedded Systems Programming.” Learn all the details here.

New Products

OEM Products

Software

Chips

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.