1
SPIu.cpp@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 | #include "mbed.h" |
Wayne Roberts |
0:9c052ff8dd6a | 2 | #include "SPIu.h" |
Wayne Roberts |
0:9c052ff8dd6a | 3 | |
Wayne Roberts |
0:9c052ff8dd6a | 4 | SPIu::SPIu(PinName mosi, PinName miso, PinName sclk, PinName ssel) : SPI(mosi, miso, sclk, ssel) |
Wayne Roberts |
0:9c052ff8dd6a | 5 | { |
Wayne Roberts |
0:9c052ff8dd6a | 6 | } |
Wayne Roberts |
0:9c052ff8dd6a | 7 | |
Wayne Roberts |
0:9c052ff8dd6a | 8 | void SPIu::lock() { |
Wayne Roberts |
0:9c052ff8dd6a | 9 | } |
Wayne Roberts |
0:9c052ff8dd6a | 10 | |
Wayne Roberts |
0:9c052ff8dd6a | 11 | void SPIu::unlock() { |
Wayne Roberts |
0:9c052ff8dd6a | 12 | } |
Wayne Roberts |
0:9c052ff8dd6a | 13 |