-
Embedded C Programming and the Microchip PIC
This new book is carefully designed to teach C language programming as it applies to embedded microcontrollers and to fuel knowledge in the application of the Microchip® family of PIC® microcontrollers. Coverage begins with a step-by-step exploration of the C language showing readers how to create C language programs to solve problems. PIC processors are then studied, from basic architecture to all of the standard peripheral devices included in the microcontrollers. Numerous worked-out example programs demonstrate common uses for each of the peripherals. Readers are subsequently introduced to the built-in functions available in C, to help speed their programming and problem solving. Finally, readers are taken through use of the C Compiler, and learn to efficiently develop custom projects.
-
Serial PIC'n : PIC Microcontroller Serial Communications
Serial PIC'n details various methods for implementing serial communications between a Microchip PIC microcontroller and an external device. Asynchronous serial communications is covered both by using an on-chip USART and by bit-bang methods. The RS-232 standard is explained. A discussion of synchronous serial communications includes the I2C (Philips Semiconductors), SPI (Motorola) and Microwire (National Semiconductor) protocols. The Dallas Semiconductor 1-Wire bus is described. Many code examples are included as modules which will provide the basis for the reader's own PIC microcontroller applications.
|