COSA
An Object-Oriented Platform for Arduino Programming
SPI.hh File Reference
#include "Cosa/Types.h"
#include "Cosa/Bits.h"
#include "Cosa/OutputPin.hh"
#include "Cosa/Interrupt.hh"
#include "Cosa/Event.hh"
#include "Cosa/IOStream.hh"
Include dependency graph for SPI.hh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  SPI
 
class  SPI::Driver
 

Functions

IOStreamoperator<< (IOStream &outs, SPI::Clock rate)
 

Variables

SPI spi
 

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.

This file is part of the Arduino Che Cosa project.

Definition in file SPI.hh.

Function Documentation

IOStream& operator<< ( IOStream outs,
SPI::Clock  rate 
)

Write given SPI clock rate to given output stream.

Parameters
[in]outsoutput stream.
[in]rateclock setting value.
Returns
output stream.

Definition at line 307 of file SPI.cpp.

Variable Documentation

SPI spi

Singleton instance of the hardware SPI module.

Definition at line 29 of file SPI.cpp.