Fundamentals of PSoC GPIO

AUTHOR: Zlatko Saravanja

July 13th, 2004



Digital, a subset of Analog

When a computer processes information, the information is stored internally in binary form. To the programmer each bit can only have two states; either 1 or 0. Many programmers don’t need to know any more about the individual bits than this simple form. Others, especially in the embedded micro fields, unfortunately do since they interface with real world signals. These signals are analog in nature not digital. We make them digital by placing bounds on the analog signal by our definition of '1' and '0' or by using someone else’s definition, as in this case the designers of the hardware for the PSoC. It is important to remember that in order for the signal to be considered digital it must abide by the definition, but it is always inherently analog. Many problems occur when the signal is outside the scope of the definition.