Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
Preface
Acknowledgments
1 Introduction
1.1 The TI MSP430 LaunchPad
1.2 Topics to Be Covered in This Book
2 Review of Digital Circuits
2.1 Transistor as a Switch
2.2 Logic Gates from Transistors
2.3 Combinational Circuits from Gates
2.4 Sequential Circuits from Gates
2.5 Summary
2.6 Problems
3 Data Types
3.1 Number Representations
3.2 Negative Numbers
3.3 Fixed- and Floating-Point Representations
3.4 The Word Size and Overflow
3.5 Little and Big Endian Representations
3.6 ASCII Characters
3.7 Summary
3.8 Problems
4 MSP430 Architecture
4.1 General Layout
4.2 Central Processing Unit
4.3 Memory
4.4 Input and Output Ports
4.5 Clocks, the Timer, and Watchdog Timer Modules
4.6 ADC and Comparator Modules
4.7 The Digital Communication Module
4.8 Other Modules
4.9 The Pin Layout of the MSP430G2553
4.10 Summary
4.11 Problems
5 Code Composer Studio
5.1 Setup
5.2 Creating a C Project
5.3 Creating an Assembly Project
5.4 Program Execution
5.5 Observing Hardware under CCS
5.6 Terminating the Debug Session and Closing the Project
5.7 Graphical Peripheral Configuration Tool (Grace)
5.8 The Terminal Window
5.9 Summary
5.10 Problems
6 MSP430 Programming with C
6.1 Memory Management
6.2 C Data Types
6.3 Arithmetic and Logic Operations
6.4 Control Structures
6.5 Arrays and Pointers
6.6 Miscellaneous Issues
6.7 Summary
6.8 Problems
7 MSP430 Instruction Set
7.1 Introduction
7.2 Anatomy of an Instruction
7.3 MSP430 Addressing Modes
7.4 The Stack
7.5 Assembly Program Structure
7.6 Sample Programs on Instruction Set Usage
7.7 Summary
7.8 Problems
8 Digital Input and Output
8.1 Pin Layout for Digital I/O
8.2 Digital I/O Registers
8.3 Digital I/O Hardware Issues
8.4 Coding Practices for Digital I/O
8.5 Digital I/O in Grace
8.6 Digital Safe Application
8.7 Summary
8.8 Problems
9 Interrupts
9.1 What Happens When an Interrupt Occurs?
9.2 Types of Interrupts
9.3 Interrupt Flags
9.4 Interrupt Vectors
9.5 Interrupt Service Routines
9.6 Port Interrupts
9.7 Coding Practices for Interrupts
9.8 Interrupts in Grace
9.9 Washing Machine Application
9.10 Summary
9.11 Problems
10 Oscillators, Clocks, and Timers
10.1 Oscillators
10.2 Clocks
10.3 BCM+ in Grace
10.4 Low-Power Modes
10.5 The Watchdog Timer
10.6 WDT+ in Grace
10.7 Timers
10.8 The Pin Layout for the BCM+ and Timer_A Modules
10.9 Timer_A in Grace
10.10 Chronometer Application
10.11 Summary
10.12 Problems
11 Mixed Signal Systems
11.1 Analog and Digital Signals
11.2 The Comparator
11.3 Comparator A+ in Grace
11.4 Analog-to-Digital Conversion
11.5 Digital-to-Analog Conversion
11.6 ADC10 in Grace
11.7 Non-Touch Paper Towel Dispenser Application
11.8 Summary
11.9 Problems
12 Digital Communication
12.1 Universal Serial Communication Interface
12.2 Universal Asynchronous Receiver/Transmitter
12.3 UART in Grace
12.4 Serial Peripheral Interface
12.5 SPI in Grace
12.6 Inter Integrated Circuit
12.7 I 2 C in Grace
12.8 Digital Communication Application
12.9 Summary
12.10 Problems
13 Flash Memory
13.1 MSP430 Flash Memory
13.2 Flash Memory Programming
13.3 Coding Practices for Flash Memory
13.4 Flash Memory in Grace
13.5 Summary
13.6 Problems
14 Applications
14.1 Car Door Alarm
14.2 Car Window Control
14.3 Car Park Tollgate
14.4 Digital Lock System
14.5 Air Freshener Dispenser
14.6 Traffic Lights
14.7 Sound Detector
14.8 Obstacle-Avoiding Tank
14.9 Car Parking Sensor System
14.10 Fire Alarm
14.11 Wave Generator
14.12 Sports Watch
15 Appendix
15.1 MSP430 Intrinsic Functions
15.2 MSP430G2553 Header File
References
Index
← Prev
Back
Next →
← Prev
Back
Next →