/* Reads the device code of the LCD controller DOESN'T WORK.  */
uint16_t DMDIF_readDeviceCode(void)
/* Reads the device code of the LCD controller DOESN'T WORK.  */
uint16_t DMDIF_readDeviceCode(void)
{
  uint16_t readData;
  uint16_t deviceCode;
  setNextReg(DMD_SSD2119_DEVICE_CODE_READ);
  readData    = DVK_readRegister( (uint16_t *) data_register );
  deviceCode  = ((readData >> 1) & 0x00ff) << 8;
  readData    = DVK_readRegister( (uint16_t *) data_register );
  deviceCode |= ((readData >> 1) & 0x00ff);
  return deviceCode;
}