wfdcfg_ext_fn_port_set_mode2_t

Program a port

Synopsis:

#include <wfdqnx/wfdcfg.h>
typedef int( wfdcfg_ext_fn_port_set_mode2_t)(struct wfdcfg_port *,
            const struct wfdcfg_timing *);

Library:

libwfdcfg

Description:

A function prototype for WFD drivers that choose to implement an extension when there's a request to program a timing mode.

This function type must take the following arguments:
  • wfdcfg_port: A handle to the display port which is to be programmed
  • wfdcfg_timing*: A handle to the mode (timing) with which you want this port programmed
It must return a code from errno.h. Possible codes include:
  • EINVAL when an invalid port is passed
  • EOK on success