yoshinari kou
/
TEST_WW_SPI_CS
White Wizard SPI Chip Select test program. I changed chip select signal timing.
wwChipSelect.h@2:5312f16c3ee8, 2011-09-01 (annotated)
- Committer:
- halfpitch
- Date:
- Thu Sep 01 10:05:25 2011 +0000
- Revision:
- 2:5312f16c3ee8
- Parent:
- 0:1d2148b42390
Rev.B
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
halfpitch | 2:5312f16c3ee8 | 1 | //Nest Egg Inc. |
halfpitch | 2:5312f16c3ee8 | 2 | //http://nestegg.jp/ |
halfpitch | 2:5312f16c3ee8 | 3 | //White Wizard Board SPI Chip Select Code |
halfpitch | 2:5312f16c3ee8 | 4 | //Auther : Yoshinari kou |
halfpitch | 2:5312f16c3ee8 | 5 | //2010/10/03 |
halfpitch | 2:5312f16c3ee8 | 6 | |
halfpitch | 2:5312f16c3ee8 | 7 | #include "mbed.h" |
halfpitch | 2:5312f16c3ee8 | 8 | |
halfpitch | 2:5312f16c3ee8 | 9 | class wwChipSelect |
halfpitch | 2:5312f16c3ee8 | 10 | { |
halfpitch | 2:5312f16c3ee8 | 11 | private: |
halfpitch | 2:5312f16c3ee8 | 12 | DigitalOut ChipSelect; |
halfpitch | 2:5312f16c3ee8 | 13 | public: |
halfpitch | 2:5312f16c3ee8 | 14 | wwChipSelect(PinName); //constructor |
halfpitch | 2:5312f16c3ee8 | 15 | void wwCSwrite(int); |
halfpitch | 0:1d2148b42390 | 16 | }; |