VNCLO-PSU-USA FTDI, Future Technology Devices International Ltd, VNCLO-PSU-USA Datasheet - Page 10

POWER SUPPLY FOR VNCLO-MB1A USA

VNCLO-PSU-USA

Manufacturer Part Number
VNCLO-PSU-USA
Description
POWER SUPPLY FOR VNCLO-MB1A USA
Manufacturer
FTDI, Future Technology Devices International Ltd
Series
Vinculor
Datasheets

Specifications of VNCLO-PSU-USA

Accessory Type
Power Supply
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
FTDI Vinculo Boards
Other names
768-1092
}
vos_dev_write is a VOS defined command for writing out data. The hLCD is the handle for the driver that
the data is being sent to. In this example that means the GPIO lines.
4.4 Writing Data Bytes to the LCD Display
The “write_lcd_data” command is used to write data to be displayed by the LCD panel.
The data is shifted 4 bits as only the upper 4 data lines of the LCD panel are used.
The example source code is detailed below
void
{
}
4.5 Writing Data Strings to the LCD Display
The “write_lcd_str” command is used to write strings, as opposed to individual bytes, to the LCD.
The example source code is detailed below
void
{
}
cmd &= (~lcd_e);
vos_dev_write(hLCD,&cmd,1,NULL);
vos_delay_msecs(1);
unsigned char
// Write High nibble data to LCD
cmd = (((data>>4)&0x0F) | lcd_dat);
cmd = (cmd | lcd_e);
vos_dev_write(hLCD,&cmd,1,NULL);
// Toggle 'E' pin
cmd &= (~lcd_e);
vos_dev_write(hLCD,&cmd,1,NULL);
// Write Low nibble data to LCD
cmd = ((data & 0x0F) | lcd_dat);
cmd = (cmd | lcd_e);
vos_dev_write(hLCD,&cmd,1,NULL);
// Toggle 'E' pin
cmd &= (~lcd_e);
vos_dev_write(hLCD,&cmd,1,NULL);
vos_delay_msecs(1);
while(*str != '\0')
{
}
write_lcd_data(VOS_HANDLE hLCD,
write_lcd_str(VOS_HANDLE hLCD,
write_lcd_data(hLCD, *str);
++str;
cmd;
Copyright © 2010 Future Technology Devices International Limited
`
// Select DDRAM
// Select DDRAM
unsigned char
unsigned char
*str)
data)
AN_153 Vinco LCD Interface Example
Document Reference No.: FT_000332
Clearance No.: FTDI# 177
Version
9
2.0

Related parts for VNCLO-PSU-USA