Focusing on Microchip Technology's "PIC" microcontroller chips capacity to integrate features of a digital design, this book introduces program writing with a series of code templates that helps readers learn by doing rather that start code writing from scratch. Using detailed block diagrams to illustrate registers, control bits, and status bits associated with assorted functions, the book also provides examples to illustrate points and to demonstrate how assorted issues can be handled. It provides a systematic path into the PIC microcontrollers by showing its organization and ways to deal with idiosyncrasies. Provides alternative methods for addressing interrupt timing constraints to meet the needs of all interrupt sources. Presents a systematic treatment of slowly changing events, including keyswitches that have been debounced and scanned with a state machine implementation. Discusses a number of important topics, including the PIC's flexible analog-to-digital conversion facility; the master-slave interconnection of PICs; low-power operation alternatives; and comparisons of PIC family members for design requirement analysis. An essential reference book on the PIC microcontroller for every professional engineer or designer.
Focuses on the use of Microchip Technology's "PIC" microcontroller chips to integrate the features of a digital design. The book introduces program writing with a series of code templates that helps readers learn by doing, rather that start their own code writing from scratch.
FEATURES:
- Uses detailed block diagrams to illustrate all registers, control bits, and status bits associated with assorted functions.
- Uses examples throughout to illustrate points and to show readers how assorted issues can be handled.
- Provides a systematic path into the PIC microcontrollers by showing its organization and ways to deal with its complexities.
- Provides alternative methods for addressing interrupt timing constraints designed to meet the needs of all interrupt sources.
- Presents a systematic treatment of slowly changing events, including keyswitches that have been debounced and scanned with a state machine implementation.
- Includes the I/O port expansion using the serial peripheral interface that provides a simple mechanism for eliminating the problem of "not enough pins."
- Presents expansion with I2C devices.
- Presents the details of the PIC's unusually flexible analog-to- digital conversion facility.
- Discusses the master-slave interconnection of PICs.
- Presents low-power operation alternatives.
- Provides quick insight into the family member which will meet design requirements with block diagram comparisons of PIC family members.(Figure A-4)
- Includes several important pedagogical features:
- Problems at the end of each chapter reinforce the material presented.