wfdcfg_ext_fn_set_power_mode_t

A port extension function that's called to set the power mode on a port.

Synopsis:

#include <wfdqnx/wfdcfg.h>
 
typedef int( wfdcfg_ext_fn_set_power_mode_t)
               (struct wfdcfg_port *port,
                enum wfdcfg_power_mode power_mode);
      

Arguments:

port

A handle to the display port on which the power mode is to be set

power_mode

The power mode (of type wfdcfg_power_mode) that the display port is to be set to

Library:

libwfdcfg

Description:

Returns:

A code from @c errno.h; possible codes include:
  • EINVAL: when a invalid power mode is passed
  • EOK: on success