REVIEW - Embedded Systems Building Blocks - Complete and Ready-to-Use Modules in C


Title:

Embedded Systems Building Blocks

Complete and Ready-to-Use Modules in C

Author:

Jean J. Labrosse

ISBN:

Publisher:

CMP - DO NOT USE (2000)

Pages:

611pp

Reviewer:

Chris Hills

Reviewed:

December 2000

Rating:

★★★☆☆


A useful book, if you are using microC/OS-II and want a kick-start.

When I was first given a copy of this book I was at a loss to find a use for it. However now I have been given the book to which it is a companion, microC/OS-II the real-time kernel, I can see its value. The book contains, as you would expect a series of complete modules for common I/O requirements. However it is assumed that you will be using these modules with theauthor's RTOS microC/OS-II. A copy of the RTOS is on the CD, together with a couple of chapters in the book on it. It is possible to use the principles and I think much of the software without the microC/OS-II.

The areas covered are: universal Hex key pad module, universal 7 Segment LED, universal LCD driver (alpha and graphical), Digital I/O, Analogue I/O. A software real-time clock, timer manager, serial communications and a very useful fixed-point maths chapter. There is also a section on PC services.

Each module is more sophisticated than you might think, for example the digital I/O module will not only give a high or low. It can also give positive and or negative edge detection, toggle mode and the hardware can be bypassed with the module providing a 1 or 0 for software debug. On transitions, it will also count the number of transitions. Some of the options can be compiled out to save space. The universal keypad module includes debounce. The Analogue I/O chapter gives several methods depending on the type of hardware used. So these are a little more that the minimum required.

Each chapter has the theory and rational behind the module with plenty of diagrams and examples. The API calls are then given (a page each with an example) and a section follows on the configuration. The configuration is fairly general and will need thought from you but the code was written with this in mind. There is also the entire source code, not just the parts that need configuration. This means that the modules can be adapted and reused well outside the scope of the book.

The fixed-point maths will be of use to many (it was designed for a 16-bit

int
). It covers the basic addition, subtraction, multiply and divide. Also fixed point comparison. This will often remove the need for (large and slow) floating-point libraries.

This book is designed to stand-alone and has a couple of chapters on OS principles and microC/OS-II so if you have the OS but not the book this one might be all you need. The modules are biased towards the x86/PC. This is not as odd as it might seem, as embedded PCs are becoming quite common for a lot of embedded systems.

I think that this is a useful book for new microC/OS-II users. Given the cost of the book and the cost of your time it is probably going to be a good investment. Old hands with microC/OS-II will probably have their own libraries by now. However, some of the source and methods would still be of use.

I would think it would not be of as much use to people developing on 8 bit platforms as on the larger 16, 32, 64 bit systems. Students of operating systems and embedded systems will find the methods (and probably the source code) of use. A useful book, if you are using microC/OS-II and want a kick-start. Recommended.


Book cover image courtesy of Open Library.





Your Privacy

By clicking "Accept Non-Essential Cookies" you agree ACCU can store non-essential cookies on your device and disclose information in accordance with our Privacy Policy and Cookie Policy.

Current Setting: Non-Essential Cookies REJECTED


By clicking "Include Third Party Content" you agree ACCU can forward your IP address to third-party sites (such as YouTube) to enhance the information presented on this site, and that third-party sites may store cookies on your device.

Current Setting: Third Party Content EXCLUDED



Settings can be changed at any time from the Cookie Policy page.