/* Writes one pixel to the LCD controller. DMDIF_prepareDataAccess() needs to be called before writing data using this function.  */
EMSTATUS DMDIF_writeData(uint32_t data)
/* Writes one pixel to the LCD controller. DMDIF_prepareDataAccess() needs to be called before writing data using this function.  */
EMSTATUS DMDIF_writeData(uint32_t data)
{
  DVK_writeRegister( (uint16_t *) data_register, (data & 0x0003FE00) >> 9);
  DVK_writeRegister( (uint16_t *) data_register, (data & 0x000001FF));
  return DMD_OK;
}