/* Refresh all DISPLAY devices. 
This function requests all DISPLAY device drivers to update their internal state with respect to system resource changes, like a bus clock frequency. This function may need to be called after system changes. */
EMSTATUS DISPLAY_DriverRefresh(void)
/* Refresh all DISPLAY devices. 
This function requests all DISPLAY device drivers to update their internal state with respect to system resource changes, like a bus clock frequency. This function may need to be called after system changes. */
EMSTATUS DISPLAY_DriverRefresh(void)
{
  int        i;
  EMSTATUS status = DISPLAY_EMSTATUS_OK;
  if (false == moduleInitialized)
  {
    status = DISPLAY_EMSTATUS_NOT_INITIALIZED;
  }
  else
  {
    for (i=0; i<devicesRegistered; i++)
    {
      if (deviceTable[i].pDriverRefresh)
      {
        status = (*deviceTable[i].pDriverRefresh)(&deviceTable[i]);
        if (DISPLAY_EMSTATUS_OK != status)
        {
          return status;
        }
      }
    }
  }
  return status;
}