EasyManuals Logo
Home>Texas Instruments>Microcontrollers>MSP430

Texas Instruments MSP430 User Manual

Texas Instruments MSP430
413 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 #122 background imageLoading...
Page #122 background image
122
LCD_putstr("Period/us: 334");
break;
}
case 6:
{
TA0CCR0 = 1230;
LCD_goto(0, 1);
LCD_putstr("Period/ms: 2.5");
break;
}
case 7:
{
TA0CCR0 = 2626;
LCD_goto(0, 1);
LCD_putstr("Period/ms: 5.3");
break;
}
case 8:
{
TA0CCR0 = 4579;
LCD_goto(0, 1);
LCD_putstr("Period/ms: 9.2");
break;
}
case 9:
{
TA0CCR0 = 499;
LCD_goto(0, 1);
LCD_putstr("Period/ms: 1");
break;
}
default:
{
TA0CCR0 = 6964;
LCD_goto(0, 1);
LCD_putstr("Period/ms: 13.9");
break;
}
}
time_period = (pulse_ticks >> 1);
lcd_print(10, 0, time_period);
delay_ms(400);
};
}
void GPIO_graceInit(void)
{
/* USER CODE START (section: GPIO_graceInit_prologue) */
/* User initialization code */
/* USER CODE END (section: GPIO_graceInit_prologue) */
/* Port 1 Output Register */
P1OUT = BIT3;
/* Port 1 Port Select Register */
P1SEL = BIT1;

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