Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PgSetDPMSMode()
Set the display power-saving mode
Synopsis:
int PgSetDPMSMode (int mode );
Library:
ph
Description:
This function sets the display power-saving mode based on VESA Display Power Management System standards.
| Mode | Meaning | Description |
|---|---|---|
| 0 | On | The display is in full operation (Video:Active, Horizontal: Sync Pulses, Vertical: Sync Pulses) |
| 1 | Stand-by | An optional state of minimal power reduction with shortest display recovery time (Video: Blanked, Horizontal Sync: off, Vertical Sync: Pulses) |
| 2 | Suspend | A state with substantial power reduction, but the display recovery time can be longer than that of the stand-by state (Video: Blanked, Horizontal Sync: Pulses, Vertical Sync: off) |
| 4 | Off | The display is consuming the lowest level of power and is nonoperational (Video: Blanked, Horizontal Sync: off, Vertical Sync: off) |
Returns:
- 0
- Success.
- -1
- An error occurred; errno is set.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)