Hardware description
5.11.5 Writing a pixel
extern macro proc
Timing:
Description:
ncatenation of the red, green
se
components are each 10 bits wide. In 24-bit mode, the lower DAC bits are
suitably padded to use the entire output range.
RC200VideoOutEnable()
before using these macros.
o expr R
ideoOutGetX ();
o expr R
cription:
Macro expressions that return the current scan position of the screen output. A
call to
RC200VideoOutWrite24()
or
RC200VideoOutWrite30()
will
en returned by these methods.
o ex
00VideoOutGetHBlank ();
o ex
arameters:
None.
Description:
Macro expressions that return the horizontal or vertical blanking status of the
igned 1
.
o expr
0VideoOutGetHSync ();
o expr
arameters:
None.
Description:
Macro expressions that return the horizontal or vertical sync status of the current
unsigned 1
.
RC200VideoOutWrite24
(
RGB24
);
extern macro proc RC200VideoOutWrite30 (
RGB30
);
Parameters:
RGB24
: Compound colour expression, of type
unsigned 24
.
RGB30
: Compound colour expression, of type
unsigned 30
.
1 clock cycle.
Writes a single pixel to the display, at the current scan position.
In both cases the video output expression is a co
and blue components (i.e. R @ G @ B). In the case of 24-bit colour, the
components are each 8 bits wide. In the case of 30-bit colour, these
You must call
5.11.6 Current scan position
extern macr
C200V
extern macr
C200VideoOutGetY ();
None.
Parameters:
Des
write a colour to the position on scre
5.11.7 Blanking status of current scan position
extern macr
pr RC2
extern macr
pr RC200VideoOutGetVBlank ();
P
current scan position, as type
uns
5.11.8 Horizontal and vertical sync status
extern macr
RC20
extern macr
RC200VideoOutGetVSync ();
P
scan position, as type
www.celoxica.com
Page 50