/* Initializes the data interface to the LCD controller SSD2119.  */
EMSTATUS DMDIF_init(uint32_t cmdRegAddr, uint32_t dataRegAddr)
/* Initializes the data interface to the LCD controller SSD2119.  */
EMSTATUS DMDIF_init(uint32_t cmdRegAddr, uint32_t dataRegAddr)
{
  command_register = (volatile uint16_t*) cmdRegAddr;
  data_register    = (volatile uint16_t*) dataRegAddr;
  return DMD_OK;
}