SPI Emulated DOGM (like FSMC_GRAPHICAL_TFT, but SPI) (#18817)

This commit is contained in:
Victor Oliveira
2020-07-29 23:25:07 -03:00
committed by GitHub
parent 73ce80af3a
commit 38ce5966e1
15 changed files with 546 additions and 129 deletions

View File

@@ -208,6 +208,8 @@ public:
*/
void setDataSize(uint32_t ds);
uint32_t getDataSize() { return _currentSetting->dataSize; }
/* Victor Perez 2017. Added to set and clear callback functions for callback
* on DMA transfer completion.
* onReceive used to set the callback in case of dmaTransfer (tx/rx), once rx is completed