Abstract
The most fundamental physical interaction of a processor with external devices involves monitoring or setting several input/output package pins simultaneously.
The chapter covers the PIC18 family implementation of Parallel ports; including register structure, pin direction control, electrical and software considerations and the generation of interrupts from state changes at Part B. Topics also include handshaking and electrical parameters; including voltage levels, noise and power considerations.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Notes
- 1.
Aide-mémoire: 0 for Output and 1 for Input.
- 2.
There is no staticizer latch in the low-range 12-bit family.
- 3.
Exceptionally, the PIC18F1220 only uses these buffers on Port B.
- 4.
Typically somewhere between 25 mA and 45 mA (see Example 11.1). Note the 25 mA maximum rating for any one pin limit!
- 5.
Typically around 45–80 mA; see Fig. 11.22.
- 6.
Except movff.
- 7.
But not the PIC18F1220/1330 device.
- 8.
A real stepper motor repeats the coil set several times around the peripheral motor stator giving a finer mechanical step resolution. Thus, if there are four sets of stator coils the 45°C electrical step translates to 11.25°C mechanical.
- 9.
Of course this is how the brain interprets a series of 24 still frames per minute in a movie as a moving image. Each frame is shown twice using a 2-bladed shutter, giving a flicker rate of 48 per second.
- 10.
For an example, see my The Quintessential PIC ® Microcontroller Fig. 11.12.
Author information
Authors and Affiliations
Corresponding author
Rights and permissions
Copyright information
© 2010 Springer-Verlag London Limited
About this chapter
Cite this chapter
Katzen, S. (2010). One Byte at a Time. In: The Essential PIC18® Microcontroller. Computer Communications and Networks. Springer, London. https://doi.org/10.1007/978-1-84996-229-2_11
Download citation
DOI: https://doi.org/10.1007/978-1-84996-229-2_11
Publisher Name: Springer, London
Print ISBN: 978-1-84996-228-5
Online ISBN: 978-1-84996-229-2
eBook Packages: Computer ScienceComputer Science (R0)