
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 37
9/7/2007
12.
FBIO_CONTRASTMINUS
a.
Purpose: Decrements the screen’s contrast adjustment by 1. If the
contrast adjustment is at its lowest possible value, this command has no
effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_CONTRASTMINUS)) {
printf("Error decreasing screen contrast.\n");
exit(1);
}
13.
FBIO_BRIGHTNESSPLUS
a.
Purpose: Increments the screen’s brightness adjustment by 1. If the
brightness adjustment is at its highest possible value, this command has no
effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_BRIGHTNESSPLUS)) {
printf("Error increasing screen brightness.\n");
exit(1);
}
14.
FBIO_BRIGHTNESSMINUS
a.
Purpose: Decrements the screen’s brightness adjustment by 1. If the
brightness adjustment is at its lowest possible value, this command has no
effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_BRIGHTNESSMINUS)) {
printf("Error decreasing screen brightness.\n");
exit(1);
}
NOTE: In addition to the IOCTL commands above, the IOCTL calls
FBIOGET_FSCREENINFO and FBIOGET_VSCREENINFO are also available through
the generic Linux framebuffer interface.
Summary of Contents for LP3180
Page 39: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 39 9 7 2007...
Page 40: ......