1
SPIu.h@0:9c052ff8dd6a, 2018-07-05 (annotated)
- Committer:
- Wayne Roberts
- Date:
- Thu Jul 05 17:31:54 2018 -0700
- Revision:
- 0:9c052ff8dd6a
initial commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Wayne Roberts |
0:9c052ff8dd6a | 1 | |
Wayne Roberts |
0:9c052ff8dd6a | 2 | class SPIu : public SPI |
Wayne Roberts |
0:9c052ff8dd6a | 3 | { |
Wayne Roberts |
0:9c052ff8dd6a | 4 | public: |
Wayne Roberts |
0:9c052ff8dd6a | 5 | SPIu(PinName mosi, PinName miso, PinName sclk, PinName ssel=NC); |
Wayne Roberts |
0:9c052ff8dd6a | 6 | virtual void lock(void); |
Wayne Roberts |
0:9c052ff8dd6a | 7 | virtual void unlock(void); |
Wayne Roberts |
0:9c052ff8dd6a | 8 | }; |