Analog and Digital Circuits for Electronic Control System Applications: Using the TI MSP430 Microcontroller