1
SPIu.cpp@22:fc88e265f425, 2022-06-06 (annotated)
- Committer:
- advxolltm
- Date:
- Mon Jun 06 16:37:12 2022 +0000
- Revision:
- 22:fc88e265f425
- Parent:
- 0:9c052ff8dd6a
123
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 |