
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 29
10/1/2007
if (ioctl(fbfd, FBIO_SLEEPOFF)) {
printf("Error turning sleep off.\n");
exit(1);
}
8.
FBIO_TOGGLEINVERT
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:
Содержание LPC3180
Страница 32: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 32 10 1 2007...
Страница 33: ......