This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

onewire sample corrections

Sample code for OneWire in http://www.ti.com/lit/ug/spmu298a/spmu298a.pdf  may need corrections:

 

ONEWIRE_INT_BUS_STUCK     should be?   ONEWIRE_INT_STUCK

I think This should simply have a closing Parenthesis?

ulData = ((0x01 << 24) | (0x12 << 16) | (0x10 << 8) | 0xcc;

Come to think of it ulData isnot defined anywhere   uint32_t ?  maybe?