/* Writes a data word into the SDHost write buffer. */
tBoolean SDHostDataNonBlockingWrite(unsigned long ulBase, unsigned long ulData)
/* Writes a data word into the SDHost write buffer. */
tBoolean SDHostDataNonBlockingWrite(unsigned long ulBase, unsigned long ulData)
{
  if( (HWREG(ulBase + MMCHS_O_PSTATE) & (1<<10)) )
  {
    HWREG(ulBase + MMCHS_O_DATA) = ulData;
    return(true);
  }
  else
  {
    return(false);
  }
}