revive MC33816 driver, also support bus sharing #6781
This commit is contained in:
parent
8753c4abe6
commit
aa79386feb
|
@ -12,6 +12,12 @@ public:
|
|||
bool init();
|
||||
|
||||
protected:
|
||||
void spiAcquireBus() override {
|
||||
}
|
||||
|
||||
void spiReleaseBus() override {
|
||||
}
|
||||
|
||||
void select() override {
|
||||
spiSelect(driver);
|
||||
}
|
||||
|
@ -20,6 +26,9 @@ protected:
|
|||
spiUnselect(driver);
|
||||
}
|
||||
|
||||
bool errorOnUnexpectedFlag() override {
|
||||
}
|
||||
|
||||
uint16_t sendRecv(uint16_t tx) override {
|
||||
return spiPolledExchange(driver, tx);
|
||||
}
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 1d09376e770303aa9682b4683f26a4118d3705f4
|
||||
Subproject commit 1359a72f5630fa3a9042bc074edc8e1408bb1623
|
Loading…
Reference in New Issue