COSA
An Object-Oriented Platform for Arduino Programming
OWI.cpp File Reference
#include "OWI.hh"
Include dependency graph for OWI.cpp:

Go to the source code of this file.

Functions

IOStreamoperator<< (IOStream &outs, OWI &owi)
 
IOStreamoperator<< (IOStream &outs, OWI::Driver &dev)
 

Detailed Description

Version
1.0

License

Copyright (C) 2012-2015, Mikael Patel

This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.

This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details.

References

The timing of 1-Wire read/write operations are according to AVR318: Dallas 1-Wire(R) master, Rev. 2579A-AVR-09/04, Table 3. Bit transfer layer delays.

This file is part of the Arduino Che Cosa project.

Definition in file OWI.cpp.

Function Documentation

IOStream& operator<< ( IOStream outs,
OWI owi 
)

Print list of connected devices on given stream.

Parameters
[in]outsstream to print device information to.
[in]owione-wire bus.
Returns
output stream.

Definition at line 149 of file OWI.cpp.

IOStream& operator<< ( IOStream outs,
OWI::Driver dev 
)

Print device driver name and rom to output stream.

Parameters
[in]outsstream to print to.
[in]devowi device driver.
Returns
output stream.

Definition at line 292 of file OWI.cpp.