[Book Cover]

Reusable Software Components: Object-Oriented Embedded Systems Programming in C, 1/e

Ted Van Sickle, Indianapolis, Indiana

Published November, 1996 by Prentice Hall PTR (ECS Professional)

Copyright 1997, 304 pp.
Cloth
ISBN 0-13-613688-5
$55.00


Sign up for future
mailings
on this subject.

See other books about:
    C

[Preface]





Helps real-time embedded systems designers combine the development benefits of the widely-used C language and object-oriented techniques not normally associated with C.

Introduces object-oriented programming to microcontroller programmers familiar with C. Shows how objects can be written in C, and developed into classes. Presents useful objects and classes for microcontroller programs, including a class that creates instances of an asynchronous serial port. Shows how to implement components to handle timer functions and input capture. Compiles data sheets for all components derived in the book.



Shows how many object-oriented programming techniques can be used to enhance real-time embedded systems written in C.

  • Presents C as a component-building language that can benefit from object-oriented techniques.
  • Focuses on embedded systems and Motorola's M68HC16Y1 microcontroller.
  • Contains extensive reusable C code.




    Preface.
    1. Objects and Components.
    2. Object-Oriented Programming in C.

      Classes, Objects, and Encapsulation. Inheritance. Polymorphism and Virtual Functions. Toward Better Object Interface. Improved Interface with Inheritance and Virtual Functions. Summary.

    3. Some Useful Classes.

      Semaphore. Linked List. Look-Up Table. Summary.

    4. Asynchronous Serial Port.

      Error Handler. Development Environment. Serial Driver.

    5. Timers.

      Output Compare Subsystem. Timer Class. Delay. Clock. Clock1. Clock2. Pulse-Width Modulator. Summary.

    6. Additional Timer Applications.

      Input Capture and Internal PWM. Input Capture Subsystem. Timer1 Test Program. Internal Pulse-Width Modulators. Summary.

    7. Data Manual.

      Delay. Error Handler. Link. Link List. Look-Up Table. Object. Pulse-Width Modulator 1. Pulse-Width Modulator 2. Semaphore. Serial Input/Output: Basic. Serial Input/Output: Keyboard-Specific. Serial Input/Output: Special Baud-Rate Handling. Output Compare Timer Subsystem. Input Capture Timer Subsystem.

    Appendix A The C Compiler.
    Appendix B M68HC16 Header Files.

      MC68HC16Y1 and MC68HC16Z1 Header Files. General-Purpose Timer Header File. Multichannel Communications Interface Header File. Queued Serial Module Header File. System Integration Module Header File. Single-Chip Integration Module Header File. Static RAM Module Header File. Timer Processor Unit RAM Header File. Index.


[Help] [Home]


© Prentice-Hall, Inc. A Pearson Education Company
Comments To webmaster@prenhall.com