EasyManuals Logo

Texas Instruments MSP430 Student Guide

Texas Instruments MSP430
398 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #117 background imageLoading...
Page #117 background image
Lab 3
Debug
15. Restart your program.
16. Open the Registers window and view P1DIR and P1OUT. Then single-step past the
GPIO DriverLib functions.
View Registers
Expand Port_1_2, P1OUT and P1DIR as shown
Then, single-step ( i.e. Step Over F6 ) until you execute this line:
GPIO_setAsOutputPin( GPIO_PORT_P1, GPIO_PIN0 );
Your register view should now look similar to this:
17. Single-step until you reach the _delay_cycles() function.
You should see the P1OUT register change as you step over the appropriate function.
Unfortunately, the “Step Over” command doesn’t step over _delay_cycles().
MSP430 Workshop - Using GPIO with MSP430ware 3 - 27

Table of Contents

Other manuals for Texas Instruments MSP430

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Texas Instruments MSP430 and is the answer not in the manual?

Texas Instruments MSP430 Specifications

General IconGeneral
BrandTexas Instruments
ModelMSP430
CategoryMicrocontrollers
LanguageEnglish

Related product manuals