/* By protocol definition, bit data defaults to a 1. Thus if a slave did not signal any 0-bit data, this read returns 0xffffffff. */
bool OneWireDataGetNonBlocking(uint32_t ui32Base, uint32_t *pui32Data)
/* By protocol definition, bit data defaults to a 1. Thus if a slave did not signal any 0-bit data, this read returns 0xffffffff. */
bool OneWireDataGetNonBlocking(uint32_t ui32Base, uint32_t *pui32Data)
{
    ASSERT(ui32Base == ONEWIRE0_BASE);
    ASSERT(pui32Data);
    if (HWREG(ui32Base + ONEWIRE_O_CS) & ONEWIRE_CS_BUSY)
    {
        return (false);
    }
    *pui32Data = HWREG(ui32Base + ONEWIRE_O_DATR);
    return (true);
}