1-Wire® library for mbed. Complete 1-Wire library that supports our silicon masters along with a bit-bang master on the MAX32600MBED platform with one common interface for mbed. Slave support has also been included and more slaves will be added as time permits.
Dependents: MAXREFDES131_Qt_Demo MAX32630FTHR_iButton_uSD_Logger MAX32630FTHR_DS18B20_uSD_Logger MAXREFDES130_131_Demo ... more
Superseded by MaximInterface.
Diff: OneWire_Masters/DS2480B/ds2480b.cpp
- Revision:
- 67:76776130aec9
- Parent:
- 65:a28ac52ca127
- Child:
- 71:562f5c702094
diff -r a28ac52ca127 -r 76776130aec9 OneWire_Masters/DS2480B/ds2480b.cpp --- a/OneWire_Masters/DS2480B/ds2480b.cpp Wed Apr 20 21:47:42 2016 +0000 +++ b/OneWire_Masters/DS2480B/ds2480b.cpp Thu Apr 21 20:37:45 2016 +0000 @@ -224,16 +224,9 @@ //********************************************************************* -void Ds2480b::tx_callback(void) -{ -} - - -//********************************************************************* OneWireMaster::CmdResult Ds2480b::OWInitMaster(void) { _p_serial->attach(this, &Ds2480b::rx_callback, Serial::RxIrq); - _p_serial->attach(this, &Ds2480b::tx_callback, Serial::TxIrq); rx_buffer.w_idx = 0; rx_buffer.r_idx = 0;