PKP
VS1000 P
ROGRAMMER
’
S
G
UIDE
VSMPG
10
Using an external display
The VS1000 can be interfaced easily to an external display controller using the SPI bus.
Since all LCD controllers don’t have an embedded character generator, the VS1000
includes a ROM font that can be used to draw alphanumeric characters and symbols.
The ROM font contains
•
ASCII symbols 32...127
•
Half-width katakana symbols
•
Special symbols (play,pause,stop,speaker,usb,cabinet,...)
Additional symbols can be defined in RAM.
The low bytes of
u_int16 fontData[]
contain the low end ASCII shapes and variable-
width symbols:
Figure 6: VS1000 variable-width symbols
u_int16 fontPtrs[]
contains the starting offsets of pixel data for each character.
The high bytes of
u_int16 fontData[]
contain katakana and fixed width special sym-
bols:
Figure 7: VS1000 fixed width symbols
For more information, see files
romfont.txt
and
display.c
in the Developer Toolkit.
Also see optimized LCD functions in the VS1000 developer library (see dev1000.h) .
Rev. 0.20
2011-10-04
Page