Program Memory and Data Memory .......................................................................................................................105
Peripherals ...............................................................................................................................................................106
Operation Control and Operating Modes .................................................................................................................106
Watchdog Timer ......................................................................................................................................................106
System Reset ..........................................................................................................................................................107
Interrupts .................................................................................................................................................................107
Oscillators and Clock Generators ............................................................................................................................107
Timers ....................................................................................................................................................................109
Addressing Modes ..................................................................................................................................................109
More on MSP430 Control .......................................................................................................................................110
Further Thoughts .....................................................................................................................................................114
Labels ......................................................................................................................................................................117
Instructions ..............................................................................................................................................................117
Operands .................................................................................................................................................................117
Hexadecimal Numbers ............................................................................................................................................117
Comments ...............................................................................................................................................................118
Programming Examples ..........................................................................................................................................118
Subprogram No. 1 ...................................................................................................................................................118
Subprogram No. 2 ...................................................................................................................................................127
Subprogram No. 3 ...................................................................................................................................................131
Variation of Threshold ............................................................................................................................................137
Summary .................................................................................................................................................................137
Chapter 7 Quiz .......................................................................................................................................................138
Chapter 8: Data Communications ..................................................................................................... 142
Introduction .............................................................................................................................................................142
The Data Transmission System ...............................................................................................................................142
Parallel and Serial Transmission ..............................................................................................................................142
Protocols .................................................................................................................................................................144
High-Speed Data Transmissions ..............................................................................................................................145
Serial Data Communications Advances ...................................................................................................................145
A Return to the Format ...........................................................................................................................................145
Shift Registers .........................................................................................................................................................147
USART Serial Communications ..............................................................................................................................148
The UART Function with Software. ........................................................................................................................150
Technology Advances .............................................................................................................................................150
I2C Protocol .............................................................................................................................................................150
USB .........................................................................................................................................................................152
Summary .................................................................................................................................................................156
Chapter 8 Quiz ........................................................................................................................................................157
Chapter 9: System Power and Control ............................................................................................... 160
Introduction .............................................................................................................................................................160
Voltage Regulators ..................................................................................................................................................161
Load Variations .......................................................................................................................................................162
Actual Linear Voltage Regulator Circuit ..................................................................................................................163
Voltage Regulation ..................................................................................................................................................163
Power Dissipation ...................................................................................................................................................164
Switching Voltage Regulators .................................................................................................................................165
Summary of Regulators ..........................................................................................................................................167
Power Supply Distribution ......................................................................................................................................168
Power System Supervisors ......................................................................................................................................170