
FDI
NXP LPC3180 Demo
User’s Manual
FDI
Rev 2
Page 35
9/7/2007
4.
FBIO_SCREENON
a.
Purpose: Turns on the screen if it is off. If the screen is already on, this
command has no effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_SCREENON)) {
printf("Error turning screen on.\n");
exit(1);
}
5.
FBIO_TOGGLESLEEP
a.
Purpose: This command puts the LCD panel to sleep if it is awake or
wakes it if the LCD panel is asleep.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_TOGGLESLEEP)) {
printf("Error toggling screen sleep.\n");
exit(1);
}
6.
FBIO_SLEEPON
a.
Purpose: If the LCD panel is awake, this command explicitly puts it to
sleep. If the LCD panel is asleep, this command has no effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_SLEEPON)) {
printf("Error turning sleep on.\n");
exit(1);
}
7.
FBIO_SLEEPOFF
a.
Purpose: If the LCD panel is asleep, this command explicitly wakes it up.
If the LCD panel is awake, this command has no effect.
b.
Arguments: None
c.
Returns: 1 on failure, 0 on success
d.
Example:
if (ioctl(fbfd, FBIO_SLEEPOFF)) {
printf("Error turning sleep off.\n");
exit(1);
}
8.
FBIO_TOGGLEINVERT
Summary of Contents for LP3180
Page 39: ...FDI NXP LPC3180 Demo User s Manual FDI Rev 2 Page 39 9 7 2007...
Page 40: ......