while( --timeout && gpPL050_MouseBase[1] & PL050_TXBUSY );
if(timeout)
gpPL050_MouseBase[2] = Data;
else
Log_Error("PL050", "Write to mouse timed out");
while( --timeout && gpPL050_MouseBase[1] & PL050_TXBUSY );
if(timeout)
gpPL050_MouseBase[2] = Data;
else
Log_Error("PL050", "Write to mouse timed out");