EasyManua.ls Logo

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 #273 background imageLoading...
Page #273 background image
273
void LCD_clear_home(void);
void LCD_goto(unsigned char x_pos, unsigned char y_pos);
lcd.c
#include "lcd.h"
void SIPO(void)
{
unsigned char bit = 0;
unsigned char clk = 8;
unsigned char temp = 0;
temp = data_value;
STB_LOW;
while(clk > 0)
{
bit = ((temp & 0x80) >> 0x07);
bit &= 0x01;
switch(bit)
{
case 0:
{
SDO_LOW;
break;
}
default:
{
SDO_HIGH;
break;
}
}
SCK_HIGH;
temp <<= 1;
clk--;
SCK_LOW;
}
STB_HIGH;
}
void LCD_init(void)
{
unsigned char t = 0x0A;
data_value = 0x08;
SIPO();
while(t > 0x00)
{
delay_ms(dly);

Table of Contents

Other manuals for Texas Instruments MSP430

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
Program Memory TypeFlash
Clock SpeedUp to 25 MHz (depending on the specific device)
Flash MemoryUp to 512 KB (depending on the specific device)
RAMUp to 66 KB (depending on the specific device)
Operating Voltage1.8V - 3.6V (depending on the specific device)
ADC10-bit or 12-bit SAR ADC
Communication InterfacesUART, SPI, I2C, USB
DMAYes (depending on the specific device)
Operating Temperature-40°C to +85°C
Architecture16-bit RISC
Low Power ModesMultiple (LPM0 to LPM4)

Related product manuals