This is an involuntary fork, created because the repository would not update mmSPI. SPI library used to communicate with an altera development board attached to four zigbee-header pins.
Dependents: Embedded_RTOS_Project
Fork of mmSPI by
mmSPI.h@0:fb42c5acf810, 2013-08-14 (annotated)
- Committer:
- gatedClock
- Date:
- Wed Aug 14 05:34:26 2013 +0000
- Revision:
- 0:fb42c5acf810
- Child:
- 1:15706d15d123
mmSPI skeleton.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gatedClock | 0:fb42c5acf810 | 1 | /*----------------------------------------------//------------------------------ |
gatedClock | 0:fb42c5acf810 | 2 | student : m-moore |
gatedClock | 0:fb42c5acf810 | 3 | class : external SPI interface |
gatedClock | 0:fb42c5acf810 | 4 | directory : mmSPI |
gatedClock | 0:fb42c5acf810 | 5 | file : mmSPI.h |
gatedClock | 0:fb42c5acf810 | 6 | ------------------------------------------------//----------------------------*/ |
gatedClock | 0:fb42c5acf810 | 7 | #include "mbed.h" // standard mbed.org class. |
gatedClock | 0:fb42c5acf810 | 8 | /*----------------------------------------------//------------------------------ |
gatedClock | 0:fb42c5acf810 | 9 | ------------------------------------------------//----------------------------*/ |
gatedClock | 0:fb42c5acf810 | 10 | //==============================================//============================== |
gatedClock | 0:fb42c5acf810 | 11 | class mmSPI |
gatedClock | 0:fb42c5acf810 | 12 | { |
gatedClock | 0:fb42c5acf810 | 13 | public: |
gatedClock | 0:fb42c5acf810 | 14 | mmSPI(); // constructor. |
gatedClock | 0:fb42c5acf810 | 15 | ~mmSPI(); // destructor. |
gatedClock | 0:fb42c5acf810 | 16 | private: |
gatedClock | 0:fb42c5acf810 | 17 | }; |
gatedClock | 0:fb42c5acf810 | 18 | //----------------------------------------------//------------------------------ |