yoshinari kou
/
WW_SPI_Uni_TEST_Ver2
White Wizard Board SPI module chip select TEST program
wwChipSelect.h@0:747306a9d2ad, 2011-08-26 (annotated)
- Committer:
- halfpitch
- Date:
- Fri Aug 26 15:34:03 2011 +0000
- Revision:
- 0:747306a9d2ad
RevA
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
halfpitch | 0:747306a9d2ad | 1 | //Nest Egg Inc. |
halfpitch | 0:747306a9d2ad | 2 | //http://nestegg.jp/ |
halfpitch | 0:747306a9d2ad | 3 | //White Wizard Board SPI Chip Select Code |
halfpitch | 0:747306a9d2ad | 4 | //Auther : Yoshinari kou |
halfpitch | 0:747306a9d2ad | 5 | //2010/10/03 |
halfpitch | 0:747306a9d2ad | 6 | |
halfpitch | 0:747306a9d2ad | 7 | #include "mbed.h" |
halfpitch | 0:747306a9d2ad | 8 | |
halfpitch | 0:747306a9d2ad | 9 | class wwChipSelect |
halfpitch | 0:747306a9d2ad | 10 | { |
halfpitch | 0:747306a9d2ad | 11 | private: |
halfpitch | 0:747306a9d2ad | 12 | DigitalOut ChipSelect; |
halfpitch | 0:747306a9d2ad | 13 | public: |
halfpitch | 0:747306a9d2ad | 14 | wwChipSelect(PinName); //constructor |
halfpitch | 0:747306a9d2ad | 15 | void wwCSwrite(int); |
halfpitch | 0:747306a9d2ad | 16 | }; |