HCS12 microcontroller and embedded systems : using Assembly and C with CodeWarrior /

Mazidi, Muhammad Ali,

HCS12 microcontroller and embedded systems : using Assembly and C with CodeWarrior / Muhammad Ali Mazidi, Danny Causey. - xiv, 738 pages : illustrations ; 29 cm.

Includes index.

The HCS12/9S12 Microcontroller: History and Features -- HCS12 Architecture and Assembly Language Programming -- Branch, Call, and Time Delay Loop -- HCS12/9S12 I/O Port Programming -- Arithmetic, Logic Instructions, and Programs -- Advanced Addressing Modes, Look-Up Table, Macros, and Modules -- HCS12 Programming in C -- HCS12 Hardware Connection, BDM, and S19 HEX File -- HCS12 Timer Programming in Assembly and C -- HCS12 Serial Port Programming in Assembly and C -- Interrupt Programming in Assembly and C -- LCD and Keyboard Interfacing -- ADC, DAC, and Sensor Interfacing -- Accessing Flash and EEPROM, and Page Switching -- Relay, Optoisolator, and Stepper Motor Interfacing with HCS12 -- SPI Protocol and RTC Interfacing with HCS12 -- PWM and DC Motor Control -- App. A HCS12 Instructions Explained -- App. B AsmIDE, ImageCraft C Compiler, and D-BUG12 -- App. C IC Interfacing, System Design Issues, and Wire Wrapping -- App. D Flowcharts and Pseudocode -- App. E HCS12 Primer for x86 Programmers -- App. F ASCII Codes -- App. G Assemblers, Development Resources, and Suppliers -- App. H Data Sheets

"The HCS12 microcontroller from Freescale Semiconductor is a powerful and complex chip. In this book the authors use a step-by-step and systematic approach to show the programming of the HCS12 chip. Examples in both Assembly language and C show how to program many of the HCS12 features, such as timers, serial communication, ADC, and PWM. The text is organized in two parts: Chapters 1-7 use Assembly language programming to examine the internal architecture of the HCS12. Chapters 8-17 use both Assembly and C to show the HCS12 peripherals and I/O interfacing to real-world devices, such as LCDs, motors, and sensors."-- Back cover

9780136072294 0136072291

2008040719


Programmable controllers.

TJ223.P76 / M3782 2009

629.895 MA.H 2009