
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 36
9/7/2007
a.
Purpose: If the screen is not inverted, this command places the screen in
inverted mode. If the screen is inverted, this command places the screen
in normal mode:
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_TOGGLEINVERT)) {
printf("Error toggling screen invert.\n");
exit(1);
}
9.
FBIO_INVERTON
a.
Purpose: If the screen is in normal mode, this command places the screen
in inverted mode. If the screen is already inverted, this command has no
effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_INVERTON)) {
printf("Error inverting screen.\n");
exit(1);
}
10.
FBIO_INVERTOFF
a.
Purpose: If the screen is in inverted mode, this command places the
screen in normal mode. If the screen is already in normal mode, this
command has no effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_INVERTOFF)) {
printf("Error inverting screen.\n");
exit(1);
}
11.
FBIO_CONTRASTPLUS
a.
Purpose: Increments the screen’s contrast adjustment by 1. If the contrast
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_CONTRASTPLUS)) {
printf("Error increasing screen contrast.\n");
exit(1);
}
Содержание LP3180
Страница 39: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 39 9 7 2007...
Страница 40: ......