17.02.2015 Views

CCS C Compiler Manual PCB / PCM / PCH

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

lcd_load( )<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires<br />

lcd_load (buffer_pointer, offset, length);<br />

buffer_pointer points to the user data to send to the LCD, offset is the offset<br />

into the LCD segment memory to write the data, length is the number of bytes<br />

to transfer to the LCD segment memory.<br />

undefined.<br />

This function will load length bytes from buffer_pointer into the LCD segment<br />

memory beginning at offset. The lcd_symbol( ) function provides as easier<br />

way to write data to the segment memory.<br />

Only on devices with built-in LCD Driver Module hardware.<br />

Constants are defined in the devices *.h file.<br />

Examples:<br />

lcd_load(buffer, 0, 16);<br />

Example Files:<br />

Also See:<br />

ex_92lcd.c<br />

lcd_symbol(), setup_lcd(), lcd_contrast( ), Internal LCD Overview<br />

lcd_symbol( )<br />

Syntax:<br />

Parameters:<br />

Returns:<br />

Function:<br />

Availability:<br />

Requires<br />

lcd_symbol (symbol, bX_addr);<br />

symbol is a 8 bit or 16 bit constant.<br />

bX_addr is a bit address representing the segment location to be used for bit<br />

X of the specified symbol.<br />

1-16 segments could be specified.<br />

undefined<br />

This function loads the bits for the symbol into the segment data registers for<br />

the LCD with each bit address specified. If bit X in symbol is set, the segment<br />

at bX_addr is set, otherwise it is cleared. The bX_addr is a bit address into the<br />

LCD RAM.<br />

Only on devices with built-in LCD Driver Module hardware.<br />

Constants are defined in the devices *.h file.<br />

214

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!