V148
Fork of RadioHead-148 by
RHGenericSPI.cpp
- Committer:
- davidr99
- Date:
- 2015-10-15
- Revision:
- 0:ab4e012489ef
File content as of revision 0:ab4e012489ef:
// RHGenericSPI.cpp // Author: Mike McCauley (mikem@airspayce.com) // Copyright (C) 2011 Mike McCauley // Contributed by Joanna Rutkowska // $Id: RHGenericSPI.cpp,v 1.2 2014/04/12 05:26:05 mikem Exp $ #include <RHGenericSPI.h> RHGenericSPI::RHGenericSPI(Frequency frequency, BitOrder bitOrder, DataMode dataMode) : _frequency(frequency), _bitOrder(bitOrder), _dataMode(dataMode) { } void RHGenericSPI::setBitOrder(BitOrder bitOrder) { _bitOrder = bitOrder; } void RHGenericSPI::setDataMode(DataMode dataMode) { _dataMode = dataMode; } void RHGenericSPI::setFrequency(Frequency frequency) { _frequency = frequency; }